| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 11 | class Debugbar implements Output |
||
| 12 | { |
||
| 13 | protected $collector; |
||
| 14 | |||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | $this->collector = new MessagesCollector('N+1 Queries'); |
||
| 18 | |||
| 19 | if (!LaravelDebugbar::hasCollector($this->collector->getName())) { |
||
| 20 | LaravelDebugbar::addCollector($this->collector); |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | public function output(Collection $detectedQueries, Response $response) |
||
| 31 | )); |
||
| 32 | } |
||
| 35 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths