Completed
Push — master ( aca34a...575a3c )
by Evgeniy
06:28 queued 02:29
created
src/SmartGamma/Behat/PactExtension/Context/PactContext.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/SmartGamma/Behat/PactExtension/Context/PactContextInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,5 +8,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/SmartGamma/Behat/PactExtension/Infrastructure/Pact.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.