@@ -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; |
@@ -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 | } |
@@ -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 | } |