Completed
Push — master ( 9cf213...22c274 )
by Jonathan
18s
created
src/Drupal/DrupalExtension/Context/Annotation/Reader.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\DrupalExtension\Context\Annotation;
4 4
 
5 5
 use Behat\Behat\Context\Annotation\AnnotationReader;
6
-use Drupal\DrupalExtension\Hook\Dispatcher;
7 6
 use ReflectionMethod;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
doc/_static/snippets/FeatureContext.php.inc 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Tester\Exception\PendingException;
4 3
 use Drupal\DrupalExtension\Context\RawDrupalContext;
5 4
 use Behat\Behat\Context\SnippetAcceptingContext;
6
-use Behat\Gherkin\Node\PyStringNode;
7
-use Behat\Gherkin\Node\TableNode;
8 5
 
9 6
 /**
10 7
  * Defines application features from the specific context.
Please login to merge, or discard this patch.
src/Drupal/DrupalExtension/Context/RawDrupalContext.php 2 patches
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,21 +3,15 @@
 block discarded – undo
3 3
 namespace Drupal\DrupalExtension\Context;
4 4
 
5 5
 use Behat\MinkExtension\Context\RawMinkContext;
6
-use Behat\Mink\Exception\DriverException;
7 6
 use Behat\Testwork\Hook\HookDispatcher;
8 7
 use Behat\Behat\Context\Environment\InitializedContextEnvironment;
9
-
10 8
 use Drupal\DrupalDriverManager;
11 9
 use Drupal\DrupalExtension\DrupalParametersTrait;
12 10
 use Drupal\DrupalExtension\Manager\DrupalAuthenticationManagerInterface;
13 11
 use Drupal\DrupalExtension\Manager\DrupalUserManagerInterface;
14
-
15
-use Drupal\DrupalExtension\Hook\Scope\AfterLanguageEnableScope;
16 12
 use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope;
17 13
 use Drupal\DrupalExtension\Hook\Scope\AfterTermCreateScope;
18 14
 use Drupal\DrupalExtension\Hook\Scope\AfterUserCreateScope;
19
-use Drupal\DrupalExtension\Hook\Scope\BaseEntityScope;
20
-use Drupal\DrupalExtension\Hook\Scope\BeforeLanguageEnableScope;
21 15
 use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope;
22 16
 use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope;
23 17
 use Drupal\DrupalExtension\Hook\Scope\BeforeTermCreateScope;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,6 +193,7 @@  discard block
 block discarded – undo
193 193
   /**
194 194
    * Get active Drupal Driver.
195 195
    *
196
+   * @param string $name
196 197
    * @return \Drupal\Driver\DrupalDriver
197 198
    */
198 199
     public function getDriver($name = null)
@@ -326,7 +327,7 @@  discard block
 block discarded – undo
326 327
   /**
327 328
    * Dispatch scope hooks.
328 329
    *
329
-   * @param string $scope
330
+   * @param string $scopeType
330 331
    *   The entity scope to dispatch.
331 332
    * @param \stdClass $entity
332 333
    *   The entity.
Please login to merge, or discard this patch.
src/Drupal/DrupalExtension/Context/MinkContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -51,6 +51,7 @@  discard block
 block discarded – undo
51 51
    * @When I visit :path
52 52
    *
53 53
    * @throws UnsupportedDriverActionException
54
+   * @param string $path
54 55
    */
55 56
     public function assertAtPath($path)
56 57
     {
@@ -535,6 +536,7 @@  discard block
 block discarded – undo
535 536
 
536 537
   /**
537 538
    * @Then I should get a :code HTTP response
539
+   * @param string $code
538 540
    */
539 541
     public function assertHttpResponse($code)
540 542
     {
Please login to merge, or discard this patch.