1 | <?php |
||
2 | namespace DNADesign\Elemental\ORM\FieldType; |
||
3 | |||
4 | use SilverStripe\GraphQL\Manager; |
||
0 ignored issues
–
show
|
|||
5 | use SilverStripe\ORM\FieldType\DBField; |
||
6 | |||
7 | class DBObjectType extends DBField |
||
8 | { |
||
9 | /** |
||
10 | * Add the field to the underlying database. |
||
11 | */ |
||
12 | public function requireField() |
||
13 | { |
||
14 | // noop - This class exists only to bind to a custom GraphQL type |
||
15 | } |
||
16 | |||
17 | public function getGraphQLType(Manager $manager) |
||
18 | { |
||
19 | return $manager->getType('ObjectType'); |
||
20 | } |
||
21 | } |
||
22 |
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