Completed
Pull Request — master (#1)
by Tomáš
09:56 queued 03:19
created
Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.inc 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,6 @@
 block discarded – undo
89 89
         }
90 90
 }
91 91
 
92
-use Vendor\Test\FooBar;
93
-
94 92
 function test()
95 93
 {
96 94
     switch ($val) {
Please login to merge, or discard this patch.
CodeSniffer/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.1.inc 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -1,15 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace MyProject;
3 3
 
4
-use BarClass as Bar;
5
-use My\Full\Classname as Another;
6
-
7
-
8
-use Something;
9
-use SomethingElse;
10
-
11 4
 // Comment here.
12
-use LastThing;
13 5
 
14 6
 class Foo {
15 7
 }
Please login to merge, or discard this patch.
CodeSniffer/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.2.inc 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -1,14 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace MyProject;
3 3
 
4
-use  BarClass as Bar;
5
-use My\Full\Classname as Another, My\Full\NSname;
6
-
7 4
 
8 5
 namespace AnotherProject;
9 6
 
10
-use ArrayObject;
11
-
12 7
 
13 8
 $foo = 'bar';
14 9
 
Please login to merge, or discard this patch.
CodeSniffer/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.3.inc 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace bug;
3 3
 
4
-use
5
-    someNS\A;
6
-use someNS\B;
7 4
 class Bug
8 5
 {
9 6
     public function __construct()
Please login to merge, or discard this patch.
CodeSniffer/Standards/Squiz/Tests/PHP/HeredocUnitTest.inc 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -16,9 +16,3 @@
 block discarded – undo
16 16
         $arr = array(
17 17
             'a' => 'a'
18 18
 <<<<<<< HEAD
19
-            'b' => 'b'
20
-=======
21
-            'c' => 'c'
22
->>>>>>> master
23
-        );
24
-    }
Please login to merge, or discard this patch.