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 2
2
3
3
namespace PHPStan \Reflection ;
4
4
5
- use Override ;
6
5
use PHPStan \Testing \PHPStanTestCase ;
7
6
use PHPStan \Type \Generic \GenericObjectType ;
8
7
use PHPStan \Type \IntegerType ;
9
8
use PHPStan \Type \VerbosityLevel ;
9
+ use PHPUnit \Framework \Attributes \RequiresPhp ;
10
10
use function count ;
11
- use const PHP_VERSION_ID ;
12
11
12
+ #[RequiresPhp('>= 8.4 ' )]
13
13
class ClassReflectionPropertyHooksTest extends PHPStanTestCase
14
14
{
15
15
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
-
26
16
public static function dataPropertyHooks (): iterable
27
17
{
28
- if (PHP_VERSION_ID < 80100 ) {
29
- return [];
30
- }
31
-
32
18
$ reflectionProvider = self ::createReflectionProvider ();
33
19
34
20
yield [
You can’t perform that action at this time.
0 commit comments