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 6464
6565 - name : Analyze for refactoring
6666 run : |
67- composer global require --dev rector/rector:^0.12.10
67+ composer global require --dev rector/rector:dev-main
6868 rector process --dry-run --no-progress-bar
Original file line number Diff line number Diff line change 1010 convertErrorsToExceptions=" true"
1111 convertNoticesToExceptions=" true"
1212 convertWarningsToExceptions=" true"
13- executionOrder=" random"
1413 failOnRisky=" true"
1514 failOnWarning=" true"
1615 stopOnError=" false"
Original file line number Diff line number Diff line change 7777 __DIR__ . '/tests ' ,
7878 ],
7979
80+ // Ignore files that should not be namespaced
81+ NormalizeNamespaceByPSR4ComposerAutoloadRector::class => [
82+ __DIR__ . '/src/Helpers ' ,
83+ ],
84+
8085 // May load view files directly when detecting classes
8186 StringClassNameToClassConstantRector::class,
8287
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function setBasename(?string $basename = null): self
3535 *
3636 * @param string $suffix Optional suffix to omit from the base name returned
3737 */
38- public function getBasename ($ suffix = null ): string
38+ public function getBasename ($ suffix = '' ): string
3939 {
4040 if ($ this ->basename ) {
4141 return basename ($ this ->basename , $ suffix );
You can’t perform that action at this time.
0 commit comments