Skip to content

Commit 620f8d8

Browse files
committed
Fix test
1 parent 1101746 commit 620f8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Analyser/Generator/GeneratorNodeScopeResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use PHPUnit\Framework\Attributes\DataProvider;
77
use PHPUnit\Framework\Attributes\RequiresPhp;
88

9+
#[RequiresPhp('>= 8.1')]
910
class GeneratorNodeScopeResolverTest extends TypeInferenceTestCase
1011
{
1112

@@ -18,7 +19,6 @@ public static function dataFileAsserts(): iterable
1819
* @param mixed ...$args
1920
*/
2021
#[DataProvider('dataFileAsserts')]
21-
#[RequiresPhp('>= 8.1')]
2222
public function testFileAsserts(
2323
string $assertType,
2424
string $file,

0 commit comments

Comments
 (0)