| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 25% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | class HiddenDirective extends BaseDirective implements FieldManipulator |
||
| 16 | { |
||
| 17 | 8 | public static function definition(): string |
|
| 20 | 8 | """ |
|
| 21 | Make this field hidden. It will not show up on introspection or queries. |
||
| 22 | """ |
||
| 23 | directive @hidden on ARGUMENT_DEFINITION |
||
| 24 | GRAPHQL; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Manipulate the AST based on a field definition. |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | public function manipulateFieldDefinition( |
||
| 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