Completed
Pull Request — master (#448)
by
unknown
08:31
created
phpmetrics/src/Hal/Metric/System/Packages/Composer/Composer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Hal\Metric\System\Packages\Composer;
3 3
 
4 4
 use Hal\Application\Config\Config;
5
-use Hal\Application\Config\ConfigException;
6 5
 use Hal\Component\File\Finder;
7 6
 use Hal\Metric\Metrics;
8 7
 use Hal\Metric\ProjectMetric;
Please login to merge, or discard this patch.
phpmetrics/tests/Component/Tree/GraphDeduplicatedTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Test;
4 4
 
5
-use Hal\Component\Tree\Graph;
6 5
 use Hal\Component\Tree\GraphDeduplicated;
7 6
 use Hal\Component\Tree\Node;
8 7
 
Please login to merge, or discard this patch.
phpmetrics/tests/Component/Tree/Operator/SizeOfTreeTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Test;
4 4
 
5 5
 use Hal\Component\Tree\Graph;
6
-use Hal\Component\Tree\GraphFactory;
7 6
 use Hal\Component\Tree\Node;
8 7
 use Hal\Component\Tree\Operator\SizeOfTree;
9 8
 
Please login to merge, or discard this patch.
phpmetrics/src/Hal/Application/Config/File/ConfigFileReaderJson.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     private function resolvePath($path)
92 92
     {
93 93
         if (DIRECTORY_SEPARATOR !== $path[0]) {
94
-             $path = dirname($this->filename) . DIRECTORY_SEPARATOR . $path;
94
+                $path = dirname($this->filename) . DIRECTORY_SEPARATOR . $path;
95 95
         }
96 96
 
97 97
         return $path;
Please login to merge, or discard this patch.
phpmetrics/tests/Metric/examples/externals1.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
     class A {
4 4
         public function foo($foo, C $c) : H
5 5
         {
6
-             $x = new B;
6
+                $x = new B;
7 7
             D::foo();
8 8
         }
9 9
     }
Please login to merge, or discard this patch.
phpmetrics/tests/Metric/examples/cyclomatic1.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,15 +14,15 @@
 block discarded – undo
14 14
         if(true) {
15 15
 
16 16
         } else {
17
-	        if (true) {
17
+            if (true) {
18 18
 
19
-	        } else if (true) {
19
+            } else if (true) {
20 20
 
21
-	        } elseif (true) {
21
+            } elseif (true) {
22 22
 
23
-	        } elseif (true) {
23
+            } elseif (true) {
24 24
 
25
-	        }
25
+            }
26 26
         }
27 27
     }
28 28
 
Please login to merge, or discard this patch.