File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 66use Rector \CodingStyle \Rector \ClassMethod \UnSpreadOperatorRector ;
77use Rector \Core \Configuration \Option ;
88use Rector \Core \ValueObject \PhpVersion ;
9- use Rector \Php56 \Rector \FunctionLike \AddDefaultValueForUndefinedVariableRector ;
109use Rector \Privatization \Rector \Class_ \FinalizeClassesWithoutChildrenRector ;
1110use Rector \Set \ValueObject \LevelSetList ;
1211use Rector \Set \ValueObject \SetList ;
3736 CallableThisArrayToAnonymousFunctionRector::class,
3837 UnSpreadOperatorRector::class,
3938 FinalizeClassesWithoutChildrenRector::class,
40- AddDefaultValueForUndefinedVariableRector::class,
4139 ]);
4240};
Original file line number Diff line number Diff line change 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 ());
You can’t perform that action at this time.
0 commit comments