@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Compiler; |
4 | 4 | |
5 | -use Symfony\Component\DependencyInjection\ContainerBuilder, |
|
6 | - Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
5 | +use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
6 | +use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Loads SilverStripe core. Required to initialize autoloading. |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Compiler; |
4 | 4 | |
5 | -use Symfony\Component\DependencyInjection\ContainerBuilder, |
|
6 | - Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
5 | +use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
6 | +use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Behat\SilverStripe container compilation pass. |
@@ -2,13 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Console\Processor; |
4 | 4 | |
5 | -use Symfony\Component\DependencyInjection\ContainerInterface, |
|
6 | - Symfony\Component\Console\Command\Command, |
|
7 | - Symfony\Component\Console\Input\InputArgument, |
|
8 | - Symfony\Component\Console\Input\InputInterface, |
|
9 | - Symfony\Component\Console\Output\OutputInterface, |
|
10 | - Symfony\Component\Console\Input\InputOption; |
|
11 | - |
|
5 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
6 | +use Symfony\Component\Console\Command\Command; |
|
7 | +use Symfony\Component\Console\Input\InputInterface; |
|
8 | +use Symfony\Component\Console\Output\OutputInterface; |
|
9 | +use Symfony\Component\Console\Input\InputOption; |
|
12 | 10 | use Behat\Behat\Console\Processor\InitProcessor as BaseProcessor; |
13 | 11 | |
14 | 12 | /** |
@@ -2,12 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Console\Processor; |
4 | 4 | |
5 | -use Symfony\Component\DependencyInjection\ContainerInterface, |
|
6 | - Symfony\Component\Console\Command\Command, |
|
7 | - Symfony\Component\Console\Input\InputArgument, |
|
8 | - Symfony\Component\Console\Input\InputInterface, |
|
9 | - Symfony\Component\Console\Output\OutputInterface; |
|
10 | - |
|
5 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
6 | +use Symfony\Component\Console\Command\Command; |
|
7 | +use Symfony\Component\Console\Input\InputArgument; |
|
8 | +use Symfony\Component\Console\Input\InputInterface; |
|
9 | +use Symfony\Component\Console\Output\OutputInterface; |
|
11 | 10 | use Behat\Behat\Console\Processor\LocatorProcessor as BaseProcessor; |
12 | 11 | |
13 | 12 | /** |
@@ -2,19 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Context; |
4 | 4 | |
5 | -use Behat\Behat\Context\ClosuredContextInterface, |
|
6 | - Behat\Behat\Context\TranslatedContextInterface, |
|
7 | - Behat\Behat\Context\BehatContext, |
|
8 | - Behat\Behat\Context\Step, |
|
9 | - Behat\Behat\Event\StepEvent, |
|
10 | - Behat\Behat\Event\ScenarioEvent, |
|
11 | - Behat\Behat\Exception\PendingException; |
|
12 | - |
|
5 | +use Behat\Behat\Context\BehatContext; |
|
6 | +use Behat\Behat\Context\Step; |
|
7 | +use Behat\Behat\Event\StepEvent; |
|
8 | +use Behat\Behat\Event\ScenarioEvent; |
|
13 | 9 | use Behat\Mink\Driver\Selenium2Driver; |
14 | 10 | |
15 | -use Behat\Gherkin\Node\PyStringNode, |
|
16 | - Behat\Gherkin\Node\TableNode; |
|
17 | - |
|
18 | 11 | // PHPUnit |
19 | 12 | require_once 'PHPUnit/Autoload.php'; |
20 | 13 | require_once 'PHPUnit/Framework/Assert/Functions.php'; |
@@ -2,15 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Context; |
4 | 4 | |
5 | -use Behat\Behat\Context\ClosuredContextInterface, |
|
6 | -Behat\Behat\Context\TranslatedContextInterface, |
|
7 | -Behat\Behat\Context\BehatContext, |
|
8 | -Behat\Behat\Context\Step, |
|
9 | -Behat\Behat\Event\FeatureEvent, |
|
10 | -Behat\Behat\Event\ScenarioEvent, |
|
11 | -Behat\Behat\Exception\PendingException; |
|
12 | -use Behat\Gherkin\Node\PyStringNode, |
|
13 | -Behat\Gherkin\Node\TableNode; |
|
5 | +use Behat\Behat\Context\BehatContext; |
|
6 | +use Behat\Behat\Context\Step; |
|
7 | +use Behat\Behat\Event\ScenarioEvent; |
|
8 | +use Behat\Gherkin\Node\TableNode; |
|
14 | 9 | use Symfony\Component\DomCrawler\Crawler; |
15 | 10 | |
16 | 11 | // PHPUnit |
@@ -2,17 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Context; |
4 | 4 | |
5 | -use Behat\Behat\Context\ClosuredContextInterface, |
|
6 | - Behat\Behat\Context\TranslatedContextInterface, |
|
7 | - Behat\Behat\Context\BehatContext, |
|
8 | - Behat\Behat\Context\Step, |
|
9 | - Behat\Behat\Event\StepEvent, |
|
10 | - Behat\Behat\Event\FeatureEvent, |
|
11 | - Behat\Behat\Event\ScenarioEvent, |
|
12 | - Behat\Behat\Exception\PendingException, |
|
13 | - Behat\Mink\Driver\Selenium2Driver, |
|
14 | - Behat\Gherkin\Node\PyStringNode, |
|
15 | - Behat\Gherkin\Node\TableNode; |
|
5 | +use Behat\Behat\Context\BehatContext; |
|
6 | +use Behat\Behat\Event\ScenarioEvent; |
|
7 | +use Behat\Gherkin\Node\PyStringNode; |
|
8 | +use Behat\Gherkin\Node\TableNode; |
|
16 | 9 | |
17 | 10 | // PHPUnit |
18 | 11 | require_once 'PHPUnit/Autoload.php'; |
@@ -2,9 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Context\Initializer; |
4 | 4 | |
5 | -use Behat\Behat\Context\Initializer\InitializerInterface, |
|
6 | -Behat\Behat\Context\ContextInterface; |
|
7 | - |
|
5 | +use Behat\Behat\Context\Initializer\InitializerInterface; |
|
6 | +use Behat\Behat\Context\ContextInterface; |
|
8 | 7 | use SilverStripe\BehatExtension\Context\SilverStripeAwareContextInterface; |
9 | 8 | |
10 | 9 | /* |
@@ -2,13 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\BehatExtension\Context; |
4 | 4 | |
5 | -use Behat\Behat\Context\ClosuredContextInterface, |
|
6 | -Behat\Behat\Context\TranslatedContextInterface, |
|
7 | -Behat\Behat\Context\BehatContext, |
|
8 | -Behat\Behat\Context\Step, |
|
9 | -Behat\Behat\Exception\PendingException; |
|
10 | -use Behat\Gherkin\Node\PyStringNode, |
|
11 | -Behat\Gherkin\Node\TableNode; |
|
5 | +use Behat\Behat\Context\BehatContext; |
|
6 | +use Behat\Behat\Context\Step; |
|
12 | 7 | |
13 | 8 | // PHPUnit |
14 | 9 | require_once 'PHPUnit/Autoload.php'; |