Completed
Push — fix-7774 ( 41fb6c )
by Kamil
20:48
created
src/Sylius/Bundle/AdminApiBundle/Form/Type/ProductType.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 buildForm(FormBuilderInterface $builder, array $options)
30 30
     {
31
-        $builder->addEventListener(FormEvents::PRE_SUBMIT , function (FormEvent $event) {
31
+        $builder->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) {
32 32
             $data = $event->getData();
33 33
 
34 34
             if (!array_key_exists('variantSelectionMethod', $data)) {
Please login to merge, or discard this patch.
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.