Completed
Push — 62-logout-performance ( 836b21 )
by Jonathan
01:27
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.
src/Drupal/DrupalExtension/Context/MinkContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -48,6 +48,7 @@  discard block
 block discarded – undo
48 48
    * @When I visit :path
49 49
    *
50 50
    * @throws UnsupportedDriverActionException
51
+   * @param string $path
51 52
    */
52 53
   public function assertAtPath($path) {
53 54
     $this->getSession()->visit($this->locatePath($path));
@@ -482,6 +483,7 @@  discard block
 block discarded – undo
482 483
 
483 484
   /**
484 485
    * @Then I should get a :code HTTP response
486
+   * @param string $code
485 487
    */
486 488
   public function assertHttpResponse($code) {
487 489
     // Use the Mink Extension step definition.
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
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,6 +184,7 @@  discard block
 block discarded – undo
184 184
   /**
185 185
    * Get active Drupal Driver.
186 186
    *
187
+   * @param string $name
187 188
    * @return \Drupal\Driver\DrupalDriver
188 189
    */
189 190
   public function getDriver($name = NULL) {
@@ -308,7 +309,7 @@  discard block
 block discarded – undo
308 309
   /**
309 310
    * Dispatch scope hooks.
310 311
    *
311
-   * @param string $scope
312
+   * @param string $scopeType
312 313
    *   The entity scope to dispatch.
313 314
    * @param \stdClass $entity
314 315
    *   The entity.
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,20 +3,14 @@
 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
-
9 7
 use Drupal\DrupalDriverManager;
10 8
 use Drupal\DrupalExtension\DrupalParametersTrait;
11 9
 use Drupal\DrupalExtension\Manager\DrupalAuthenticationManagerInterface;
12 10
 use Drupal\DrupalExtension\Manager\DrupalUserManagerInterface;
13
-
14
-use Drupal\DrupalExtension\Hook\Scope\AfterLanguageEnableScope;
15 11
 use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope;
16 12
 use Drupal\DrupalExtension\Hook\Scope\AfterTermCreateScope;
17 13
 use Drupal\DrupalExtension\Hook\Scope\AfterUserCreateScope;
18
-use Drupal\DrupalExtension\Hook\Scope\BaseEntityScope;
19
-use Drupal\DrupalExtension\Hook\Scope\BeforeLanguageEnableScope;
20 14
 use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope;
21 15
 use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope;
22 16
 use Drupal\DrupalExtension\Hook\Scope\BeforeTermCreateScope;
Please login to merge, or discard this patch.