File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
tests/PHPStan/Rules/Classes Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ protected function getRule(): Rule
52
52
);
53
53
}
54
54
55
+ #[RequiresPhp('>= 8.0 ' )]
55
56
public function testRule (): void
56
57
{
57
58
$ this ->analyse ([__DIR__ . '/data/class-attributes.php ' ], [
@@ -133,6 +134,7 @@ public function testRuleForEnums(): void
133
134
]);
134
135
}
135
136
137
+ #[RequiresPhp('>= 8.0 ' )]
136
138
public function testBug7171 (): void
137
139
{
138
140
$ this ->analyse ([__DIR__ . '/data/bug-7171.php ' ], [
@@ -143,6 +145,7 @@ public function testBug7171(): void
143
145
]);
144
146
}
145
147
148
+ #[RequiresPhp('>= 8.0 ' )]
146
149
public function testAllowDynamicPropertiesAttribute (): void
147
150
{
148
151
$ this ->analyse ([__DIR__ . '/data/allow-dynamic-properties-attribute.php ' ], []);
You can’t perform that action at this time.
0 commit comments