phpactor icon indicating copy to clipboard operation
phpactor copied to clipboard

Mainly a PHP Language Server with more features than you can shake a stick at

Results 307 phpactor issues
Sort by recently updated
recently updated
newest added

Hi, I'm noticing an issue with the following. ``` ... rest of code [, $enum2] = HelperFunc::MethodThatReturnsEnums($aggregation); return [$enum2->value, $enum2->enumMethod($arg)]; ... rest of code ``` In this example code MethodThatReturnsEnums...

For example, go to `lib/CodeTransform/Adapter/WorseReflection/Transformer/ImplementContracts.php` and find references to `$reflector` private property. Currently as a user I get notifications about scanning ~300 references ![image](https://github.com/phpactor/phpactor/assets/11404453/1b1d83b8-54c0-4b8e-9ecd-17b09e497f4a) I started to debug what happens....

Co-authored-by: @mamazu Resolves #2562

Things that have been done * Completion for it works (tests added) * Check if there is a better way to generate the name of the anonymous classes Limitations: *...

Hi, here is a code example, where PHPStan properly understands the returned type, but Phpactor not: ```php

I supose maybe is related with vscode configuration but when som imports (use) are not using, vscode don't show any difference like show it in gray. I searched in issues...

Hello! PHPStan supports [conditional return types](https://phpstan.org/writing-php-code/phpdoc-types#conditional-return-types)---it would be great if phpactor could understand this. Currently it looks like these are just typed as `null` Thanks!

bug

Currently `PhpCodeSnifferSuggestExtension` and `LanguageServerPsalmSuggestExtension` ask if enable them because both `vimeo/psalm` and `squizlabs/php_codesniffer` are dependencies of Phpactor. We could remove these dependencies or configure them. Btw. https://github.com/squizlabs/PHP_CodeSniffer is abandoned in...