@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Annotations\Reader; |
15 | 15 | use Gorghoa\StepArgumentInjectorBehatExtension\Annotation\StepInjectorArgument; |
16 | -use Gorghoa\StepArgumentInjectorBehatExtension\Argument\StepArgumentHolder; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @author Vincent Chalamon <[email protected]> |
@@ -52,7 +52,7 @@ |
||
52 | 52 | return $arguments; |
53 | 53 | } |
54 | 54 | |
55 | - $paramsKeys = array_map(function (\ReflectionParameter $element) { |
|
55 | + $paramsKeys = array_map(function(\ReflectionParameter $element) { |
|
56 | 56 | return $element->getName(); |
57 | 57 | }, $function->getParameters()); |
58 | 58 |
@@ -12,25 +12,14 @@ |
||
12 | 12 | namespace Gorghoa\ScenarioStateBehatExtension\ServiceContainer; |
13 | 13 | |
14 | 14 | use Behat\Behat\Context\ServiceContainer\ContextExtension; |
15 | -use Behat\Behat\Tester\ServiceContainer\TesterExtension; |
|
16 | -use Behat\Testwork\Argument\ServiceContainer\ArgumentExtension; |
|
17 | -use Behat\Testwork\Call\ServiceContainer\CallExtension; |
|
18 | 15 | use Behat\Testwork\EventDispatcher\ServiceContainer\EventDispatcherExtension; |
19 | -use Behat\Testwork\Hook\ServiceContainer\HookExtension; |
|
20 | 16 | use Behat\Testwork\ServiceContainer\Extension as ExtensionInterface; |
21 | 17 | use Behat\Testwork\ServiceContainer\ExtensionManager; |
22 | -use Doctrine\Common\Annotations\AnnotationReader; |
|
23 | 18 | use Doctrine\Common\Annotations\AnnotationRegistry; |
24 | -use Gorghoa\ScenarioStateBehatExtension\Argument\ArgumentOrganiser; |
|
25 | -use Gorghoa\ScenarioStateBehatExtension\Call\Handler\RuntimeCallHandler; |
|
26 | 19 | use Gorghoa\ScenarioStateBehatExtension\Context\Initializer\ScenarioStateInitializer; |
27 | -use Gorghoa\ScenarioStateBehatExtension\Hook\Dispatcher\ScenarioStateHookDispatcher; |
|
28 | -use Gorghoa\ScenarioStateBehatExtension\Hook\Tester\ScenarioStateHookableScenarioTester; |
|
29 | -use Gorghoa\ScenarioStateBehatExtension\Resolver\ArgumentsResolver; |
|
30 | 20 | use Gorghoa\StepArgumentInjectorBehatExtension\ServiceContainer\StepArgumentInjectorExtension; |
31 | 21 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
32 | 22 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
33 | -use Symfony\Component\DependencyInjection\Reference; |
|
34 | 23 | |
35 | 24 | /** |
36 | 25 | * Behat store for Behat contexts. |
@@ -92,7 +92,7 @@ |
||
92 | 92 | ->addMethodCall('addGlobalIgnoredName', ['AfterSuite']); |
93 | 93 | |
94 | 94 | |
95 | - $taggedServices = array_map(function ($serviceId) { |
|
95 | + $taggedServices = array_map(function($serviceId) { |
|
96 | 96 | return new Reference($serviceId); |
97 | 97 | }, array_keys($container->findTaggedServiceIds(self::STEP_ARGUMENT_INJECTOR_HOOK_TAG_ID))); |
98 | 98 |