| @@ -3,7 +3,6 @@ | ||
| 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 | /** | 
| @@ -48,6 +48,7 @@ discard block | ||
| 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 | ||
| 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. | 
| @@ -1,10 +1,7 @@ | ||
| 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. | 
| @@ -184,6 +184,7 @@ discard block | ||
| 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 | ||
| 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. | 
| @@ -3,21 +3,15 @@ | ||
| 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; |