Completed
Push — 3.4 ( fe24dc )
by Jonathan
07:22
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/RawDrupalContext.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
    *   out' link text.
138 138
    * @throws \Exception
139 139
    * @return
140
-   */
140
+   string
141 141
   public function getDrupalText($name) {
142 142
     $text = $this->getDrupalParameter('text');
143 143
     if (!isset($text[$name])) {
@@ -163,6 +163,7 @@  discard block
 block discarded – undo
163 163
   /**
164 164
    * Get active Drupal Driver.
165 165
    *
166
+   * @param string $name
166 167
    * @return \Drupal\Driver\DrupalDriver
167 168
    */
168 169
   public function getDriver($name = NULL) {
@@ -284,7 +285,7 @@  discard block
 block discarded – undo
284 285
   /**
285 286
    * Dispatch scope hooks.
286 287
    *
287
-   * @param string $scope
288
+   * @param string $scopeType
288 289
    *   The entity scope to dispatch.
289 290
    * @param \stdClass $entity
290 291
    *   The entity.
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -5,16 +5,11 @@
 block discarded – undo
5 5
 use Behat\MinkExtension\Context\RawMinkContext;
6 6
 use Behat\Mink\Exception\DriverException;
7 7
 use Behat\Testwork\Hook\HookDispatcher;
8
-
9 8
 use Drupal\DrupalDriverManager;
10 9
 use Drupal\DrupalUserManagerInterface;
11
-
12
-use Drupal\DrupalExtension\Hook\Scope\AfterLanguageEnableScope;
13 10
 use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope;
14 11
 use Drupal\DrupalExtension\Hook\Scope\AfterTermCreateScope;
15 12
 use Drupal\DrupalExtension\Hook\Scope\AfterUserCreateScope;
16
-use Drupal\DrupalExtension\Hook\Scope\BaseEntityScope;
17
-use Drupal\DrupalExtension\Hook\Scope\BeforeLanguageEnableScope;
18 13
 use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope;
19 14
 use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope;
20 15
 use Drupal\DrupalExtension\Hook\Scope\BeforeTermCreateScope;
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.