Completed
Push — 1.0-coding-standard ( 22328c )
by Kamil
98:35 queued 69:17
created
src/Sylius/Bundle/AttributeBundle/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/MailerBundle/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/PaymentBundle/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/TaxationBundle/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/GridBundle/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/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/Behat/Context/Ui/Shop/CheckoutContext.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -130,6 +130,8 @@
 block discarded – undo
130 130
     /**
131 131
      * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment
132 132
      * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment
133
+     * @param string $shippingMethodName
134
+     * @param string $paymentMethodName
133 135
      */
134 136
     public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName)
135 137
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Ui\Shop;
15 15
 
Please login to merge, or discard this patch.
tests/Controller/LocaleApiTest.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Tests\Controller;
15 15
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
74 74
         $locales = $this->loadFixturesFromFile('resources/locales.yml');
75 75
 
76
-        $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithAccept);
76
+        $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithAccept);
77 77
 
78 78
         $response = $this->client->getResponse();
79 79
         $this->assertResponse($response, 'locale/show_response', Response::HTTP_OK);
@@ -158,12 +158,12 @@  discard block
 block discarded – undo
158 158
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
159 159
         $locales = $this->loadFixturesFromFile('resources/locales.yml');
160 160
 
161
-        $this->client->request('DELETE', '/api/v1/locales/'.$locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithContentType, []);
161
+        $this->client->request('DELETE', '/api/v1/locales/' . $locales['locale_en_US']->getCode(), [], [], static::$authorizedHeaderWithContentType, []);
162 162
 
163 163
         $response = $this->client->getResponse();
164 164
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
165 165
 
166
-        $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en_US']->getId(), [], [], static::$authorizedHeaderWithAccept);
166
+        $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en_US']->getId(), [], [], static::$authorizedHeaderWithAccept);
167 167
 
168 168
         $response = $this->client->getResponse();
169 169
         $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/ProductContext.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Behat\Context\Context;
15 15
 use Behat\Mink\Element\NodeElement;
16
+use Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
16 17
 use Sylius\Behat\Page\Shop\Product\IndexPageInterface;
17 18
 use Sylius\Behat\Page\Shop\Product\ShowPageInterface;
18
-use Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
19 19
 use Sylius\Component\Core\Model\ProductInterface;
20 20
 use Sylius\Component\Core\Model\TaxonInterface;
21 21
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Ui\Shop;
15 15
 
Please login to merge, or discard this patch.