Skip to content

Commit

Permalink
Upgrade rector to 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
marmichalski committed Feb 9, 2024
1 parent 0c657e5 commit a73307c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.2",
"phpunit/phpunit": "^10.5.10",
"rector/rector": "^0.19"
"rector/rector": "^1.0"
},
"provide": {
"psr/clock-implementation": "1.0"
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

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

4 changes: 2 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use Rector\ValueObject\PhpVersion;
Expand All @@ -18,6 +18,6 @@
$rector->sets([
SetList::CODE_QUALITY,
LevelSetList::UP_TO_PHP_81,
PHPUnitLevelSetList::UP_TO_PHPUNIT_100,
PHPUnitSetList::PHPUNIT_100,
]);
};

0 comments on commit a73307c

Please sign in to comment.