File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 "phpstan/phpstan" : " ^0.12.91" ,
2424 "phpunit/phpunit" : " ^9.1" ,
2525 "predis/predis" : " ^1.1" ,
26- "rector/rector" : " 0.11.40 " ,
26+ "rector/rector" : " 0.11.42 " ,
2727 "symplify/package-builder" : " ^9.3"
2828 },
2929 "suggest" : {
Original file line number Diff line number Diff line change 2222use Rector \CodeQuality \Rector \If_ \SimplifyIfReturnBoolRector ;
2323use Rector \CodeQuality \Rector \Return_ \SimplifyUselessVariableRector ;
2424use Rector \CodeQuality \Rector \Ternary \UnnecessaryTernaryExpressionRector ;
25- use Rector \CodeQualityStrict \Rector \Variable \MoveVariableDeclarationNearReferenceRector ;
2625use Rector \CodingStyle \Rector \ClassMethod \FuncGetArgsToVariadicParamRector ;
2726use Rector \CodingStyle \Rector \ClassMethod \MakeInheritedMethodVisibilitySameAsParentRector ;
2827use Rector \CodingStyle \Rector \FuncCall \CountArrayToEmptyArrayComparisonRector ;
106105 $ services ->set (RemoveErrorSuppressInTryCatchStmtsRector::class);
107106 $ services ->set (TernaryToNullCoalescingRector::class);
108107 $ services ->set (ListToArrayDestructRector::class);
109- $ services ->set (MoveVariableDeclarationNearReferenceRector::class);
110108 $ services ->set (RemoveVarTagFromClassConstantRector::class);
111109 $ services ->set (AddPregQuoteDelimiterRector::class);
112110 $ services ->set (SimplifyRegexPatternRector::class);
Original file line number Diff line number Diff line change @@ -429,9 +429,9 @@ public function testServerError()
429429 $ controller = $ this ->makeController ();
430430 $ controller ->failServerError ('Nope. ' , 'FAT-CHANCE ' , 'A custom reason. ' );
431431
432- $ this :: assertEquals ('A custom reason. ' , $ this ->response ->getReason ());
433- $ this :: assertEquals (500 , $ this ->response ->getStatusCode ());
434- $ this :: assertEquals ($ this ->formatter ->format ([
432+ $ this -> assertSame ('A custom reason. ' , $ this ->response ->getReason ());
433+ $ this -> assertSame (500 , $ this ->response ->getStatusCode ());
434+ $ this -> assertSame ($ this ->formatter ->format ([
435435 'status ' => 500 ,
436436 'error ' => 'FAT-CHANCE ' ,
437437 'messages ' => [
You can’t perform that action at this time.
0 commit comments