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

low-hanging fruit cleanup / improvement :) - fixes `ArrayType::getKeysArray()` (by using `getIterableKeyType()` mixed keys are correctly transformed into benevolent unions) - simplifies list type creation for `array_is_list` - gives us...

as discussed in https://github.com/phpstan/phpstan-src/pull/1804#discussion_r994404893

This is a boring one, but at least I could get rid of the `TypeTraverser` usage. I should have never added that.. I wasn't sure at first, but indeed, `array_shift`...

Update PHP 8 stubs to 0.3.46

Update PHP 8 stubs to 0.3.45

Update PHP 8 stubs to 0.3.44

Fixes phpstan/phpstan#8152 Fixes phpstan/phpstan#8157