Completed
Push — symfony-3.3 ( dce4db...b2ae2b )
by Kamil
37:19 queued 16:26
created
tests/Controller/CheckoutApiTestCase.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             "channel": "CHANNEL",
48 48
             "localeCode": "en_US"
49 49
         }
50
-EOT;
50
+eot;
51 51
 
52 52
         $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data);
53 53
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             "variant": "MUG_SW",
72 72
             "quantity": 1
73 73
         }
74
-EOT;
74
+eot;
75 75
 
76 76
         $this->client->request('POST', $url, [], [], static::$authorizedHeaderWithContentType, $data);
77 77
         $this->assertResponseCode($this->client->getResponse(), Response::HTTP_CREATED);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             },
106 106
             "differentBillingAddress": true
107 107
         }
108
-EOT;
108
+eot;
109 109
 
110 110
         $url = sprintf('/api/v1/checkouts/addressing/%d', $cartId);
111 111
         $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data);
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 }
134 134
             ]
135 135
         }
136
-EOT;
136
+eot;
137 137
 
138 138
         $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data);
139 139
         $this->assertResponseCode($this->client->getResponse(), Response::HTTP_NO_CONTENT);
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                 }
161 161
             ]
162 162
         }
163
-EOT;
163
+eot;
164 164
 
165 165
         $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data);
166 166
         $this->assertResponseCode($this->client->getResponse(), Response::HTTP_NO_CONTENT);
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterPromotionActionsPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $promotionActionTypeToLabelMap = [];
36 36
         foreach ($container->findTaggedServiceIds('sylius.promotion_action') as $id => $attributes) {
37 37
             if (!isset($attributes[0]['type'], $attributes[0]['label'], $attributes[0]['form_type'])) {
38
-                throw new \InvalidArgumentException('Tagged promotion action `'.$id.'` needs to have `type`, `form_type` and `label` attributes.');
38
+                throw new \InvalidArgumentException('Tagged promotion action `' . $id . '` needs to have `type`, `form_type` and `label` attributes.');
39 39
             }
40 40
 
41 41
             $promotionActionTypeToLabelMap[$attributes[0]['type']] = $attributes[0]['label'];
Please login to merge, or discard this patch.
PromotionBundle/DependencyInjection/Compiler/RegisterRuleCheckersPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $promotionRuleCheckerTypeToLabelMap = [];
36 36
         foreach ($container->findTaggedServiceIds('sylius.promotion_rule_checker') as $id => $attributes) {
37 37
             if (!isset($attributes[0]['type'], $attributes[0]['label'], $attributes[0]['form_type'])) {
38
-                throw new \InvalidArgumentException('Tagged rule checker `'.$id.'` needs to have `type`, `form_type` and `label` attributes.');
38
+                throw new \InvalidArgumentException('Tagged rule checker `' . $id . '` needs to have `type`, `form_type` and `label` attributes.');
39 39
             }
40 40
 
41 41
             $promotionRuleCheckerTypeToLabelMap[$attributes[0]['type']] = $attributes[0]['label'];
Please login to merge, or discard this patch.