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

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

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

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

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

See https://onlinephp.io/c/192c51 We're sure that the function cannot return false, but we cannot sure it's not an early key. cc @herndlm since you implemented it.

First commit is extracted here: https://github.com/phpstan/phpstan-src/pull/4013

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

Not sure if it's enough to close https://github.com/phpstan/phpstan/issues/13064 The `AccessoryEncodingString` would require lot more changes.

~**Needs https://github.com/phpstan/phpstan-src/pull/3959 first**~ DONE Closes https://github.com/phpstan/phpstan/issues/11917 This is very similar to `Type:: sliceArray()` and it is used in `NodeScopeResolver` in a similar fashion as `Type::popArray()` is. Moving logic to `Type`...

this test demonstrates how PHPStan analyzes code differently than it would happen at runtime. --- runtime: run `php real-world.php` you see the program runs, without the custom autoloader of `e2e/bug-12972b/autoloader.php`...