-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
phpstan/phpstan-src
#4022Labels
Description
Bug report
Doing new PhpVersion(80_000) causes Creating new PHPStan\Php\PhpVersion is not covered by backward compatibility promise. The class might change in a minor PHPStan version., but I think it should be preferred way to test different PHP versions in PHPStan rules tests. Like here.
Code snippet that reproduces the problem
new PhpVersion(80_000);
Expected output
No error produced
Reactions are currently unavailable