File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 23
23
"phpstan/phpstan" : " ^0.12.91" ,
24
24
"phpunit/phpunit" : " ^9.1" ,
25
25
"predis/predis" : " ^1.1" ,
26
- "rector/rector" : " 0.11.40 " ,
26
+ "rector/rector" : " 0.11.42 " ,
27
27
"symplify/package-builder" : " ^9.3"
28
28
},
29
29
"suggest" : {
Original file line number Diff line number Diff line change 22
22
use Rector \CodeQuality \Rector \If_ \SimplifyIfReturnBoolRector ;
23
23
use Rector \CodeQuality \Rector \Return_ \SimplifyUselessVariableRector ;
24
24
use Rector \CodeQuality \Rector \Ternary \UnnecessaryTernaryExpressionRector ;
25
- use Rector \CodeQualityStrict \Rector \Variable \MoveVariableDeclarationNearReferenceRector ;
26
25
use Rector \CodingStyle \Rector \ClassMethod \FuncGetArgsToVariadicParamRector ;
27
26
use Rector \CodingStyle \Rector \ClassMethod \MakeInheritedMethodVisibilitySameAsParentRector ;
28
27
use Rector \CodingStyle \Rector \FuncCall \CountArrayToEmptyArrayComparisonRector ;
106
105
$ services ->set (RemoveErrorSuppressInTryCatchStmtsRector::class);
107
106
$ services ->set (TernaryToNullCoalescingRector::class);
108
107
$ services ->set (ListToArrayDestructRector::class);
109
- $ services ->set (MoveVariableDeclarationNearReferenceRector::class);
110
108
$ services ->set (RemoveVarTagFromClassConstantRector::class);
111
109
$ services ->set (AddPregQuoteDelimiterRector::class);
112
110
$ services ->set (SimplifyRegexPatternRector::class);
Original file line number Diff line number Diff line change @@ -429,9 +429,9 @@ public function testServerError()
429
429
$ controller = $ this ->makeController ();
430
430
$ controller ->failServerError ('Nope. ' , 'FAT-CHANCE ' , 'A custom reason. ' );
431
431
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 ([
435
435
'status ' => 500 ,
436
436
'error ' => 'FAT-CHANCE ' ,
437
437
'messages ' => [
You can’t perform that action at this time.
0 commit comments