File tree Expand file tree Collapse file tree
rules-tests/CodeQuality/Rector/Class_/CompleteDynamicPropertiesRector/Fixture Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class ConstructorPrivate
66{
77 public function __construct ()
88 {
9- $ this ->value = 'classStringCaseInSensitive ' ;
9+ $ this ->value = 'constructorPrivate ' ;
1010 }
1111}
1212
@@ -21,7 +21,7 @@ class ConstructorPrivate
2121 private string $ value ;
2222 public function __construct ()
2323 {
24- $ this ->value = 'classStringCaseInSensitive ' ;
24+ $ this ->value = 'constructorPrivate ' ;
2525 }
2626}
2727
Original file line number Diff line number Diff line change 44
55namespace Rector \Tests \Config ;
66
7+ use PHPUnit \Framework \Attributes \RunTestsInSeparateProcesses ;
78use Rector \Configuration \Option ;
89use Rector \Configuration \Parameter \SimpleParameterProvider ;
910use Rector \Symfony \Set \TwigSetList ;
1011use Rector \Testing \PHPUnit \AbstractLazyTestCase ;
1112use Rector \TypeDeclaration \Rector \ClassMethod \ReturnTypeFromReturnNewRector ;
1213
14+ /**
15+ * On macOS, this file order config cause this container read other tests' config.
16+ * so, this #[RunTestsInSeparateProcesses] is needed.
17+ */
18+ #[RunTestsInSeparateProcesses]
1319final class RectorConfigTest extends AbstractLazyTestCase
1420{
1521 public function test (): void
You can’t perform that action at this time.
0 commit comments