Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
src/Sylius/Bundle/ResourceBundle/Command/DebugResourceCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,11 +133,11 @@
 block discarded – undo
133 133
     {
134 134
         foreach ($parameters as $key => $value) {
135 135
             if (is_array($value)) {
136
-                $flattened = $this->flattenParameters($value, $flattened, $prefix.$key.'.');
136
+                $flattened = $this->flattenParameters($value, $flattened, $prefix . $key . '.');
137 137
                 continue;
138 138
             }
139 139
 
140
-            $flattened[$prefix.$key] = $value;
140
+            $flattened[$prefix . $key] = $value;
141 141
         }
142 142
 
143 143
         return $flattened;
Please login to merge, or discard this patch.
Bundle/CustomerBundle/DependencyInjection/SyliusCustomerExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
tests/Controller/ChannelApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
41 41
         $channelData = $this->loadFixturesFromFile('resources/channels.yml');
42 42
 
43
-        $this->client->request('GET', '/api/channels/'.$channelData['channel-web']->getId(), [], [], static::$authorizedHeaderWithContentType);
43
+        $this->client->request('GET', '/api/channels/' . $channelData['channel-web']->getId(), [], [], static::$authorizedHeaderWithContentType);
44 44
 
45 45
         $response = $this->client->getResponse();
46 46
         $this->assertResponse($response, 'channel/show_response', Response::HTTP_OK);
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/UpdatePage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $imageForm = $this->getLastImageElement();
154 154
         $imageForm->fillField('Code', $code);
155
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
155
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
156 156
     }
157 157
 
158 158
     /**
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         $filesPath = $this->getParameter('files_path');
164 164
 
165 165
         $imageForm = $this->getImageElementByCode($code);
166
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
166
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
167 167
     }
168 168
 
169 169
     /**
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     private function getImageElementByCode($code)
262 262
     {
263 263
         $images = $this->getElement('images');
264
-        $inputCode = $images->find('css', 'input[value="'.$code.'"]');
264
+        $inputCode = $images->find('css', 'input[value="' . $code . '"]');
265 265
 
266 266
         if (null === $inputCode) {
267 267
             return null;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $imageForm = $this->getLastImageElement();
56 56
         $imageForm->fillField('Code', $code);
57
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
57
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
58 58
     }
59 59
 
60 60
     /**
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
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $imageForm = $this->getLastImageElement();
154 154
         $imageForm->fillField('Code', $code);
155
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
155
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
156 156
     }
157 157
 
158 158
     /**
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         $filesPath = $this->getParameter('files_path');
164 164
 
165 165
         $imageForm = $this->getImageElementByCode($code);
166
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
166
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
167 167
     }
168 168
 
169 169
     /**
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     private function getImageElementByCode($code)
262 262
     {
263 263
         $images = $this->getElement('images');
264
-        $inputCode = $images->find('css', 'input[value="'.$code.'"]');
264
+        $inputCode = $images->find('css', 'input[value="' . $code . '"]');
265 265
 
266 266
         if (null === $inputCode) {
267 267
             return null;
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
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $imageForm = $this->getLastImageElement();
56 56
         $imageForm->fillField('Code', $code);
57
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
57
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductReviewContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     ) {
87 87
         $review = $this->createProductReview($product, $title, $rating, $title, $customer);
88 88
         if (null !== $daysSinceCreation) {
89
-            $review->setCreatedAt(new \DateTime('-'.$daysSinceCreation.' days'));
89
+            $review->setCreatedAt(new \DateTime('-' . $daysSinceCreation . ' days'));
90 90
         }
91 91
 
92 92
         $this->productReviewRepository->add($review);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     {
115 115
         $customer = $this->sharedStorage->get('customer');
116 116
         foreach ($rates as $key => $rate) {
117
-            $review = $this->createProductReview($product, 'Title '.$key, $rate, 'Comment '.$key, $customer);
117
+            $review = $this->createProductReview($product, 'Title ' . $key, $rate, 'Comment ' . $key, $customer);
118 118
             $this->productReviewRepository->add($review);
119 119
         }
120 120
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxonomyBundle/Form/Type/TaxonChoiceType.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
     {
61 61
         /** @var ChoiceView $choice */
62 62
         foreach ($view->vars['choices'] as $choice) {
63
-            $choice->label = str_repeat('— ', $choice->data->getLevel()).$choice->label;
63
+            $choice->label = str_repeat('— ', $choice->data->getLevel()) . $choice->label;
64 64
         }
65 65
     }
66 66
 
Please login to merge, or discard this patch.