We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class IsArrayViewHelper extends AbstractViewHelper |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Register arguments. |
||
| 21 | */ |
||
| 22 | public function initializeArguments() |
||
| 23 | { |
||
| 24 | parent::initializeArguments(); |
||
| 25 | $this->registerArgument('variable', 'mixed', 'The variable to check', false, null); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
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