| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function benchAuraMatch() |
||
| 30 | { |
||
| 31 | $routerContainer = new RouterContainer(); |
||
| 32 | |||
| 33 | $map = $routerContainer->getMap(); |
||
| 34 | |||
| 35 | for ($i = 1; $i <= $this->maxRoutes; $i++) |
||
| 36 | { |
||
| 37 | $id = \sprintf('route:%d', $i); |
||
| 38 | $path = \sprintf('/route/%d', $i); |
||
| 39 | $action = function() {}; |
||
| 40 | |||
| 41 | $map->get($id, $path, $action); |
||
| 42 | } |
||
| 43 | |||
| 44 | $matcher = $routerContainer->getMatcher(); |
||
| 45 | $matcher->match($this->request); |
||
| 46 | } |
||
| 48 |
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