Issues (645)

src/Plugin/FieldPluginInterface.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 FieldPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
9
10
  /**
11
   * @param \Drupal\graphql\Plugin\SchemaBuilderInterface $builder
12
   * @param \Drupal\graphql\Plugin\FieldPluginManager $manager
13
   * @param $definition
14
   * @param $id
15
   *
16
   * @return mixed
17
   */
18
  public static function createInstance(SchemaBuilderInterface $builder, FieldPluginManager $manager, $definition, $id);
19
20
  /**
21
   * Returns the plugin's type or field definition for the schema.
22
   *
23
   * @return array
24
   *   The type or field definition of the plugin.
25
   */
26
  public function getDefinition();
27
28
}
29