| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 20 | public function resolveFromDocBlock( |
||
| 21 | ?string $docBlock, |
||
| 22 | TagName $tagName, |
||
| 23 | UseStatements $useStatements, |
||
| 24 | callable $filter = null |
||
| 25 | ): TypeDeclaration { |
||
| 26 | if ($docBlock === null) { |
||
| 27 | return TypeDeclaration::absent(); |
||
| 28 | } |
||
| 29 | |||
| 30 | $returnType = $this->typeFactory->typeFromTag($docBlock, $tagName, $filter); |
||
| 31 | |||
| 32 | return $returnType instanceof TagType ? $returnType->resolve($useStatements) : TypeDeclaration::absent(); |
||
| 33 | } |
||
| 35 |
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