From 2df0b6f6955265cf48bda32de6afead355d72e63 Mon Sep 17 00:00:00 2001 From: rotimi Date: Sat, 3 Feb 2024 21:36:59 -0700 Subject: [PATCH] Updated rector --- .github/workflows/php.yml | 4 +++- composer.json | 2 +- rector.php | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 3c9eab8..5b289f8 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - php: [8.2, 8.1, 8.0, 7.4] + php: [8.3, 8.2, 8.1, 8.0, 7.4] # prefer-lowest is causing unit tests to fail when php 7.2 is run against PHPunit 7.x, # PHPUnit 8.x is the latest stable release that supports PHP 7.2 and that runs fine # dependency-version: [prefer-lowest, prefer-stable] @@ -33,6 +33,8 @@ jobs: php: 8.1 - os: ubuntu-22.04 php: 8.2 + - os: ubuntu-22.04 + php: 8.3 #exclude: #- os: ubuntu-20.04 # php: 7.3 diff --git a/composer.json b/composer.json index 8daaba6..91803ea 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "phpunit/phpunit": "^9.0", "php-coveralls/php-coveralls": "^2.0", "vimeo/psalm": "^5.4", - "rector/rector": "^0.18.0" + "rector/rector": "^0.19.0" }, "autoload": { "classmap": ["src/"] diff --git a/rector.php b/rector.php index 650d07c..c1688ca 100644 --- a/rector.php +++ b/rector.php @@ -33,7 +33,6 @@ \Rector\CodeQuality\Rector\If_\ShortenElseIfRector::class, \Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector::class, \Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector::class, - \Rector\CodingStyle\Rector\ClassMethod\UnSpreadOperatorRector::class, \Rector\DeadCode\Rector\PropertyProperty\RemoveNullPropertyInitializationRector::class, ];