Skip to content

Commit aa96117

Browse files
Update rector/rector requirement from 0.11.40 to 0.11.42 (#4984)
1 parent 4169dce commit aa96117

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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": {

rector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector;
2323
use Rector\CodeQuality\Rector\Return_\SimplifyUselessVariableRector;
2424
use Rector\CodeQuality\Rector\Ternary\UnnecessaryTernaryExpressionRector;
25-
use Rector\CodeQualityStrict\Rector\Variable\MoveVariableDeclarationNearReferenceRector;
2625
use Rector\CodingStyle\Rector\ClassMethod\FuncGetArgsToVariadicParamRector;
2726
use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector;
2827
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
@@ -106,7 +105,6 @@
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);

tests/system/API/ResponseTraitTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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' => [

0 commit comments

Comments
 (0)