@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use SmartGamma\Behat\PactExtension\Infrastructure\Interaction\InteractionRequestDTO; |
| 16 | 16 | use SmartGamma\Behat\PactExtension\Infrastructure\Interaction\InteractionResponseDTO; |
| 17 | 17 | use SmartGamma\Behat\PactExtension\Infrastructure\Pact; |
| 18 | -use Behat\Gherkin\Node\ArgumentInterface; |
|
| 19 | 18 | |
| 20 | 19 | class PactContext implements PactContextInterface |
| 21 | 20 | { |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | */ |
| 87 | 87 | public static function setupBehatStepName(ScenarioScope $step): void |
| 88 | 88 | { |
| 89 | - if($step->getScenario()->getTitle()) { |
|
| 89 | + if ($step->getScenario()->getTitle()) { |
|
| 90 | 90 | self::$providerState->setDefaultPlainTextState($step->getScenario()->getTitle()); |
| 91 | 91 | } |
| 92 | 92 | } |
@@ -8,5 +8,8 @@ |
||
| 8 | 8 | |
| 9 | 9 | interface PactContextInterface extends Context |
| 10 | 10 | { |
| 11 | + /** |
|
| 12 | + * @return void |
|
| 13 | + */ |
|
| 11 | 14 | public function initialize(Pact $pact, ProviderState $providerState, Authenticator $authenticator): void; |
| 12 | 15 | } |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use GuzzleHttp\Exception\ClientException; |
| 6 | 6 | use GuzzleHttp\Psr7\Uri; |
| 7 | 7 | use PhpPact\Broker\Service\BrokerHttpClient; |
| 8 | -use PhpPact\Consumer\InteractionBuilder; |
|
| 9 | 8 | use PhpPact\Http\GuzzleClient; |
| 10 | 9 | use PhpPact\Standalone\MockService\MockServerConfig; |
| 11 | 10 | use PhpPact\Standalone\MockService\MockServerEnvConfig; |