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

Weird indentation happening in blade files. I purchased a license, hoping that whould fix it, but not. So, I'm here looking for help. This is the code before phptools to...

This is wrong: ![image](https://github.com/user-attachments/assets/79f43337-8cf3-4207-8f1f-fb732ce90d6e) that should say "0 references".

This is an absolute disaster. I have this code: ![image](https://github.com/user-attachments/assets/e801968e-3938-471a-9731-e9dcfd1dbd78) My cursor, as can be seen, is right before the `is_array()` call in the first `if` condition. I want to...

There is an error that occurs in the extension where it reports that the class name should be lowercase, or the filename should be the same as the class. Using...

bug

Code: ```php namespace Test { #[\AllowDynamicProperties] final class DynamicTemplate { } $template = new DynamicTemplate(); echo $template->bar; # Undefined property: DynamicTemplate::$bar PHP0416 final class MagicTemplate { public function __get(string $name):...

https://phpstan.org/writing-php-code/phpdoc-types#offset-access ```php

``` public function actionDefault(): never # 'actionDefault': not all code paths return a value { $this->error(); } ``` Rule `not all code paths return a value` should not report functions...

Perhaps a similar feature could be implemented the same way js does: ![image](https://github.com/user-attachments/assets/4de1612d-5f52-4be2-9c31-38035fcc4ea0) ![image](https://github.com/user-attachments/assets/df0b5f1b-dcb5-41be-82c7-fb0370df4598)