Skip to content

Commit 580cfc1

Browse files
author
xmarchegay
committed
Add PHPUnit v10 set and fix typo in PHP CS Fixer config
1 parent 0d7783a commit 580cfc1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
return (new PhpCsFixer\Config())
2626
->setRules([
27-
'@PHP82Migration' => true,
27+
'@PHP8x2Migration' => true,
2828
'@PHPUnit7x5Migration:risky' => true,
2929
'@Symfony' => true,
3030
'@Symfony:risky' => true,

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6+
use Rector\PHPUnit\Set\PHPUnitSetList;
67
use Rector\Set\ValueObject\LevelSetList;
78
use Rector\Symfony\Set\SymfonySetList;
89
use Rector\ValueObject\PhpVersion;
@@ -19,6 +20,7 @@
1920
->withAttributesSets(symfony: true)
2021
->withSets([
2122
LevelSetList::UP_TO_PHP_82,
23+
PHPUnitSetList::PHPUNIT_100,
2224
SymfonySetList::SYMFONY_64,
2325
SymfonySetList::SYMFONY_CODE_QUALITY,
2426
SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION,

0 commit comments

Comments
 (0)