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