phptools-docs icon indicating copy to clipboard operation
phptools-docs copied to clipboard

PHP Tools public content

Results 215 phptools-docs issues
Sort by recently updated
recently updated
newest added

I noticed when using Doctrine's ArrayCollection (which itself implements the standard interface Traversable) that the type hint for a `foreach` iteration variable is not set: ![image](https://user-images.githubusercontent.com/20150243/220571566-99a889e4-a3f8-44fa-9d8a-d1fe9b1ea85e.png) ![image](https://user-images.githubusercontent.com/20150243/220571658-cf42e058-8e28-40cb-80c5-72d91b032339.png) It should have...

I've been encountering a lot of error messages recently, but in reality, there are no issues, which is very frustrating for me. demo: ``` Use of unknown class: 'class_1\class_2\class_3' ```...

test code: ```html function a() { } function b() { } function c() { } ``` correct: in .html display: ```html ... ``` In the past, I didn't encounter this...

Descrition: I've created an interface A with 1 method `process` and 1 implementation (class `B`) and one class that has a method with the same name but it does not...

### Issues: As per WordPress Coding Standard, if you have a block of code that would be more readable if things('=' or '=>') are aligned, useing spaces: ![Screenshot 2023-07-29 at...

feature

Hi, I'd like to get errors whenever my runtime code does not meet the requirements described by PHPDoc types. I know there are some diagnostics going on for simpler types,...

A cool addition to run tests and debug would be to run the tests with code coverage and see missing parts which are right now not covered by a test.

Hey there, let's say I have the following code: ```php

feature

**Description** The option to ignore sections or lines or entire file from the formatter would be very useful. As you know, there is no universal method of formatting everything, so...

Hello, I would like to ask if you have any plan to support template languages like Twig or Blade? By "support template languages" i mean: - Formatter - Syntax highlighting...

feature