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 2828use Rector \Core \Configuration \Option ;
2929use Rector \Core \ValueObject \PhpVersion ;
3030use Rector \DeadCode \Rector \Array_ \RemoveDuplicatedArrayKeyRector ;
31+ use Rector \DeadCode \Rector \Assign \RemoveDoubleAssignRector ;
3132use Rector \DeadCode \Rector \Assign \RemoveUnusedVariableAssignRector ;
3233use Rector \DeadCode \Rector \Concat \RemoveConcatAutocastRector ;
3334use Rector \DeadCode \Rector \Foreach_ \RemoveUnusedForeachKeyRector ;
113114 $ services ->set (FuncGetArgsToVariadicParamRector::class);
114115 $ services ->set (MakeInheritedMethodVisibilitySameAsParentRector::class);
115116 $ services ->set (RemoveDuplicatedArrayKeyRector::class);
117+ $ services ->set (RemoveDoubleAssignRector::class);
116118};
Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ public function testPathPathInfo()
152152
153153 public function testPathPathInfoGlobal ()
154154 {
155- $ this ->request ->uri = '/index.php/woot?code=good#pos ' ;
156155 $ this ->request ->uri = '/index.php/woot?code=good#pos ' ;
157156 $ this ->request ->setGlobal ('server ' , [
158157 'PATH_INFO ' => 'silliness ' ,
You can’t perform that action at this time.
0 commit comments