| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class FastRouteBench |
||
| 15 | { |
||
| 16 | protected $maxRoutes = 1000; |
||
| 17 | protected $request; |
||
| 18 | |||
| 19 | public function init() |
||
| 20 | { |
||
| 21 | $uri = \sprintf('/route/%d', $this->maxRoutes); |
||
| 22 | |||
| 23 | $this->request = (new ServerRequestFactory) |
||
| 24 | ->createServerRequest('GET', $uri); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @Warmup(1) |
||
| 29 | * @Revs(10) |
||
| 30 | * @Iterations(100) |
||
| 31 | */ |
||
| 32 | public function benchFastRouteMatch() |
||
| 52 | ); |
||
| 53 | } |
||
| 55 |
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