| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | public function manipulateFieldDefinition( |
||
| 33 | DocumentAST &$documentAST, |
||
| 34 | FieldDefinitionNode &$fieldDefinition, |
||
| 35 | ObjectTypeDefinitionNode &$parentType |
||
| 36 | ) { |
||
| 37 | $fieldName = $fieldDefinition->name->value; |
||
| 38 | /** |
||
| 39 | * @var NodeList $fields |
||
| 40 | */ |
||
| 41 | $fields = $parentType->fields; |
||
| 42 | foreach ($fields as $k => $f) { |
||
| 43 | if ($f->name->value === $fieldName) { |
||
| 44 | unset($fields[$k]); |
||
| 45 | } |
||
| 49 |
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