Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
fail-fast: true
matrix:
php:
# Should be the lowest supported PHP version.
# To also adjust the PHP version in the following files:
# - vendor-bin/php-cs-fixer/composer.json
# - vendor-bin/rector/composer.json
- "8.1"

steps:
Expand Down
5 changes: 0 additions & 5 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
use Rector\Set\ValueObject\LevelSetList;

return static function (RectorConfig $rectorConfig): void {
Expand All @@ -47,8 +46,4 @@
$rectorConfig->sets([
LevelSetList::UP_TO_PHP_81,
]);

$rectorConfig->skip([
CountOnNullRector::class,
]);
};
7 changes: 6 additions & 1 deletion vendor-bin/rector/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"require-dev": {
"rector/rector": "^0.18.4"
"rector/rector": "^2.0"
},
"config": {
"platform": {
"php": "8.1"
}
}
}
46 changes: 24 additions & 22 deletions vendor-bin/rector/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading