@@ -22,59 +22,59 @@ discard block |
||
22 | 22 | |
23 | 23 | return RectorConfig::configure() |
24 | 24 | ->withPaths([ |
25 | - __DIR__ . '/src/*/src', |
|
26 | - __DIR__ . '/src/*/tests', |
|
27 | - __DIR__ . '/tests', |
|
25 | + __DIR__.'/src/*/src', |
|
26 | + __DIR__.'/src/*/tests', |
|
27 | + __DIR__.'/tests', |
|
28 | 28 | ]) |
29 | 29 | ->withParallel() |
30 | 30 | ->withSkip([ |
31 | 31 | IfIssetToCoalescingRector::class, |
32 | 32 | RemoveUnusedPrivatePropertyRector::class => [ |
33 | - __DIR__ . '/src/Scaffolder/src/Command/BootloaderCommand.php', |
|
34 | - __DIR__ . '/src/Scaffolder/src/Command/CommandCommand.php', |
|
35 | - __DIR__ . '/src/Scaffolder/src/Command/ConfigCommand.php', |
|
36 | - __DIR__ . '/src/Scaffolder/src/Command/ControllerCommand.php', |
|
37 | - __DIR__ . '/src/Scaffolder/src/Command/FilterCommand.php', |
|
38 | - __DIR__ . '/src/Scaffolder/src/Command/JobHandlerCommand.php', |
|
39 | - __DIR__ . '/src/Scaffolder/src/Command/MiddlewareCommand.php', |
|
40 | - __DIR__ . '/src/Console/tests/PromptArgumentsTest.php', |
|
33 | + __DIR__.'/src/Scaffolder/src/Command/BootloaderCommand.php', |
|
34 | + __DIR__.'/src/Scaffolder/src/Command/CommandCommand.php', |
|
35 | + __DIR__.'/src/Scaffolder/src/Command/ConfigCommand.php', |
|
36 | + __DIR__.'/src/Scaffolder/src/Command/ControllerCommand.php', |
|
37 | + __DIR__.'/src/Scaffolder/src/Command/FilterCommand.php', |
|
38 | + __DIR__.'/src/Scaffolder/src/Command/JobHandlerCommand.php', |
|
39 | + __DIR__.'/src/Scaffolder/src/Command/MiddlewareCommand.php', |
|
40 | + __DIR__.'/src/Console/tests/PromptArgumentsTest.php', |
|
41 | 41 | ], |
42 | 42 | RemoveUnusedPrivateMethodRector::class => [ |
43 | - __DIR__ . '/src/Boot/src/Bootloader/ConfigurationBootloader.php', |
|
44 | - __DIR__ . '/src/Broadcasting/src/Bootloader/BroadcastingBootloader.php', |
|
45 | - __DIR__ . '/src/Cache/src/Bootloader/CacheBootloader.php', |
|
46 | - __DIR__ . '/src/Serializer/src/Bootloader/SerializerBootloader.php', |
|
47 | - __DIR__ . '/src/Validation/src/Bootloader/ValidationBootloader.php', |
|
48 | - __DIR__ . '/src/Translator/tests/IndexerTest.php', |
|
49 | - __DIR__ . '/src/Tokenizer/tests/ReflectionFileTest.php', |
|
50 | - __DIR__ . '/src/Core/tests/SingletonsTest.php', |
|
43 | + __DIR__.'/src/Boot/src/Bootloader/ConfigurationBootloader.php', |
|
44 | + __DIR__.'/src/Broadcasting/src/Bootloader/BroadcastingBootloader.php', |
|
45 | + __DIR__.'/src/Cache/src/Bootloader/CacheBootloader.php', |
|
46 | + __DIR__.'/src/Serializer/src/Bootloader/SerializerBootloader.php', |
|
47 | + __DIR__.'/src/Validation/src/Bootloader/ValidationBootloader.php', |
|
48 | + __DIR__.'/src/Translator/tests/IndexerTest.php', |
|
49 | + __DIR__.'/src/Tokenizer/tests/ReflectionFileTest.php', |
|
50 | + __DIR__.'/src/Core/tests/SingletonsTest.php', |
|
51 | 51 | ], |
52 | 52 | RemoveUselessVarTagRector::class => [ |
53 | - __DIR__ . '/src/Console/src/Traits/HelpersTrait.php', |
|
53 | + __DIR__.'/src/Console/src/Traits/HelpersTrait.php', |
|
54 | 54 | ], |
55 | 55 | RemoveAlwaysTrueIfConditionRector::class => [ |
56 | - __DIR__ . '/src/Boot/src/BootloadManager/Initializer.php', |
|
57 | - __DIR__ . '/src/Stempler/src/Traverser.php', |
|
58 | - __DIR__ . '/src/Prototype/src/NodeVisitors/LocateProperties.php', |
|
59 | - __DIR__ . '/src/Prototype/src/NodeVisitors/RemoveTrait.php', |
|
60 | - __DIR__ . '/src/Logger/src/ListenerRegistry.php', |
|
61 | - __DIR__ . '/src/Stempler/src/Transform/Merge/ExtendsParent.php', |
|
56 | + __DIR__.'/src/Boot/src/BootloadManager/Initializer.php', |
|
57 | + __DIR__.'/src/Stempler/src/Traverser.php', |
|
58 | + __DIR__.'/src/Prototype/src/NodeVisitors/LocateProperties.php', |
|
59 | + __DIR__.'/src/Prototype/src/NodeVisitors/RemoveTrait.php', |
|
60 | + __DIR__.'/src/Logger/src/ListenerRegistry.php', |
|
61 | + __DIR__.'/src/Stempler/src/Transform/Merge/ExtendsParent.php', |
|
62 | 62 | ], |
63 | 63 | RemoveExtraParametersRector::class => [ |
64 | - __DIR__ . '/src/Boot/src/BootloadManager/AbstractBootloadManager.php', |
|
64 | + __DIR__.'/src/Boot/src/BootloadManager/AbstractBootloadManager.php', |
|
65 | 65 | ], |
66 | 66 | RemoveUnusedPrivateMethodParameterRector::class => [ |
67 | - __DIR__ . '/src/Core/src/Internal/Factory.php', |
|
68 | - __DIR__ . '/src/Core/tests/InjectableTest.php', |
|
67 | + __DIR__.'/src/Core/src/Internal/Factory.php', |
|
68 | + __DIR__.'/src/Core/tests/InjectableTest.php', |
|
69 | 69 | ], |
70 | 70 | RemoveDoubleAssignRector::class => [ |
71 | - __DIR__ . '/src/Core/tests/Scope/FinalizeAttributeTest.php', |
|
71 | + __DIR__.'/src/Core/tests/Scope/FinalizeAttributeTest.php', |
|
72 | 72 | ], |
73 | 73 | RemoveUnusedVariableAssignRector::class => [ |
74 | - __DIR__ . '/src/Core/tests/ExceptionsTest.php', |
|
74 | + __DIR__.'/src/Core/tests/ExceptionsTest.php', |
|
75 | 75 | ], |
76 | 76 | RemoveDeadStmtRector::class => [ |
77 | - __DIR__ . '/src/Core/tests/ExceptionsTest.php', |
|
77 | + __DIR__.'/src/Core/tests/ExceptionsTest.php', |
|
78 | 78 | ], |
79 | 79 | |
80 | 80 | // to be enabled later for bc break 4.x |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | NewInInitializerRector::class, |
85 | 85 | |
86 | 86 | // start with short open tag |
87 | - __DIR__ . '/src/Views/tests/fixtures/other/var.php', |
|
88 | - __DIR__ . '/tests/app/views/native.php', |
|
87 | + __DIR__.'/src/Views/tests/fixtures/other/var.php', |
|
88 | + __DIR__.'/tests/app/views/native.php', |
|
89 | 89 | |
90 | 90 | // example code for test |
91 | 91 | '*/Fixture/*', |
@@ -95,19 +95,19 @@ discard block |
||
95 | 95 | '*/Stubs/*', |
96 | 96 | '*/tests/Classes/*', |
97 | 97 | '*/tests/Internal/*', |
98 | - __DIR__ . '/src/Console/tests/Configurator', |
|
98 | + __DIR__.'/src/Console/tests/Configurator', |
|
99 | 99 | |
100 | 100 | // cache |
101 | 101 | '*/runtime/cache/*', |
102 | 102 | |
103 | 103 | ReadOnlyPropertyRector::class => [ |
104 | 104 | // used by Configurator |
105 | - __DIR__ . '/src/Scaffolder/src/Command', |
|
105 | + __DIR__.'/src/Scaffolder/src/Command', |
|
106 | 106 | ], |
107 | 107 | |
108 | 108 | \Rector\PHPUnit\PHPUnit100\Rector\MethodCall\AssertIssetToAssertObjectHasPropertyRector::class => [ |
109 | 109 | // ArrayAccess usage |
110 | - __DIR__ . '/src/Session/tests/SessionTest.php', |
|
110 | + __DIR__.'/src/Session/tests/SessionTest.php', |
|
111 | 111 | ], |
112 | 112 | ]) |
113 | 113 | ->withPhpSets(php81: true) |