File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
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
67
+ composer global require --dev rector/rector:^0.12.10
68
68
rector process --dry-run --no-progress-bar
Original file line number Diff line number Diff line change 30
30
use Rector \Php73 \Rector \FuncCall \JsonThrowOnErrorRector ;
31
31
use Rector \Php73 \Rector \FuncCall \StringifyStrNeedlesRector ;
32
32
use Rector \PHPUnit \Set \PHPUnitSetList ;
33
+ use Rector \PSR4 \Rector \FileWithoutNamespace \NormalizeNamespaceByPSR4ComposerAutoloadRector ;
33
34
use Rector \Set \ValueObject \LevelSetList ;
34
35
use Rector \Set \ValueObject \SetList ;
35
36
use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
43
44
44
45
$ parameters = $ containerConfigurator ->parameters ();
45
46
47
+ $ parameters ->set (Option::PARALLEL , true );
46
48
// The paths to refactor (can also be supplied with CLI arguments)
47
49
$ parameters ->set (Option::PATHS , [
48
50
__DIR__ . '/app ' ,
105
107
$ services ->set (FuncGetArgsToVariadicParamRector::class);
106
108
$ services ->set (MakeInheritedMethodVisibilitySameAsParentRector::class);
107
109
$ services ->set (SimplifyEmptyArrayCheckRector::class);
110
+ $ services ->set (NormalizeNamespaceByPSR4ComposerAutoloadRector::class);
108
111
};
You can’t perform that action at this time.
0 commit comments