File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 28
28
use Rector \Core \Configuration \Option ;
29
29
use Rector \Core \ValueObject \PhpVersion ;
30
30
use Rector \DeadCode \Rector \Array_ \RemoveDuplicatedArrayKeyRector ;
31
+ use Rector \DeadCode \Rector \Assign \RemoveDoubleAssignRector ;
31
32
use Rector \DeadCode \Rector \Assign \RemoveUnusedVariableAssignRector ;
32
33
use Rector \DeadCode \Rector \Concat \RemoveConcatAutocastRector ;
33
34
use Rector \DeadCode \Rector \Foreach_ \RemoveUnusedForeachKeyRector ;
113
114
$ services ->set (FuncGetArgsToVariadicParamRector::class);
114
115
$ services ->set (MakeInheritedMethodVisibilitySameAsParentRector::class);
115
116
$ services ->set (RemoveDuplicatedArrayKeyRector::class);
117
+ $ services ->set (RemoveDoubleAssignRector::class);
116
118
};
Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ public function testPathPathInfo()
152
152
153
153
public function testPathPathInfoGlobal ()
154
154
{
155
- $ this ->request ->uri = '/index.php/woot?code=good#pos ' ;
156
155
$ this ->request ->uri = '/index.php/woot?code=good#pos ' ;
157
156
$ this ->request ->setGlobal ('server ' , [
158
157
'PATH_INFO ' => 'silliness ' ,
You can’t perform that action at this time.
0 commit comments