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 5555 run : composer require rector/rector-src dev-main#${{github.event.pull_request.head.sha}} --no-update
5656 if : ${{ github.event_name == 'pull_request' }}
5757
58- - run : |
59- composer install --ansi
60- composer require --dev phpstan/phpstan:2.1.34
58+ - run : composer install --ansi
6159
6260 - run : ${{ matrix.actions.run }}
Original file line number Diff line number Diff line change 2727
2828 - run : git clone https://github.com/driftingly/rector-laravel.git
2929 - run : composer require rector/rector:dev-main --working-dir rector-laravel
30- - run : |
31- cd rector-laravel && composer require --dev phpstan/phpstan:2.1.34
32- vendor/bin/phpunit
30+ - run : cd rector-laravel && vendor/bin/phpunit
Original file line number Diff line number Diff line change 99 ],
1010 "require" : {
1111 "php" : " ^7.4|^8.0" ,
12- "phpstan/phpstan" : " 2.1.34 "
12+ "phpstan/phpstan" : " ^ 2.1.36 "
1313 },
1414 "autoload" : {
1515 "files" : [
Original file line number Diff line number Diff line change 2323 "nikic/php-parser" : " ^5.7" ,
2424 "ondram/ci-detector" : " ^4.2" ,
2525 "phpstan/phpdoc-parser" : " ^2.3" ,
26- "phpstan/phpstan" : " 2.1.34 " ,
26+ "phpstan/phpstan" : " ^ 2.1.36 " ,
2727 "react/event-loop" : " ^1.6" ,
2828 "react/promise" : " ^3.3" ,
2929 "react/socket" : " ^1.17" ,
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