@@ -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 | /** |
@@ -9,10 +9,8 @@ |
||
9 | 9 | use Behat\Testwork\Environment\Environment; |
10 | 10 | use Behat\Testwork\Environment\Exception\EnvironmentReadException; |
11 | 11 | use Behat\Testwork\Environment\Reader\EnvironmentReader; |
12 | - |
|
13 | 12 | use Drupal\DrupalDriverManager; |
14 | 13 | use Drupal\Driver\SubDriverFinderInterface; |
15 | - |
|
16 | 14 | use Drupal\DrupalExtension\Context\DrupalSubContextInterface; |
17 | 15 | use RecursiveDirectoryIterator; |
18 | 16 | use RecursiveIteratorIterator; |
@@ -5,18 +5,13 @@ |
||
5 | 5 | use Behat\MinkExtension\Context\RawMinkContext; |
6 | 6 | use Behat\Testwork\Hook\HookDispatcher; |
7 | 7 | use Behat\Behat\Context\Environment\InitializedContextEnvironment; |
8 | - |
|
9 | 8 | use Drupal\DrupalDriverManagerInterface; |
10 | 9 | use Drupal\DrupalExtension\DrupalParametersTrait; |
11 | 10 | use Drupal\DrupalExtension\Manager\DrupalAuthenticationManagerInterface; |
12 | 11 | use Drupal\DrupalExtension\Manager\DrupalUserManagerInterface; |
13 | - |
|
14 | -use Drupal\DrupalExtension\Hook\Scope\AfterLanguageEnableScope; |
|
15 | 12 | use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope; |
16 | 13 | use Drupal\DrupalExtension\Hook\Scope\AfterTermCreateScope; |
17 | 14 | use Drupal\DrupalExtension\Hook\Scope\AfterUserCreateScope; |
18 | -use Drupal\DrupalExtension\Hook\Scope\BaseEntityScope; |
|
19 | -use Drupal\DrupalExtension\Hook\Scope\BeforeLanguageEnableScope; |
|
20 | 15 | use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope; |
21 | 16 | use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope; |
22 | 17 | use Drupal\DrupalExtension\Hook\Scope\BeforeTermCreateScope; |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Behat\Behat\EventDispatcher\Event\ExampleTested; |
6 | 6 | use Behat\Behat\EventDispatcher\Event\ScenarioLikeTested; |
7 | 7 | use Behat\Behat\EventDispatcher\Event\ScenarioTested; |
8 | - |
|
9 | 8 | use Behat\Testwork\EventDispatcher\Event\LifecycleEvent; |
10 | 9 | use Drupal\DrupalDriverManager; |
11 | - |
|
12 | 10 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
13 | 11 | |
14 | 12 | /** |