File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 22
33namespace PHPStan \Reflection ;
44
5- use Override ;
65use PHPStan \Testing \PHPStanTestCase ;
76use PHPStan \Type \Generic \GenericObjectType ;
87use PHPStan \Type \IntegerType ;
98use PHPStan \Type \VerbosityLevel ;
9+ use PHPUnit \Framework \Attributes \RequiresPhp ;
1010use function count ;
11- use const PHP_VERSION_ID ;
1211
12+ #[RequiresPhp('>= 8.4 ' )]
1313class ClassReflectionPropertyHooksTest extends PHPStanTestCase
1414{
1515
16- #[Override]
17- protected function setUp (): void
18- {
19- if (PHP_VERSION_ID >= 80400 ) {
20- return ;
21- }
22-
23- self ::markTestSkipped ('Test requires PHP 8.4 ' );
24- }
25-
2616 public static function dataPropertyHooks (): iterable
2717 {
28- if (PHP_VERSION_ID < 80100 ) {
29- return [];
30- }
31-
3218 $ reflectionProvider = self ::createReflectionProvider ();
3319
3420 yield [
You can’t perform that action at this time.
0 commit comments