Skip to content

Commit

Permalink
Merge pull request #787 from bavix/remove-rector-laravel
Browse files Browse the repository at this point in the history
remove driftingly/rector-laravel
  • Loading branch information
rez1dent3 authored Oct 6, 2023
2 parents e2e3bf3 + a976971 commit 93a25e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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);
};

0 comments on commit 93a25e3

Please sign in to comment.