Completed
Push — travis-trusty ( 8b4f84...3e4c76 )
by Kamil
22:02
created
Bundle/AdminApiBundle/Controller/ShowAvailablePaymentMethodsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
      */
128 128
     private function getPaymentMethods(PaymentInterface $payment, $locale)
129 129
     {
130
-        $paymentMethods =  $this->paymentMethodResolver->getSupportedMethods($payment);
130
+        $paymentMethods = $this->paymentMethodResolver->getSupportedMethods($payment);
131 131
 
132 132
         $rawPaymentMethods = [];
133 133
 
Please login to merge, or discard this patch.
Bundle/AdminApiBundle/Controller/ShowAvailableShippingMethodsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      */
137 137
     private function getCalculatedShippingMethods(ShipmentInterface $shipment, $locale)
138 138
     {
139
-        $shippingMethods =  $this->shippingMethodsResolver->getSupportedMethods($shipment);
139
+        $shippingMethods = $this->shippingMethodsResolver->getSupportedMethods($shipment);
140 140
 
141 141
         $rawShippingMethods = [];
142 142
 
Please login to merge, or discard this patch.
Bundle/AdminApiBundle/DependencyInjection/SyliusAdminApiExtension.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.
tests/Controller/AdminUserApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
340 340
         $this->client->request('DELETE', $this->getAdminUserUrl($user['admin']), [], [], static::$authorizedHeaderWithContentType);
341 341
 
342 342
         $response = $this->client->getResponse();
343
-        $this->assertResponse($response, 'admin_user/deletion_fail_response',  Response::HTTP_UNPROCESSABLE_ENTITY);
343
+        $this->assertResponse($response, 'admin_user/deletion_fail_response', Response::HTTP_UNPROCESSABLE_ENTITY);
344 344
     }
345 345
 
346 346
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         return $this->createQueryBuilder('o')
44 44
             ->innerJoin('o.translations', 'translation', 'WITH', 'translation.locale = :locale')
45 45
             ->andWhere('translation.name LIKE :name')
46
-            ->setParameter('name', '%'.$phrase.'%')
46
+            ->setParameter('name', '%' . $phrase . '%')
47 47
             ->setParameter('locale', $locale)
48 48
             ->getQuery()
49 49
             ->getResult()
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductVariantRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
                 'translation.name LIKE :phrase',
146 146
                 'o.code LIKE :phrase'
147 147
             ))
148
-            ->setParameter('phrase', '%'.$phrase.'%')
148
+            ->setParameter('phrase', '%' . $phrase . '%')
149 149
             ->setParameter('locale', $locale)
150 150
             ->setParameter('productCode', $productCode)
151 151
             ->getQuery()
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     public function iSetItsPriceTo($price = null, $channelName = null)
158 158
     {
159
-        $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') :$channelName);
159
+        $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') : $channelName);
160 160
     }
161 161
 
162 162
     /**
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
      */
520 520
     public function theVariantWithCodeShouldNotHaveShippingRequired(ProductVariantInterface $productVariant)
521 521
     {
522
-        $this->updatePage->open(['productId' => $productVariant->getProduct()->getId(),'id' => $productVariant->getId()]);
522
+        $this->updatePage->open(['productId' => $productVariant->getProduct()->getId(), 'id' => $productVariant->getId()]);
523 523
 
524 524
         Assert::false($this->updatePage->isShippingRequired());
525 525
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Application/SyliusPluginTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,6 +99,6 @@
 block discarded – undo
99 99
     {
100 100
         $basename = preg_replace('/Plugin$/', '', $this->getName());
101 101
 
102
-        return $this->getNamespace().'\\DependencyInjection\\'.$basename.'Extension';
102
+        return $this->getNamespace() . '\\DependencyInjection\\' . $basename . 'Extension';
103 103
     }
104 104
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/DependencyInjection/SyliusAdminExtension.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
         $container->setParameter('sylius.admin.notification.enabled', $config['notifications']['enabled']);
33 33
         $container->setParameter('sylius.admin.notification.frequency', $config['notifications']['frequency']);
Please login to merge, or discard this patch.