Completed
Push — assert-overflow ( 0688b3...fbf83a )
by Kamil
66:00 queued 44:43
created
Bundle/InventoryBundle/DependencyInjection/SyliusInventoryExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function load(array $config, ContainerBuilder $container)
28 28
     {
29 29
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
30
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
31 31
 
32 32
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
33 33
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/test/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 use Doctrine\Common\Annotations\AnnotationRegistry;
13 13
 
14
-$loader = require __DIR__.'/../../vendor/autoload.php';
14
+$loader = require __DIR__ . '/../../vendor/autoload.php';
15 15
 
16
-require __DIR__.'/AppKernel.php';
16
+require __DIR__ . '/AppKernel.php';
17 17
 
18 18
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
19 19
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/test/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 use Doctrine\Common\Annotations\AnnotationRegistry;
13 13
 
14
-$loader = require __DIR__.'/../../vendor/autoload.php';
14
+$loader = require __DIR__ . '/../../vendor/autoload.php';
15 15
 
16
-require __DIR__.'/AppKernel.php';
16
+require __DIR__ . '/AppKernel.php';
17 17
 
18 18
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
19 19
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             $imageForm->fillField('Code', $code);
61 61
         }
62 62
 
63
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
63
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
64 64
     }
65 65
 
66 66
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             $imageForm->fillField('Code', $code);
76 76
         }
77 77
 
78
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
78
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
79 79
     }
80 80
 
81 81
     /**
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         $filesPath = $this->getParameter('files_path');
147 147
 
148 148
         $imageForm = $this->getImageElementByCode($code);
149
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
149
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
150 150
     }
151 151
 
152 152
     /**
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     private function getImageElementByCode($code)
300 300
     {
301 301
         $images = $this->getElement('images');
302
-        $inputCode = $images->find('css', 'input[value="'.$code.'"]');
302
+        $inputCode = $images->find('css', 'input[value="' . $code . '"]');
303 303
 
304 304
         if (null === $inputCode) {
305 305
             return null;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             $imageForm->fillField('Code', $code);
76 76
         }
77 77
 
78
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
78
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
79 79
     }
80 80
 
81 81
     /**
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         $filesPath = $this->getParameter('files_path');
147 147
 
148 148
         $imageForm = $this->getImageElementByCode($code);
149
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
149
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
150 150
     }
151 151
 
152 152
     /**
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     private function getImageElementByCode($code)
300 300
     {
301 301
         $images = $this->getElement('images');
302
-        $inputCode = $images->find('css', 'input[value="'.$code.'"]');
302
+        $inputCode = $images->find('css', 'input[value="' . $code . '"]');
303 303
 
304 304
         if (null === $inputCode) {
305 305
             return null;
Please login to merge, or discard this patch.
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.
tests/Controller/LocaleApiTest.php 1 patch
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.
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.