| @@ 92-98 (lines=7) @@ | ||
| 89 | ['ignoredPaths' => $this->ignoredPaths] |
|
| 90 | ); |
|
| 91 | ||
| 92 | foreach ($this->getAnalysisTools() as $tool) { |
|
| 93 | $message = ['description' => $tool->getDescription()]; |
|
| 94 | $this->trigger(self::EVENT_STARTING_TOOL, $message); |
|
| 95 | $tool->run($this->getAnalysedPaths()); |
|
| 96 | $result->mergeWith($tool->getAnalysisResult()); |
|
| 97 | $this->trigger(self::EVENT_FINISHED_TOOL); |
|
| 98 | } |
|
| 99 | ||
| 100 | if ($this->resultsFilter) { |
|
| 101 | $result->setResultsFilter($this->resultsFilter); |
|
| @@ 114-120 (lines=7) @@ | ||
| 111 | $this->runTargetMetrics(); |
|
| 112 | $this->runTargetAnalysis(); |
|
| 113 | ||
| 114 | foreach ($this->getAnalysisTools() as $tool) { |
|
| 115 | $message = ['description' => $tool->getDescription()]; |
|
| 116 | $this->trigger(self::EVENT_STARTING_TOOL, $message); |
|
| 117 | $tool->run($this->getAnalysedPaths()); |
|
| 118 | $result->mergeWith($tool->getAnalysisResult()); |
|
| 119 | $this->trigger(self::EVENT_FINISHED_TOOL); |
|
| 120 | } |
|
| 121 | ||
| 122 | if ($this->resultsFilter) { |
|
| 123 | $result->setResultsFilter($this->resultsFilter); |
|