Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | class HasAccessViewHelper extends AbstractViewHelper |
||
24 | { |
||
25 | /** |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | public function initializeArguments() |
||
29 | { |
||
30 | parent::initializeArguments(); |
||
31 | |||
32 | $this->registerArgument( |
||
33 | 'module', |
||
34 | 'string', |
||
35 | 'Name of the module, for instance Manager or Administration.', |
||
36 | true |
||
37 | ); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | public function render() |
||
46 | } |
||
47 | } |
||
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