phpstan-src
phpstan-src copied to clipboard
Resolve substr based on configured PHP version
Closes https://github.com/phpstan/phpstan/issues/13129
This pull request has been marked as ready for review.
btw: since phpunit got upgraded on the PHPStan 2.x branch, we need to be careful to send PRs to PHPStan 1.12.x only when easy mergabe into 2.x (attributes got added etc)
btw: since phpunit got upgraded on the PHPStan 2.x branch, we need to be careful to send PRs to PHPStan 1.12.x only when easy mergabe into 2.x (attributes got added etc)
Only change is this attribute https://github.com/phpstan/phpstan-src/blob/2.1.x/tests/PHPStan/Analyser/LooseConstComparisonPhp7Test.php#L24
I dunno if it will even create a conflict but if ondrej ask, I can target 2.1.x instead :)
I'd prefer this one only for 2.1.x :) Thanks.
Rebased on 2.1.x @ondrejmirtes
Thank you!