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-src/pull/4520

Doing an infinite loop in a function that never returns is a valid use case. closes https://github.com/phpstan/phpstan/issues/6458 closes https://github.com/phpstan/phpstan/issues/12813

closes https://github.com/phpstan/phpstan/issues/13749 if one of the involved function calls got already narrowed, switching the operands can lead to more precise types.

Fix handling of [non-bools as `$strict` parameter](https://phpstan.org/r/3fe3f6c0-70ae-450a-87e9-3615628e0a40) and omit `false` from return type when `$string` is valid base64. This is useful when constant binary strings are required in code, e.g.:...

Implements https://github.com/phpstan/phpstan/issues/13712

refs https://github.com/phpstan/phpstan/issues/13675

This partially reverts 3b72271648184ebc0cc3fa215ac355e6315f10cc (#4380). Closes phpstan/phpstan#13694