Skip to content

Commit f9a2208

Browse files
committed
Fix build
1 parent 6b2473a commit f9a2208

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/PHPStan/Rules/Classes/ClassAttributesRuleTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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'], []);

0 commit comments

Comments
 (0)