Skip to content

Commit

Permalink
chore: update rector to 0.19.5
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Feb 4, 2024
1 parent 10f5c71 commit a67cc0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "1.10.57",
"phpunit/phpunit": "^9.6",
"rector/rector": "0.19.1",
"rector/rector": "0.19.5",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0",
"symplify/phpstan-rules": "^12.4",
"tomasvotruba/cognitive-complexity": "^0.2.3",
Expand Down
4 changes: 3 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Core\ValueObject\PhpVersion;
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
use Rector\PHPUnit\CodeQuality\Rector\ClassMethod\ReplaceTestAnnotationWithPrefixedFunctionRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector;
use Rector\ValueObject\PhpVersion;

return static function (RectorConfig $config): void {
$config->import(LevelSetList::UP_TO_PHP_74);
Expand All @@ -36,5 +37,6 @@
],
PreferPHPUnitThisCallRector::class,
ReplaceTestAnnotationWithPrefixedFunctionRector::class,
UnwrapFutureCompatibleIfPhpVersionRector::class,
]);
};

0 comments on commit a67cc0d

Please sign in to comment.