@@ -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 | /** |
@@ -72,8 +72,7 @@ |
||
| 72 | 72 | try { |
| 73 | 73 | $this->response = $client->__soapCall($function, $arguments); |
| 74 | 74 | $this->rawResponse = $client->__getLastResponse(); |
| 75 | - } |
|
| 76 | - catch (\SoapFault $e) { |
|
| 75 | + } catch (\SoapFault $e) { |
|
| 77 | 76 | $this->exception = $e; |
| 78 | 77 | } |
| 79 | 78 | } |
@@ -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. |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | */ |
| 5 | 5 | namespace Behat\SoapExtension\Context; |
| 6 | 6 | |
| 7 | -use Symfony\Component\Yaml\Yaml; |
|
| 8 | -use Behat\Gherkin\Node\TableNode; |
|
| 9 | 7 | use Behat\Gherkin\Node\PyStringNode; |
| 8 | +use Behat\Gherkin\Node\TableNode; |
|
| 10 | 9 | use PHPUnit_Framework_Assert as Assertions; |
| 10 | +use Symfony\Component\Yaml\Yaml; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Class SoapContext. |
@@ -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 | /** |