Skip to content

Commit 8a7ec4c

Browse files
committed
enable AddDefaultValueForUndefinedVariableRector
1 parent e0287e6 commit 8a7ec4c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Rector\CodingStyle\Rector\ClassMethod\UnSpreadOperatorRector;
77
use Rector\Core\Configuration\Option;
88
use Rector\Core\ValueObject\PhpVersion;
9-
use Rector\Php56\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector;
109
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
1110
use Rector\Set\ValueObject\LevelSetList;
1211
use Rector\Set\ValueObject\SetList;
@@ -37,6 +36,5 @@
3736
CallableThisArrayToAnonymousFunctionRector::class,
3837
UnSpreadOperatorRector::class,
3938
FinalizeClassesWithoutChildrenRector::class,
40-
AddDefaultValueForUndefinedVariableRector::class,
4139
]);
4240
};

spec/Middleware/MezzioSpec.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@
231231

232232
it('returns handle() when not enabled', function (): void {
233233

234+
$config = [];
234235
$config['enable'] = false;
235236
$handler = Double::instance(['implements' => RequestHandlerInterface::class]);
236237
allow($handler)->toReceive('handle')->with($this->request)->andReturn(new Response());

0 commit comments

Comments
 (0)