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
5252 );
5353 }
5454
55+ #[RequiresPhp('>= 8.0 ' )]
5556 public function testRule (): void
5657 {
5758 $ this ->analyse ([__DIR__ . '/data/class-attributes.php ' ], [
@@ -133,6 +134,7 @@ public function testRuleForEnums(): void
133134 ]);
134135 }
135136
137+ #[RequiresPhp('>= 8.0 ' )]
136138 public function testBug7171 (): void
137139 {
138140 $ this ->analyse ([__DIR__ . '/data/bug-7171.php ' ], [
@@ -143,6 +145,7 @@ public function testBug7171(): void
143145 ]);
144146 }
145147
148+ #[RequiresPhp('>= 8.0 ' )]
146149 public function testAllowDynamicPropertiesAttribute (): void
147150 {
148151 $ this ->analyse ([__DIR__ . '/data/allow-dynamic-properties-attribute.php ' ], []);
You can’t perform that action at this time.
0 commit comments