File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 64
64
65
65
- name : Analyze for refactoring
66
66
run : |
67
- composer global require --dev rector/rector:^0.12.10
67
+ composer global require --dev rector/rector:dev-main
68
68
rector process --dry-run --no-progress-bar
Original file line number Diff line number Diff line change 10
10
convertErrorsToExceptions=" true"
11
11
convertNoticesToExceptions=" true"
12
12
convertWarningsToExceptions=" true"
13
- executionOrder=" random"
14
13
failOnRisky=" true"
15
14
failOnWarning=" true"
16
15
stopOnError=" false"
Original file line number Diff line number Diff line change 77
77
__DIR__ . '/tests ' ,
78
78
],
79
79
80
+ // Ignore files that should not be namespaced
81
+ NormalizeNamespaceByPSR4ComposerAutoloadRector::class => [
82
+ __DIR__ . '/src/Helpers ' ,
83
+ ],
84
+
80
85
// May load view files directly when detecting classes
81
86
StringClassNameToClassConstantRector::class,
82
87
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function setBasename(?string $basename = null): self
35
35
*
36
36
* @param string $suffix Optional suffix to omit from the base name returned
37
37
*/
38
- public function getBasename ($ suffix = null ): string
38
+ public function getBasename ($ suffix = '' ): string
39
39
{
40
40
if ($ this ->basename ) {
41
41
return basename ($ this ->basename , $ suffix );
You can’t perform that action at this time.
0 commit comments