You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Bug report
Doing
new PhpVersion(80_000)
causesCreating 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
The text was updated successfully, but these errors were encountered: