Skip to content

Commit 9fe75d9

Browse files
committed
fix rector.php
1 parent 35c7257 commit 9fe75d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rector.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Rector\CodeQuality\Rector\PropertyFetch\ExplicitMethodCallOverMagicGetSetRector;
66
use Rector\Config\RectorConfig;
7+
use RectorLaravel\Rector\Assign\CallOnAppArrayAccessToStandaloneAssignRector;
8+
use RectorLaravel\Rector\ClassMethod\AddParentRegisterToEventServiceProviderRector;
9+
use RectorLaravel\Set\LaravelSetList;
710
use Rector\Php74\Rector\Property\TypedPropertyRector;
811
use Rector\PHPUnit\Set\PHPUnitSetList;
912
use Rector\Set\ValueObject\SetList;
@@ -19,6 +22,7 @@
1922

2023
// Define what rule sets will be applied
2124
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_91);
25+
$containerConfigurator->import(LaravelSetList::LARAVEL_90);
2226
$containerConfigurator->import(SetList::CODE_QUALITY);
2327
$containerConfigurator->import(SetList::DEAD_CODE);
2428
$containerConfigurator->import(SetList::PHP_80);
@@ -28,4 +32,6 @@
2832

2933
// register a single rule
3034
$services->set(TypedPropertyRector::class);
35+
$services->set(CallOnAppArrayAccessToStandaloneAssignRector::class);
36+
$services->set(AddParentRegisterToEventServiceProviderRector::class);
3137
};

0 commit comments

Comments
 (0)