From c143ab3e4bbc59076fb3bce9e51fd0a11ec065da Mon Sep 17 00:00:00 2001 From: Markus Podar Date: Sun, 17 Mar 2024 15:26:53 +0100 Subject: [PATCH] Remove rector --- .gitattributes | 1 - .github/workflows/phpunit.yml | 5 ----- composer.json | 1 - rector.php | 27 --------------------------- 4 files changed, 34 deletions(-) delete mode 100644 rector.php diff --git a/.gitattributes b/.gitattributes index a5d17ba5..50f0a453 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,5 +13,4 @@ /phpstan-baseline.neon export-ignore /phpstan.neon.dist export-ignore /phpunit.xml.dist export-ignore -/rector.php export-ignore /tests export-ignore diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index a3718e8d..45fd98da 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -111,11 +111,6 @@ jobs: run: composer require phpunit/phpunit:^10 --no-interaction --no-progress --no-update if: matrix.laravel == '11.*' - # Packages which are not striclty required for testing but could cause - # conflicts with other packages - - name: Remove packages not necessary - run: composer remove --dev rector/rector --no-interaction --no-progress --no-update - - name: Set Minimum Laravel ${{ matrix.laravel }} Versions run: | composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-progress --no-update diff --git a/composer.json b/composer.json index e970f1fe..c1e0eb34 100644 --- a/composer.json +++ b/composer.json @@ -51,7 +51,6 @@ "mockery/mockery": "^1.4.4", "phpstan/phpstan": "^1", "phpunit/phpunit": "^8.5|^9.4|^10", - "rector/rector": "^0.12.4", "vlucas/phpdotenv": "^5.2.0", "yoast/phpunit-polyfills": "^2.0.0" }, diff --git a/rector.php b/rector.php deleted file mode 100644 index f91fa3ad..00000000 --- a/rector.php +++ /dev/null @@ -1,27 +0,0 @@ -parameters(); - $parameters->set(Option::PATHS, [ - __DIR__.'/src', - __DIR__.'/tests', - ]); - $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_74); - - // Define what rule sets will be applied - $containerConfigurator->import(SetList::PHP_74); - - // get services (needed for register a single rule) - // $services = $containerConfigurator->services(); - - // register a single rule - // $services->set(TypedPropertyRector::class); -};