@@ -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; |
@@ -7,8 +7,8 @@ |
||
7 | 7 | use Behat\EnvironmentLoader; |
8 | 8 | use Behat\Testwork\ServiceContainer\Extension; |
9 | 9 | use Behat\Testwork\ServiceContainer\ExtensionManager; |
10 | -use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
11 | 10 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
11 | +use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class SoapExtension. |
@@ -67,8 +67,8 @@ |
||
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->errors)) { |
74 | 74 | throw new \RuntimeException(implode("\n", $this->errors)); |
@@ -55,7 +55,7 @@ |
||
55 | 55 | { |
56 | 56 | // Initialize SOAP manager with predefined values from configuration. |
57 | 57 | foreach (['options', 'namespaces'] as $param) { |
58 | - $method = 'set' . ucfirst($param); |
|
58 | + $method = 'set'.ucfirst($param); |
|
59 | 59 | |
60 | 60 | // Unset all options and namespaces and initialize them from config. |
61 | 61 | foreach ([null, $this->getSoapParameter($param)] as $value) { |