Skip to content

Commit

Permalink
chore: add PHPUnitSetList::PHPUNIT_80 and remove skip of AssertFalseS…
Browse files Browse the repository at this point in the history
…trposToContainsRector
  • Loading branch information
kenjis committed Nov 25, 2021
1 parent e05881b commit 9def243
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
use Rector\PHPUnit\Rector\MethodCall\AssertFalseStrposToContainsRector;
use Rector\PHPUnit\Rector\MethodCall\AssertIssetToSpecificMethodRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
Expand All @@ -57,6 +56,7 @@
$containerConfigurator->import(SetList::DEAD_CODE);
$containerConfigurator->import(LevelSetList::UP_TO_PHP_73);
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD);
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_80);

$parameters = $containerConfigurator->parameters();

Expand Down Expand Up @@ -122,9 +122,6 @@
__DIR__ . '/tests/system/Entity/EntityTest.php',
__DIR__ . '/tests/system/Session/SessionTest.php',
],

// assertContains() to string can't be used in PHPUnit 9.1
AssertFalseStrposToContainsRector::class,
]);

// auto import fully qualified class names
Expand Down

0 comments on commit 9def243

Please sign in to comment.