Completed
Push — master ( 5059eb...2d98cc )
by Jonathan
13s
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/RawMailContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@  discard block
 block discarded – undo
83 83
   /**
84 84
    * Get the number of mails received in a particular mail store.
85 85
    *
86
+   * @param string $store
86 87
    * @return int
87 88
    *   The number of mails received during this scenario.
88 89
    */
@@ -122,7 +123,7 @@  discard block
 block discarded – undo
122 123
   /**
123 124
    * Compare actual mail with expected mail.
124 125
    *
125
-   * @param array $actualMail
126
+   * @param \stdClass[] $actualMail
126 127
    *   An array of actual mail.
127 128
    * @param array $expectedMail
128 129
    *   An array of expected mail.
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   +3 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
     {
@@ -126,6 +127,7 @@  discard block
 block discarded – undo
126 127
    * @see \Drupal\FunctionalJavascriptTests\JSWebAssert::assertWaitOnAjaxRequest()
127 128
    *
128 129
    * @Given I wait for AJAX to finish
130
+   * @param \Behat\Behat\Hook\Scope\BeforeStepScope $event
129 131
    */
130 132
     public function iWaitForAjaxToFinish($event = null)
131 133
     {
@@ -546,6 +548,7 @@  discard block
 block discarded – undo
546 548
 
547 549
   /**
548 550
    * @Then I should get a :code HTTP response
551
+   * @param string $code
549 552
    */
550 553
     public function assertHttpResponse($code)
551 554
     {
Please login to merge, or discard this patch.