| Conditions | 3 |
| Paths | 3 |
| Total Lines | 20 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function enterNode(Node $node): null |
||
| 24 | { |
||
| 25 | if (! $this->nodeChecker->requiresDocBlock($node)) { |
||
| 26 | return null; |
||
| 27 | } |
||
| 28 | $docComment = $node->getDocComment(); |
||
| 29 | if ($docComment !== null) { |
||
| 30 | return null; |
||
| 31 | } |
||
| 32 | |||
| 33 | $this->missingDocBlocks[] = |
||
| 34 | new CommentDTO( |
||
| 35 | MissingDocBlockAnalyzer::NAME, // todo |
||
| 36 | MissingDocBlockAnalyzer::COLOR, |
||
| 37 | $this->filename, |
||
| 38 | $node->getLine(), |
||
| 39 | '', |
||
| 40 | ); |
||
| 41 | |||
| 42 | return null; |
||
| 43 | } |
||
| 45 |
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