Update rector to 0.12.9 and clean up skip config

This commit is contained in:
Abdul Malik Ikhsan 2021-12-22 08:47:05 +07:00
parent d2490a2cf3
commit 66bc13d94c
No known key found for this signature in database
GPG Key ID: 69AC5BC354C89BE6
2 changed files with 1 additions and 11 deletions

View File

@ -24,7 +24,7 @@
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^9.1",
"predis/predis": "^1.1",
"rector/rector": "0.12.8"
"rector/rector": "0.12.9"
},
"suggest": {
"ext-fileinfo": "Improves mime type detection for files"

View File

@ -42,7 +42,6 @@ use Rector\Php70\Rector\FuncCall\RandomFunctionRector;
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
use Rector\PHPUnit\Rector\MethodCall\AssertIssetToSpecificMethodRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
@ -113,15 +112,6 @@ return static function (ContainerConfigurator $containerConfigurator): void {
// use mt_rand instead of random_int on purpose on non-cryptographically random
RandomFunctionRector::class,
// $this->assertTrue(isset($bar['foo']))
// and $this->assertArrayHasKey('foo', $bar)
// or $this->assertObjectHasAttribute('foo', $bar);
// are not the same
AssertIssetToSpecificMethodRector::class => [
__DIR__ . '/tests/system/Entity/EntityTest.php',
__DIR__ . '/tests/system/Session/SessionTest.php',
],
]);
// auto import fully qualified class names