Total Complexity | 6 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Name |
||
8 | { |
||
9 | /** @var WCRouter */ |
||
10 | private $router; |
||
11 | |||
12 | public function __construct($router) |
||
15 | } |
||
16 | |||
17 | public function home(): void |
||
23 | } |
||
24 | |||
25 | public function hello($data): void |
||
26 | { |
||
27 | echo "<h1>Hello World</h1>"; |
||
28 | echo "<a href='{$this->router->route("name.params", ["category" => 6, "page" => 1])}'>Route Params</a>"; |
||
29 | } |
||
30 | |||
31 | public function params(array $data): void |
||
34 | } |
||
35 | |||
36 | public function redirect($data): void |
||
44 | } |
||
45 | } |
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