Issues (645)

src/Plugin/SchemaPluginInterface.php (2 issues)

Labels
Severity
1
<?php
2
3
namespace Drupal\graphql\Plugin;
4
5
use Drupal\Component\Plugin\PluginInspectionInterface;
0 ignored issues
show
The type Drupal\Component\Plugin\PluginInspectionInterface was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Drupal\Component\Plugin\DerivativeInspectionInterface;
0 ignored issues
show
The type Drupal\Component\Plugin\...tiveInspectionInterface was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
8
interface SchemaPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
9
10
  /**
11
   * Retrieves the schema.
12
   *
13
   * @return \GraphQL\Type\Schema
14
   *   The schema.
15
   */
16
  public function getSchema();
17
18
  /**
19
   * Validates the schema.
20
   *
21
   * @return null|array
22
   */
23
  public function validateSchema();
24
25
  /**
26
   * @return mixed
27
   */
28
  public function getServer();
29
30
}
31