Completed
Pull Request — master (#157)
by
unknown
01:46
created
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.
tests/Drupal/Tests/Driver/Kernel/Drupal8/Field/DriverFieldTest.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\Tests\Driver\Kernel\Drupal8\Field\DriverFieldKernelTestBase;
6 6
 use Drupal\Driver\Plugin\DriverFieldPluginManager;
7
-use Drupal\KernelTests\KernelTestBase;
8 7
 use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8;
9 8
 
10 9
 /** Tests the field plugin base class.
Please login to merge, or discard this patch.
src/Drupal/Driver/DrupalDriver.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\Driver;
4 4
 
5 5
 use Drupal\Driver\Exception\BootstrapException;
6
-
7 6
 use Behat\Behat\Tester\Exception\PendingException;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Drupal/Driver/Cores/CoreInterface.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
    *   URI that is accessing Drupal. Defaults to 'default'.
19 19
    * @param \Drupal\Component\Utility\Random $random
20 20
    *   Random string generator.
21
-   * @param string $projectPluginRoot
22
-   *   The directory to search for additional project-specific driver plugins.
21
+   * @return void
23 22
    */
24 23
   public function __construct($drupal_root, $uri = 'default', Random $random = NULL);
25 24
 
26 25
   /**
27 26
    * Return random generator.
27
+   * @return Random
28 28
    */
29 29
   public function getRandom();
30 30
 
@@ -195,6 +195,7 @@  discard block
 block discarded – undo
195 195
 
196 196
   /**
197 197
    * Clears the static caches.
198
+   * @return void
198 199
    */
199 200
   public function clearStaticCaches();
200 201
 
@@ -228,7 +229,7 @@  discard block
 block discarded – undo
228 229
    *
229 230
    * @param string $entity_type
230 231
    *   Entity type machine name.
231
-   * @param object $entity
232
+   * @param \stdClass $entity
232 233
    *   The field values and properties desired for the new entity.
233 234
    *
234 235
    * @return \Drupal\Core\Entity\EntityInterface
@@ -238,6 +239,8 @@  discard block
 block discarded – undo
238 239
 
239 240
   /**
240 241
    * Delete an entity.
242
+   * @param string $entity_type
243
+   * @param \stdClass $entity
241 244
    */
242 245
   public function entityDelete($entity_type, $entity);
243 246
 
Please login to merge, or discard this patch.