Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | 8 | public function match(array $globals, array $server) |
|
38 | 8 | { |
|
39 | 8 | $requestUri = $server['REQUEST_URI']; |
|
40 | $get = $globals['_GET']; |
||
41 | 8 | $post = $globals['_POST']; |
|
42 | [$method, $query] = $this->httpMethodParams->get($server, $get, $post); |
||
43 | $path = $this->schemeHost . parse_url($requestUri, 5); // 5 = PHP_URL_PATH |
||
44 | |||
45 | return new RouterMatch($method, $path, $query); |
||
46 | } |
||
56 |
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