We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ae947 commit e1301acCopy full SHA for e1301ac
tests/PHPStan/Reflection/Deprecation/DeprecationProviderTest.php
@@ -22,8 +22,8 @@ class DeprecationProviderTest extends PHPStanTestCase
22
23
public function testCustomDeprecations(): void
24
{
25
- if (PHP_VERSION_ID < 80000) {
26
- self::markTestSkipped('PHP 8.0+ is required as CustomDeprecationProvider uses unions.');
+ if (PHP_VERSION_ID < 80100) {
+ self::markTestSkipped('PHP 8.1+ is required to test enums.');
27
}
28
29
require __DIR__ . '/data/deprecations.php';
tests/PHPStan/Reflection/Deprecation/data/deprecations.php
@@ -1,4 +1,4 @@
1
-<?php
+<?php // lint >= 8.1
2
3
namespace CustomDeprecations;
4
0 commit comments