Completed
Push — assert-overflow ( a042f4...0688b3 )
by Kamil
54:47 queued 34:38
created
src/Sylius/Behat/Context/Ui/Shop/Checkout/CheckoutCompleteContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function iShouldSeeThisShippingAddressAsShippingAddress($fullName)
102 102
     {
103
-        $address = $this->sharedStorage->get('shipping_address_'.StringInflector::nameToLowercaseCode($fullName));
103
+        $address = $this->sharedStorage->get('shipping_address_' . StringInflector::nameToLowercaseCode($fullName));
104 104
 
105 105
         Assert::true($this->completePage->hasShippingAddress($address));
106 106
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function iShouldSeeThisBillingAddressAsBillingAddress($fullName)
112 112
     {
113
-        $address = $this->sharedStorage->get('billing_address_'.StringInflector::nameToLowercaseCode($fullName));
113
+        $address = $this->sharedStorage->get('billing_address_' . StringInflector::nameToLowercaseCode($fullName));
114 114
 
115 115
         Assert::true($this->completePage->hasBillingAddress($address));
116 116
     }
Please login to merge, or discard this patch.
Sylius/Bundle/ApiBundle/Fixture/Factory/ApiAccessTokenExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ApiBundle\Fixture\Factory;
13 13
 
14
-use FOS\OAuthServerBundle\Model\ClientManagerInterface;
15 14
 use Sylius\Bundle\ApiBundle\Model\AccessTokenInterface;
16 15
 use Sylius\Bundle\ApiBundle\Model\ClientInterface;
17 16
 use Sylius\Bundle\ApiBundle\Model\UserInterface;
Please login to merge, or discard this patch.
tests/Controller/LocaleApiTest.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
72 72
         $locales = $this->loadFixturesFromFile('resources/locales.yml');
73 73
 
74
-        $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithAccept);
74
+        $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithAccept);
75 75
 
76 76
         $response = $this->client->getResponse();
77 77
         $this->assertResponse($response, 'locale/show_response', Response::HTTP_OK);
@@ -156,12 +156,12 @@  discard block
 block discarded – undo
156 156
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
157 157
         $locales = $this->loadFixturesFromFile('resources/locales.yml');
158 158
 
159
-        $this->client->request('DELETE', '/api/v1/locales/'.$locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithContentType, []);
159
+        $this->client->request('DELETE', '/api/v1/locales/' . $locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithContentType, []);
160 160
 
161 161
         $response = $this->client->getResponse();
162 162
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
163 163
 
164
-        $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en_US']->getId(), [], [], static::$authorizedHeaderWithAccept);
164
+        $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en_US']->getId(), [], [], static::$authorizedHeaderWithAccept);
165 165
 
166 166
         $response = $this->client->getResponse();
167 167
         $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND);
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         {
103 103
             "code": "es_ES"
104 104
         }
105
-EOT;
105
+eot;
106 106
 
107 107
         $this->client->request('POST', '/api/v1/locales/', [], [], static::$authorizedHeaderWithContentType, $data);
108 108
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPageInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -36,20 +36,26 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param string $channelName
38 38
      * @param int $price
39
+     * @return void
39 40
      */
40 41
     public function specifyPrice($channelName, $price);
41 42
 
42 43
     /**
43 44
      * @param string $name
44 45
      * @param string $localeCode
46
+     * @return void
45 47
      */
46 48
     public function nameItIn($name, $localeCode);
47 49
 
50
+    /**
51
+     * @return void
52
+     */
48 53
     public function addSelectedAttributes();
49 54
 
50 55
     /**
51 56
      * @param string $attributeName
52 57
      * @param string $localeCode
58
+     * @return void
53 59
      */
54 60
     public function removeAttribute($attributeName, $localeCode);
55 61
 
@@ -82,11 +88,18 @@  discard block
 block discarded – undo
82 88
 
83 89
     /**
84 90
      * @param TaxonInterface $taxon
91
+     * @return void
85 92
      */
86 93
     public function selectMainTaxon(TaxonInterface $taxon);
87 94
 
95
+    /**
96
+     * @return void
97
+     */
88 98
     public function disableTracking();
89 99
 
100
+    /**
101
+     * @return void
102
+     */
90 103
     public function enableTracking();
91 104
 
92 105
     /**
@@ -96,6 +109,7 @@  discard block
 block discarded – undo
96 109
 
97 110
     /**
98 111
      * @param string $locale
112
+     * @return void
99 113
      */
100 114
     public function enableSlugModification($locale);
101 115
 
@@ -109,20 +123,26 @@  discard block
 block discarded – undo
109 123
     /**
110 124
      * @param string $path
111 125
      * @param string $code
126
+     * @return void
112 127
      */
113 128
     public function attachImage($path, $code = null);
114 129
 
115 130
     /**
116 131
      * @param string $code
117 132
      * @param string $path
133
+     * @return void
118 134
      */
119 135
     public function changeImageWithCode($code, $path);
120 136
 
121 137
     /**
122 138
      * @param string $code
139
+     * @return void
123 140
      */
124 141
     public function removeImageWithCode($code);
125 142
 
143
+    /**
144
+     * @return void
145
+     */
126 146
     public function removeFirstImage();
127 147
 
128 148
     /**
@@ -145,6 +165,7 @@  discard block
 block discarded – undo
145 165
     /**
146 166
      * @param ProductAssociationTypeInterface $productAssociationType
147 167
      * @param string[] $productsNames
168
+     * @return void
148 169
      */
149 170
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
150 171
 
@@ -159,6 +180,7 @@  discard block
 block discarded – undo
159 180
     /**
160 181
      * @param string $productName
161 182
      * @param ProductAssociationTypeInterface $productAssociationType
183
+     * @return void
162 184
      */
163 185
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
164 186
 
@@ -172,6 +194,7 @@  discard block
 block discarded – undo
172 194
 
173 195
     /**
174 196
      * @param string $locale
197
+     * @return void
175 198
      */
176 199
     public function activateLanguageTab($locale);
177 200
 
@@ -185,6 +208,7 @@  discard block
 block discarded – undo
185 208
     /**
186 209
      * @param string $slug
187 210
      * @param string $locale
211
+     * @return void
188 212
      */
189 213
     public function specifySlugIn($slug, $locale);
190 214
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/Checkout/CheckoutShippingContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,6 +196,6 @@
 block discarded – undo
196 196
      */
197 197
     public function iShouldBeCheckingOutAs($email)
198 198
     {
199
-        Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as '.$email.'.');
199
+        Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as ' . $email . '.');
200 200
     }
201 201
 }
Please login to merge, or discard this patch.