| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function onBeforeAddToManager(Manager $manager) |
||
| 11 | { |
||
| 12 | $manager->addType(new CustomScalarType([ |
||
| 13 | 'name' => 'ObjectType', |
||
| 14 | 'serialize' => function ($value) { |
||
| 15 | return (object) $value; |
||
| 16 | }, |
||
| 17 | 'parseValue' => function ($value) { |
||
| 18 | return (array) $value; |
||
| 19 | }, |
||
| 20 | 'parseLiteral' => function ($ast) { |
||
| 21 | return $ast->value; |
||
| 22 | }, |
||
| 23 | ]), 'ObjectType'); |
||
| 24 | } |
||
| 26 |
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