Skip to content

Commit b5a1cad

Browse files
committed
Point ReturnNullableTypeRectorPhp82Test to its own fixtures and config
It read the same Fixture directory with the default config, so FixturePhp82 and configured_rule_php82.php never ran, and both test classes wrote the same temporary input files, which fails randomly when the chunks run in parallel (hash_file on a file the other class just deleted).
1 parent 3e70199 commit b5a1cad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎rules-tests/TypeDeclaration/Rector/ClassMethod/ReturnNullableTypeRector/ReturnNullableTypeRectorPhp82Test.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public function test(string $filePath): void
1818

1919
public static function provideData(): Iterator
2020
{
21-
return self::yieldFilesFromDirectory(__DIR__ . '/Fixture');
21+
return self::yieldFilesFromDirectory(__DIR__ . '/FixturePhp82');
2222
}
2323

2424
public function provideConfigFilePath(): string
2525
{
26-
return __DIR__ . '/config/configured_rule.php';
26+
return __DIR__ . '/config/configured_rule_php82.php';
2727
}
2828
}

0 commit comments

Comments
 (0)