diff --git a/composer.json b/composer.json index 12a503e15..2cee5758f 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,6 @@ "require-dev": { "brianium/paratest": "^7.2", "cknow/laravel-money": "^7.1", - "driftingly/rector-laravel": "^0.26", "ergebnis/phpstan-rules": "^1.0", "infection/infection": "~0.27", "laravel/cashier": "^14.12", diff --git a/rector.php b/rector.php index be36b6be9..2713dfdc7 100644 --- a/rector.php +++ b/rector.php @@ -3,9 +3,6 @@ declare(strict_types=1); use Rector\Config\RectorConfig; -use RectorLaravel\Rector\Assign\CallOnAppArrayAccessToStandaloneAssignRector; -use RectorLaravel\Rector\ClassMethod\AddParentRegisterToEventServiceProviderRector; -use RectorLaravel\Set\LaravelSetList; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Set\ValueObject\SetList; @@ -19,15 +16,7 @@ // Define what rule sets will be applied $config->import(PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES); $config->import(PHPUnitSetList::PHPUNIT_100); - $config->import(LaravelSetList::LARAVEL_100); $config->import(SetList::CODE_QUALITY); $config->import(SetList::DEAD_CODE); $config->import(SetList::PHP_81); - - // get services (needed for register a single rule) - $services = $config->services(); - - // register a single rule - $services->set(CallOnAppArrayAccessToStandaloneAssignRector::class); - $services->set(AddParentRegisterToEventServiceProviderRector::class); };