Skip to content

Commit

Permalink
add use in rector.php for phpunit ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
thewunder committed Mar 22, 2024
1 parent 31db901 commit e952c15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;

return RectorConfig::configure()
Expand All @@ -11,7 +12,7 @@
__DIR__ . '/test',
])->withPhpSets()
->withSets([
Rector\PHPUnit\Set\PHPUnitSetList::PHPUNIT_100
PHPUnitSetList::PHPUNIT_100
])
->withRules([
AddVoidReturnTypeWhereNoReturnRector::class,
Expand Down

0 comments on commit e952c15

Please sign in to comment.