Completed
Pull Request — 8.x-3.x (#489)
by Philipp
02:32
created
modules/graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityAccess.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity;
4 4
 
5
-use Drupal\Core\Access\AccessibleInterface;
6 5
 use Drupal\Core\Entity\EntityInterface;
7 6
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
8 7
 use Youshido\GraphQL\Execution\ResolveInfo;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/Deriver/Fields/EntityFieldDeriver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
   }
61 61
 
62 62
   /**
63
-   * @param $entityTypeId
63
+   * @param string $entityTypeId
64 64
    * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition
65
-   * @return array
65
+   * @return string
66 66
    */
67 67
   protected function getParentsForField($entityTypeId, FieldStorageDefinitionInterface $fieldDefinition) {
68 68
     if ($fieldDefinition->isBaseField()) {
Please login to merge, or discard this patch.
src/EventSubscriber/CacheSubscriber.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 use Drupal\Core\PageCache\ResponsePolicyInterface;
13 13
 use Drupal\Core\Routing\StackedRouteMatchInterface;
14 14
 use Drupal\graphql\GraphQL\Schema\SchemaLoader;
15
-use Drupal\graphql\Plugin\GraphQL\SchemaPluginInterface;
16
-use Drupal\graphql\Plugin\GraphQL\SchemaPluginManager;
17 15
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
18 16
 use Symfony\Component\HttpFoundation\RequestStack;
19 17
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityFieldItem.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity;
4 4
 
5
-use Drupal\Core\Field\FieldItemBase;
6
-use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
7 5
 use Drupal\graphql_core\Plugin\GraphQL\Fields\EntityFieldBase;
8 6
 use Youshido\GraphQL\Execution\ResolveInfo;
9 7
 
Please login to merge, or discard this patch.
src/Plugin/GraphQL/InputTypes/InputTypePluginBase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Drupal\graphql\Plugin\GraphQL\Traits\NamedPluginTrait;
11 11
 use Drupal\graphql\Plugin\GraphQL\Traits\TypedPluginTrait;
12 12
 use Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface;
13
-use Youshido\GraphQL\Config\Object\InputObjectTypeConfig;
14 13
 use Youshido\GraphQL\Field\Field;
15 14
 use Youshido\GraphQL\Type\TypeInterface;
16 15
 
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityField.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity;
4 4
 
5 5
 use Drupal\Core\Entity\FieldableEntityInterface;
6
-use Drupal\Core\Field\Plugin\DataType\FieldItem;
7 6
 use Drupal\graphql\GraphQL\Cache\CacheableValue;
8
-use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
9 7
 use Drupal\graphql\Utility\StringHelper;
10 8
 use Drupal\graphql_core\Plugin\GraphQL\Fields\EntityFieldBase;
11 9
 use Youshido\GraphQL\Execution\ResolveInfo;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityChanged.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Drupal\Core\Entity\EntityChangedInterface;
6 6
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
7
-use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface;
8 7
 use Youshido\GraphQL\Execution\ResolveInfo;
9 8
 use DateTime;
10 9
 
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityCreated.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity;
4 4
 
5
-use Drupal\Core\Render\Element\Date;
6 5
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
7
-use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface;
8 6
 use Youshido\GraphQL\Execution\ResolveInfo;
9 7
 use DateTime;
10 8
 
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/EntityQuery/EntityQuery.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Drupal\Core\DependencyInjection\DependencySerializationTrait;
7 7
 use Drupal\Core\Entity\EntityTypeManagerInterface;
8 8
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
9
-use Drupal\graphql\GraphQL\Cache\CacheableValue;
10 9
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
11 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
12 11
 use Youshido\GraphQL\Execution\ResolveInfo;
Please login to merge, or discard this patch.