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 9191 run : composer install
9292
9393 - 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 33declare (strict_types=1 );
44
55use Rector \Core \Configuration \Option ;
6- use Rector \Php74 \ Rector \ Property \ TypedPropertyRector ;
6+ use Rector \Core \ ValueObject \ PhpVersion ;
77use Rector \Set \ValueObject \SetList ;
88use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
99
1010return static function (ContainerConfigurator $ containerConfigurator ): void {
1111 // get parameters
1212 $ parameters = $ containerConfigurator ->parameters ();
1313 $ parameters ->set (Option::PATHS , [
14- __DIR__ . '/src '
14+ __DIR__ . '/Magento2 ' ,
15+ __DIR__ . '/Magento2Framework ' ,
16+ __DIR__ . '/PHP_CodeSniffer ' ,
1517 ]);
18+ $ parameters ->set (Option::BOOTSTRAP_FILES , [__DIR__ . '/vendor/squizlabs/php_codesniffer/autoload.php ' ]);
1619
1720 // Define what rule sets will be applied
1821 $ containerConfigurator ->import (SetList::PHP_80 );
You can’t perform that action at this time.
0 commit comments