@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Sergii Bondarenko, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Sergii Bondarenko, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Utils; |
6 | 6 | |
7 | 7 | /** |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Sergii Bondarenko, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Sergii Bondarenko, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Utils; |
6 | 6 | |
7 | 7 | /** |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Sergii Bondarenko, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Sergii Bondarenko, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Utils; |
6 | 6 | |
7 | 7 | /** |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexei Gorobet, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Alexei Gorobet, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Context; |
6 | 6 | |
7 | 7 | use Symfony\Component\Yaml\Yaml; |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Sergii Bondarenko, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Sergii Bondarenko, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Utils; |
6 | 6 | |
7 | 7 | /** |
@@ -4,12 +4,12 @@ |
||
4 | 4 | */ |
5 | 5 | namespace Behat\SoapExtension\Context; |
6 | 6 | |
7 | +use Behat\Behat\Context\Environment\ContextEnvironment; |
|
8 | +use Behat\Behat\Context\Environment\UninitializedContextEnvironment; |
|
9 | +use Behat\Behat\Context\Reader\ContextReader; |
|
7 | 10 | use Behat\Testwork\Call\Callee; |
8 | 11 | use Behat\Testwork\Environment\Environment; |
9 | 12 | use Behat\Testwork\Environment\Reader\EnvironmentReader; |
10 | -use Behat\Behat\Context\Reader\ContextReader; |
|
11 | -use Behat\Behat\Context\Environment\ContextEnvironment; |
|
12 | -use Behat\Behat\Context\Environment\UninitializedContextEnvironment; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * Class SoapContextReader. |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexei Gorobet, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Alexei Gorobet, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\ServiceContainer; |
6 | 6 | |
7 | 7 | use Behat\Testwork\ServiceContainer\Extension; |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | public function process(ContainerBuilder $container) |
71 | 71 | { |
72 | 72 | $this->setDefinition($container, 'SoapContextReader', EnvironmentExtension::READER_TAG . '.context', [ |
73 | - $this->processor->findAndSortTaggedServices($container, ContextExtension::READER_TAG), |
|
73 | + $this->processor->findAndSortTaggedServices($container, ContextExtension::READER_TAG), |
|
74 | 74 | ]); |
75 | 75 | } |
76 | 76 |
@@ -4,14 +4,14 @@ |
||
4 | 4 | */ |
5 | 5 | namespace Behat\SoapExtension\ServiceContainer; |
6 | 6 | |
7 | +use Behat\Behat\Context\ServiceContainer\ContextExtension; |
|
8 | +use Behat\Testwork\Environment\ServiceContainer\EnvironmentExtension; |
|
7 | 9 | use Behat\Testwork\ServiceContainer\Extension; |
8 | 10 | use Behat\Testwork\ServiceContainer\ExtensionManager; |
9 | 11 | use Behat\Testwork\ServiceContainer\ServiceProcessor; |
10 | -use Symfony\Component\DependencyInjection\Definition; |
|
11 | -use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
12 | 12 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
13 | -use Behat\Behat\Context\ServiceContainer\ContextExtension; |
|
14 | -use Behat\Testwork\Environment\ServiceContainer\EnvironmentExtension; |
|
13 | +use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
14 | +use Symfony\Component\DependencyInjection\Definition; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Class SoapExtension. |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Sergii Bondarenko, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Sergii Bondarenko, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Utils; |
6 | 6 | |
7 | 7 | /** |
@@ -4,12 +4,12 @@ |
||
4 | 4 | */ |
5 | 5 | namespace Behat\SoapExtension\Context; |
6 | 6 | |
7 | -use Symfony\Component\Yaml\Yaml; |
|
8 | 7 | use PHPUnit_Framework_Assert as Assertions; |
8 | +use Symfony\Component\Yaml\Yaml; |
|
9 | 9 | |
10 | 10 | // Argument processors. |
11 | -use Behat\Gherkin\Node\TableNode; |
|
12 | 11 | use Behat\Gherkin\Node\PyStringNode; |
12 | +use Behat\Gherkin\Node\TableNode; |
|
13 | 13 | |
14 | 14 | // Utils. |
15 | 15 | use Behat\SoapExtension\Utils\SoapFaultProcessor; |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Sergii Bondarenko, <[email protected]> |
|
4 | - */ |
|
3 | + * @author Sergii Bondarenko, <[email protected]> |
|
4 | + */ |
|
5 | 5 | namespace Behat\SoapExtension\Utils; |
6 | 6 | |
7 | 7 | /** |
@@ -67,8 +67,8 @@ discard block |
||
67 | 67 | public function __destruct() |
68 | 68 | { |
69 | 69 | $this->processCode() |
70 | - ->processMessage() |
|
71 | - ->processCondition(); |
|
70 | + ->processMessage() |
|
71 | + ->processCondition(); |
|
72 | 72 | |
73 | 73 | if (!empty($this->messages)) { |
74 | 74 | throw new \RuntimeException(implode("\n", $this->messages)); |