Total Complexity | 5 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 20% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Controller |
||
12 | { |
||
13 | use BaseControllerTrait; |
||
14 | |||
15 | /** |
||
16 | * Controller constructor. |
||
17 | */ |
||
18 | 2 | public function __construct() |
|
20 | // $this->inflectName(); |
||
21 | 2 | } |
|
22 | |||
23 | /** |
||
24 | * @param $name |
||
25 | * @param $arguments |
||
26 | * @return bool|mixed |
||
27 | */ |
||
28 | public function __call($name, $arguments) |
||
29 | { |
||
30 | if ($name === ucfirst($name)) { |
||
31 | return $this->getHelper($name); |
||
32 | } |
||
33 | |||
34 | return trigger_error("Call to undefined method [$name] in controller [{$this->getClassName()}]", E_USER_ERROR); |
||
35 | } |
||
36 | |||
37 | |||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getRootNamespace() |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return Application |
||
|
|||
49 | */ |
||
50 | public function getApplication() |
||
53 | } |
||
54 | } |
||
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