Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
34 | 30 | public function build(array $classConstants): array |
|
35 | { |
||
36 | 30 | return array_map(fn (ClassConst $constant): Constant => new Constant( |
|
37 | 17 | (string) $constant->consts[0]->name, |
|
38 | 17 | TypeDeclaration::from($this->determineType($constant->consts[0])), |
|
39 | 17 | $this->visibilityBuilder->build($constant) |
|
40 | ), $classConstants); |
||
41 | } |
||
54 |
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