Completed
Push — fix-drush-endpoint-tests-again ( 57c5d0...130396 )
by Jonathan
02:00
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   +1 added lines patch added patch discarded remove patch
@@ -470,6 +470,7 @@
 block discarded – undo
470 470
 
471 471
   /**
472 472
    * @Then I should get a :code HTTP response
473
+   * @param string $code
473 474
    */
474 475
   public function assertHttpResponse($code) {
475 476
     // Use the Mink Extension step definition.
Please login to merge, or discard this patch.
src/Drupal/DrupalExtension/Context/RawDrupalContext.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,15 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Behat\MinkExtension\Context\RawMinkContext;
6 6
 use Behat\Testwork\Hook\HookDispatcher;
7
-
8 7
 use Drupal\DrupalDriverManager;
9
-
10
-use Drupal\DrupalExtension\Hook\Scope\AfterLanguageEnableScope;
11 8
 use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope;
12 9
 use Drupal\DrupalExtension\Hook\Scope\AfterTermCreateScope;
13 10
 use Drupal\DrupalExtension\Hook\Scope\AfterUserCreateScope;
14
-use Drupal\DrupalExtension\Hook\Scope\BaseEntityScope;
15
-use Drupal\DrupalExtension\Hook\Scope\BeforeLanguageEnableScope;
16 11
 use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope;
17 12
 use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope;
18 13
 use Drupal\DrupalExtension\Hook\Scope\BeforeTermCreateScope;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -3 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])) {
@@ -162,6 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
   /**
164 164
    * Get active Drupal Driver.
165
+   * @param string $name
165 166
    */
166 167
   public function getDriver($name = NULL) {
167 168
     return $this->getDrupal()->getDriver($name);
@@ -282,9 +283,9 @@  discard block
 block discarded – undo
282 283
   /**
283 284
    * Dispatch scope hooks.
284 285
    *
285
-   * @param string $scope
286
+   * @param string $scopeType
286 287
    *   The entity scope to dispatch.
287
-   * @param stdClass $entity
288
+   * @param \stdClass $entity
288 289
    *   The entity.
289 290
    */
290 291
   protected function dispatchHooks($scopeType, \stdClass $entity) {
Please login to merge, or discard this patch.