Skip to content

Commit 953b356

Browse files
authored
Merge pull request #5494 from samsonasik/update-rector-0129-cleanup-config
Update rector to 0.12.9 and clean up skip config
2 parents d2490a2 + 66bc13d commit 953b356

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"phpstan/phpstan": "^1.0",
2525
"phpunit/phpunit": "^9.1",
2626
"predis/predis": "^1.1",
27-
"rector/rector": "0.12.8"
27+
"rector/rector": "0.12.9"
2828
},
2929
"suggest": {
3030
"ext-fileinfo": "Improves mime type detection for files"

rector.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
4343
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
4444
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
45-
use Rector\PHPUnit\Rector\MethodCall\AssertIssetToSpecificMethodRector;
4645
use Rector\PHPUnit\Set\PHPUnitSetList;
4746
use Rector\Set\ValueObject\LevelSetList;
4847
use Rector\Set\ValueObject\SetList;
@@ -113,15 +112,6 @@
113112

114113
// use mt_rand instead of random_int on purpose on non-cryptographically random
115114
RandomFunctionRector::class,
116-
117-
// $this->assertTrue(isset($bar['foo']))
118-
// and $this->assertArrayHasKey('foo', $bar)
119-
// or $this->assertObjectHasAttribute('foo', $bar);
120-
// are not the same
121-
AssertIssetToSpecificMethodRector::class => [
122-
__DIR__ . '/tests/system/Entity/EntityTest.php',
123-
__DIR__ . '/tests/system/Session/SessionTest.php',
124-
],
125115
]);
126116

127117
// auto import fully qualified class names

0 commit comments

Comments
 (0)