Skip to content

Commit

Permalink
Updated rector
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed Feb 4, 2024
1 parent 8f44750 commit 2df0b6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"]
Expand Down
1 change: 0 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];

Expand Down

0 comments on commit 2df0b6f

Please sign in to comment.