@@ -11,7 +11,6 @@ |
||
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; |
@@ -80,8 +80,7 @@ |
||
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 | } |
@@ -19,7 +19,9 @@ |
||
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 | } |
@@ -11,7 +11,6 @@ |
||
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 | /** |
@@ -9,10 +9,6 @@ |
||
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; |
@@ -10,13 +10,10 @@ |
||
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; |
@@ -9,10 +9,6 @@ |
||
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 |