phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.

Results 408 phpstan-src issues
Sort by recently updated
recently updated
newest added

for https://github.com/phpstan/phpstan/issues/1016#issuecomment-727048118

looking at perf profiles of the slow test https://github.com/phpstan/phpstan-src/commit/d33454d17333bc953d7399e8f6851f237a0bb37d we can see TrinaryLogic creation is a major cost. with this PR I propose to "duplicate" a few lines of code...

well, another try of improving in_array, this time ConstantArrayType-specific only. It seems to be adding value, but I don't like that one conditional and that ConstantArrayType need this extra handling....

https://wiki.php.net/rfc/true-type fixes https://phpstan.org/r/ae4ac09d-f2b0-46c0-ac4b-f8fdbd2a8c96 Prerequisites - [x] requires https://github.com/Roave/BetterReflection/pull/1152 - [x] nikic/php-parser support - [x] phpdoc-parser support

Support autoloaders that rely on the include path and don't check file existence before trying to include a file. Autoloaders not checking file existence before trying to include the file...

closes https://github.com/phpstan/phpstan/issues/7539 Adapted the rule from the BooleanOrConstantConditionRule

Hey, first time here, I hope this can help you. Fixing: [#7531](https://github.com/phpstan/phpstan/issues/7531)

Closes https://github.com/phpstan/phpstan/issues/3960