File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 91
91
run : composer install
92
92
93
93
- name : Run rector
94
- run : vendor/bin/rector process . --dry-run
94
+ run : vendor/bin/rector process --dry-run
Original file line number Diff line number Diff line change 3
3
declare (strict_types=1 );
4
4
5
5
use Rector \Core \Configuration \Option ;
6
- use Rector \Php74 \ Rector \ Property \ TypedPropertyRector ;
6
+ use Rector \Core \ ValueObject \ PhpVersion ;
7
7
use Rector \Set \ValueObject \SetList ;
8
8
use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
9
9
10
10
return static function (ContainerConfigurator $ containerConfigurator ): void {
11
11
// get parameters
12
12
$ parameters = $ containerConfigurator ->parameters ();
13
13
$ parameters ->set (Option::PATHS , [
14
- __DIR__ . '/src '
14
+ __DIR__ . '/Magento2 ' ,
15
+ __DIR__ . '/Magento2Framework ' ,
16
+ __DIR__ . '/PHP_CodeSniffer ' ,
15
17
]);
18
+ $ parameters ->set (Option::BOOTSTRAP_FILES , [__DIR__ . '/vendor/squizlabs/php_codesniffer/autoload.php ' ]);
16
19
17
20
// Define what rule sets will be applied
18
21
$ containerConfigurator ->import (SetList::PHP_80 );
You can’t perform that action at this time.
0 commit comments