phpstan-src
phpstan-src copied to clipboard
PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.
closes https://github.com/phpstan/phpstan/issues/12972 since on macos filesystem paths are case-insensitive before this PR we ran into the following error: ``` ➜ bug-12972 git:(bug12972) ../../bin/phpstan analyse --debug ! [NOTE] The Xdebug PHP...
Closes https://github.com/phpstan/phpstan/issues/13041
Close https://github.com/phpstan/phpstan/issues/12828 I basically copy the ArrayMergeFunctionReturnTypeExtension with the following change https://github.com/phpstan/phpstan-src/blob/4c41073c1dcdf44b6c3c90768c4430e45238b522/src/Type/Php/ArrayMergeFunctionDynamicReturnTypeExtension.php#L87 `$keyType instanceof ConstantIntegerType ? null : $keyType,` is replaced by `$keyType` because - array_merge reindex numeric keys -...
This reverts commit f615b1a39a70d9ec9e49963474c7f9f9577cf88b.
Fixes: https://github.com/phpstan/phpstan/issues/13001 Behavior test: https://3v4l.org/K7THf
Closes https://github.com/phpstan/phpstan-src/pull/12775
Potential fix for phpstan/phpstan#3674 However, `foreach` doesn't work as I'd like becuase of `ObjectType::getIterableKeyType()` and `::getIterableValueType()`. Unfortunately I don't have any time left right now to figure out the right...
closes https://github.com/phpstan/phpstan/issues/12927 closes https://github.com/phpstan/phpstan/issues/12330 closes https://github.com/phpstan/phpstan/issues/11171 closes https://github.com/phpstan/phpstan/issues/8282 closes https://github.com/phpstan/phpstan/issues/12754
resolve phpstan/phpstan#12755