Skip to content

Commit

Permalink
[Rector] Apply Rector: RemoveDoubleAssignRector
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 14, 2021
1 parent b0978fb commit 7e8fc18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use Rector\Core\Configuration\Option;
use Rector\Core\ValueObject\PhpVersion;
use Rector\DeadCode\Rector\Array_\RemoveDuplicatedArrayKeyRector;
use Rector\DeadCode\Rector\Assign\RemoveDoubleAssignRector;
use Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector;
use Rector\DeadCode\Rector\Concat\RemoveConcatAutocastRector;
use Rector\DeadCode\Rector\Foreach_\RemoveUnusedForeachKeyRector;
Expand Down Expand Up @@ -113,4 +114,5 @@
$services->set(FuncGetArgsToVariadicParamRector::class);
$services->set(MakeInheritedMethodVisibilitySameAsParentRector::class);
$services->set(RemoveDuplicatedArrayKeyRector::class);
$services->set(RemoveDoubleAssignRector::class);
};
1 change: 0 additions & 1 deletion tests/system/HTTP/IncomingRequestDetectingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public function testPathPathInfo()

public function testPathPathInfoGlobal()
{
$this->request->uri = '/index.php/woot?code=good#pos';
$this->request->uri = '/index.php/woot?code=good#pos';
$this->request->setGlobal('server', [
'PATH_INFO' => 'silliness',
Expand Down

0 comments on commit 7e8fc18

Please sign in to comment.