Completed
Push — api ( cecea0...116a36 )
by Kamil
29:57 queued 30s
created
spec/Applicator/ProductReviewStateMachineTransitionApplicatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@
 block discarded – undo
21 21
 
22 22
 final class ProductReviewStateMachineTransitionApplicatorSpec extends ObjectBehavior
23 23
 {
24
-    function let(StateMachineFactoryInterface $stateMachineFactory) {
24
+    function let(StateMachineFactoryInterface $stateMachineFactory)
25
+    {
25 26
         $this->beConstructedWith($stateMachineFactory);
26 27
     }
27 28
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingProductReviewsContext.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -162,11 +162,11 @@
 block discarded – undo
162 162
      */
163 163
     public function thisProductReviewShouldNoLongerExistInTheRegistry(): void
164 164
     {
165
-       $id = (string) $this->sharedStorage->get('product_review_id');
166
-       Assert::false(
167
-           $this->isItemOnIndex('id', $id),
168
-           sprintf('Product review with id %s exist', $id)
169
-       );
165
+        $id = (string) $this->sharedStorage->get('product_review_id');
166
+        Assert::false(
167
+            $this->isItemOnIndex('id', $id),
168
+            sprintf('Product review with id %s exist', $id)
169
+        );
170 170
     }
171 171
 
172 172
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingExchangeRatesContext.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -316,8 +316,7 @@
 block discarded – undo
316 316
         $this->client->index('exchange_rates');
317 317
 
318 318
         /** @var array $item */
319
-        foreach ($this->client->getCollectionItems() as $item)
320
-        {
319
+        foreach ($this->client->getCollectionItems() as $item) {
321 320
             if (
322 321
                 $item['sourceCurrency'] === '/new-api/currencies/' . $sourceCurrency->getCode() &&
323 322
                 $item['targetCurrency'] === '/new-api/currencies/' . $targetCurrency->getCode()
Please login to merge, or discard this patch.