Completed
Pull Request — master (#157)
by
unknown
01:50
created
src/Drupal/Driver/Cores/Drupal6.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -431,6 +431,7 @@
 block discarded – undo
431 431
 
432 432
   /**
433 433
    * {@inheritdoc}
434
+   * @param string $entity_type
434 435
    */
435 436
   protected function expandEntityFields($entity_type, \stdClass $entity, array $base_fields = array()) {
436 437
     return parent::expandEntityFields($entity_type, $entity);
Please login to merge, or discard this patch.
src/Drupal/Driver/Plugin/DriverEntityPluginDrupal8Base.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\Driver\Plugin;
4 4
 
5
-use Drupal\Component\Plugin\PluginBase;
6 5
 use Drupal\Driver\Exception\Exception;
7 6
 use Drupal\Driver\Wrapper\Field\DriverFieldInterface;
8
-use Symfony\Component\DependencyInjection\ContainerInterface;
9
-use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
10 7
 use Drupal\Core\Entity\EntityInterface;
11 8
 use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8;
12 9
 use Drupal\Driver\Wrapper\Entity\DriverEntityInterface;
Please login to merge, or discard this patch.
src/Drupal/Driver/Wrapper/Entity/DriverEntityBase.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -496,6 +496,7 @@
 block discarded – undo
496 496
    * Sets the provisional entity plugin.
497 497
    *
498 498
    * @param \Drupal\Driver\Plugin\DriverEntityPluginInterface
499
+   * @param DriverEntityPluginInterface $plugin
499 500
    */
500 501
     protected function setProvisionalPlugin($plugin)
501 502
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Drupal\Driver\Plugin\DriverEntityPluginManager;
8 8
 use Drupal\Driver\Plugin\DriverPluginManagerInterface;
9 9
 use Drupal\Driver\Wrapper\Field\DriverFieldInterface;
10
-use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8;
11 10
 use Drupal\Driver\Plugin\DriverNameMatcher;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
src/Drupal/Driver/Wrapper/Entity/DriverEntityWrapperInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
   /**
64 64
    * Sets the entity bundle.
65 65
    *
66
-   * @param string $identifier
66
+   * @param string $identifer
67 67
    *   A string identifying the entity bundle.
68 68
    *
69 69
    * @return $this
@@ -88,6 +88,7 @@  discard block
 block discarded – undo
88 88
    *
89 89
    * @param \Drupal\Driver\Plugin\DriverEntityPluginInterface $plugin
90 90
    *   An instantiated driver entity plugin matching this entity.
91
+   * @return DriverEntityBase
91 92
    */
92 93
     public function setFinalPlugin($plugin);
93 94
 }
Please login to merge, or discard this patch.
src/Drupal/Driver/Wrapper/Field/DriverFieldBase.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,6 @@
 block discarded – undo
74 74
    * @param mixed
75 75
    *   Raw values for the field. Typically an array, one for each value of a
76 76
    *   multivalue field, but can be single. Values are typically string.
77
-   * @param string $fieldName
78
-   *   The machine name of the field.
79 77
    * @param string $entityType
80 78
    *   The machine name of the entity type the field is attached to.
81 79
    * @param string $bundle
Please login to merge, or discard this patch.
tests/Drupal/Tests/Driver/DriverPluginManagersTest.php 2 patches
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -190,10 +190,6 @@
 block discarded – undo
190 190
    *
191 191
    * @param array $target
192 192
    *   The properties to find a matching plugin for.
193
-   * @param array $mockFilters
194
-   *   The possible filters for the mocked plugin manager.
195
-   * @param array $mockCriteria
196
-   *   The specificity criteria for the mocked plugin manager.
197 193
    * @param array $mockDefinitions
198 194
    *   The plugins to be discovered by the mocked plugin manager.
199 195
    * @param array $expectedIds
Please login to merge, or discard this 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\Tests\Driver;
4 4
 
5
-use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8;
6
-
7 5
 /**
8 6
  * Tests the Driver's plugin managers.
9 7
  */
Please login to merge, or discard this patch.
tests/Drupal/Tests/Driver/Kernel/Drupal8/Entity/DriverEntityTest.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -123,6 +123,8 @@
 block discarded – undo
123 123
 
124 124
   /**
125 125
    * Assert that an entity is created & wrapped with a specified name.
126
+   * @param string $fieldName
127
+   * @param DriverEntityDrupal8 $entity
126 128
    */
127 129
     protected function assertEntityWithName($value, $fieldName, $entity)
128 130
     {
Please login to merge, or discard this patch.
tests/Drupal/Tests/Driver/Kernel/Drupal8/Entity/TaxonomyTermTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Drupal\Driver\Wrapper\Entity\DriverEntityDrupal8;
6 6
 use Drupal\Tests\Driver\Kernel\Drupal8\Entity\DriverEntityKernelTestBase;
7 7
 use Drupal\taxonomy\Entity\Vocabulary;
8
-use Drupal\taxonomy\Entity\Term;
9 8
 
10 9
 /**
11 10
  * Tests the driver's handling of term entities.
Please login to merge, or discard this patch.
tests/Drupal/Tests/Driver/Kernel/Drupal8/Entity/UserTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Drupal\Tests\Driver\Kernel\Drupal8\Entity;
4 4
 
5 5
 use Drupal\Tests\Driver\Kernel\Drupal8\Entity\DriverEntityKernelTestBase;
6
-use Drupal\user\Entity\User;
7 6
 use Drupal\user\Entity\Role;
8 7
 use Drupal\Driver\Wrapper\Entity\DriverEntityDrupal8;
9 8
 
Please login to merge, or discard this patch.