Completed
Pull Request — master (#243)
by Jon
03:33
created
src/Hal/Component/OOP/Extractor/MethodExtractor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Hal\Component\OOP\Reflected\MethodUsage;
12 12
 use Hal\Component\OOP\Reflected\ReflectedArgument;
13 13
 use Hal\Component\OOP\Reflected\ReflectedClass;
14
-use Hal\Component\OOP\Reflected\ReflectedClass\ReflectedAnonymousClass;
15 14
 use Hal\Component\OOP\Reflected\ReflectedMethod;
16 15
 use Hal\Component\OOP\Reflected\ReflectedReturn;
17 16
 use Hal\Component\OOP\Resolver\TypeResolver;
Please login to merge, or discard this patch.
src/Hal/Metrics/Complexity/Text/Halstead/Halstead.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,7 @@
 block discarded – undo
80 80
         foreach($tokens as $token) {
81 81
             if($this->tokenType->isOperator($token)) {
82 82
                 $this->operators[] = $token;
83
-            }
84
-            else if($this->tokenType->isOperand($token)) {
83
+            } else if($this->tokenType->isOperand($token)) {
85 84
                 $this->operands[] = $token;
86 85
             }
87 86
         }
Please login to merge, or discard this patch.
artifacts/phar/build.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,9 @@
 block discarded – undo
19 19
 $files = array_merge(rglob('*.php'), rglob('*.twig'), rglob('*.json'), rglob('*.pp'));
20 20
 $exclude = '!(.git)|(.svn)|(bin)|(tests)|(Tests)|(phpmetrics)!';
21 21
 foreach($files as $file) {
22
-    if(preg_match($exclude, $file)) continue;
22
+    if(preg_match($exclude, $file)) {
23
+        continue;
24
+    }
23 25
     $path = str_replace(__DIR__.'/', '', $file);
24 26
     $phar->addFromString($path, file_get_contents($file));
25 27
 }
Please login to merge, or discard this patch.
src/Hal/Application/Command/Job/ReportWriter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Hal\Application\Formater\FormaterInterface;
12 12
 use Hal\Component\Result\ResultCollection;
13 13
 use Symfony\Component\Console\Output\OutputInterface;
14
-use Symfony\Component\Console\Output\StreamOutput;
15 14
 
16 15
 
17 16
 /**
Please login to merge, or discard this patch.
src/Hal/Application/Command/Job/QueueAnalyzeFactory.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace Hal\Application\Command\Job;
11 11
 use Hal\Application\Extension\ExtensionService;
12
-use Hal\Application\Formater\Chart;
13
-use Hal\Application\Formater\Details;
14
-use Hal\Application\Formater\Summary;
15
-use Hal\Application\Formater\Violations;
16 12
 use Hal\Application\Score\Scoring;
17 13
 use Hal\Component\Aggregator\DirectoryAggregatorFlat;
18 14
 use Hal\Component\Bounds\BoundsInterface;
Please login to merge, or discard this patch.
src/Hal/Application/Command/Job/QueueReportFactory.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,13 +10,10 @@
 block discarded – undo
10 10
 namespace Hal\Application\Command\Job;
11 11
 use Hal\Application\Extension\ExtensionService;
12 12
 use Hal\Application\Extension\extensionsService;
13
-use Hal\Application\Extension\Repository;
14 13
 use Hal\Application\Formater\Chart;
15 14
 use Hal\Application\Formater\Details;
16 15
 use Hal\Application\Formater\Summary;
17 16
 use Hal\Application\Formater\Violations;
18
-use Hal\Application\Score\Scoring;
19
-use Hal\Component\Aggregator\DirectoryAggregatorFlat;
20 17
 use Hal\Component\Bounds\BoundsInterface;
21 18
 use Hal\Component\Config\ConfigurationInterface;
22 19
 use Hal\Component\File\Finder;
Please login to merge, or discard this patch.
src/Hal/Application/Config/ConfigValidator.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace Hal\Application\Config;
11 11
 use Hal\Component\Chart\Graphviz;
12
-use Hal\Component\Config\Hydrator;
13
-use Hal\Component\Config\Loader;
14
-use Hal\Component\Config\Validator;
15
-use Symfony\Component\Console\Input\InputInterface;
16 12
 
17 13
 /**
18 14
  * Config checker
Please login to merge, or discard this patch.