| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 19 | final class ParsedConstantsBuilder implements ConstantsBuilder |
||
| 20 | { |
||
| 21 | /** @var string[] */ |
||
| 22 | private const TYPES = [ |
||
| 23 | 'integer' => 'int', |
||
| 24 | 'double' => 'float', |
||
| 25 | 'string' => 'string', |
||
| 26 | ]; |
||
| 27 | |||
| 28 | public function __construct(private VisibilityBuilder $visibilityBuilder) |
||
| 29 | { |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param ClassConst[] $classConstants |
||
| 34 | * @return Constant[] |
||
| 35 | */ |
||
| 36 | public function build(array $classConstants): array |
||
| 43 | } |
||
| 44 | |||
| 45 | private function determineType(Const_ $constant): ?string |
||
| 56 |
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