@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Hal\Metric\Class_; |
3 | 3 | |
4 | -use Hal\Component\Reflected\Method; |
|
5 | 4 | use Hal\Metric\ClassMetric; |
6 | 5 | use Hal\Metric\FunctionMetric; |
7 | 6 | use Hal\Metric\Helper\RoleOfMethodDetector; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Hal\Metric\FunctionMetric; |
5 | 5 | use Hal\Metric\Metrics; |
6 | -use Hoa\Ruler\Model\Bag\Scalar; |
|
7 | 6 | use PhpParser\Node; |
8 | 7 | use PhpParser\Node\Stmt; |
9 | 8 | use PhpParser\NodeVisitorAbstract; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | // analyze |
59 | 59 | try { |
60 | 60 | $metrics = (new Analyze($config, $output, $issuer))->run($files); |
61 | - }catch(ConfigException $e) { |
|
61 | + } catch(ConfigException $e) { |
|
62 | 62 | $output->writeln(sprintf('<error>%s</error>', $e->getMessage())); |
63 | 63 | exit(1); |
64 | 64 | } |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use Hal\Application\Config\Config; |
5 | 5 | use Hal\Component\Output\Output; |
6 | 6 | use Hal\Metric\Consolidated; |
7 | -use Hal\Metric\Consolided; |
|
8 | 7 | use Hal\Metric\Metrics; |
9 | 8 | |
10 | 9 | class Reporter |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Hal\Application\Config\Config; |
5 | 5 | use Hal\Component\Output\Output; |
6 | -use Hal\Metric\Consolided; |
|
7 | 6 | use Hal\Metric\Metrics; |
8 | 7 | use Hal\Violation\Violation; |
9 | 8 |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Hal\Metric\Class_\Complexity; |
3 | 3 | |
4 | -use Hal\Component\Reflected\Method; |
|
5 | 4 | use Hal\Metric\Helper\MetricClassNameGenerator; |
6 | 5 | use Hal\Metric\Metrics; |
7 | 6 | use PhpParser\Node; |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Hal\Metric\Class_\Complexity; |
3 | 3 | |
4 | -use Hal\Component\Reflected\Method; |
|
5 | 4 | use Hal\Metric\Helper\MetricClassNameGenerator; |
6 | 5 | use Hal\Metric\Metrics; |
7 | 6 | use PhpParser\Node; |