Completed
Push — symfony-3.3 ( 7e5783...b87070 )
by Kamil
20:59
created
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
                     count($this->commands),
77 77
                     $command['message']
78 78
                 ));
79
-                $this->commandExecutor->runCommand('sylius:install:'.$command['command'], [], $output);
79
+                $this->commandExecutor->runCommand('sylius:install:' . $command['command'], [], $output);
80 80
             } catch (RuntimeException $exception) {
81 81
                 $errored = true;
82 82
             }
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxonomyBundle/Doctrine/ORM/TaxonRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
             ->innerJoin('o.translations', 'translation')
121 121
             ->andWhere('translation.name LIKE :name')
122 122
             ->andWhere('translation.locale = :locale')
123
-            ->setParameter('name', '%'.$phrase.'%')
123
+            ->setParameter('name', '%' . $phrase . '%')
124 124
             ->setParameter('locale', $locale)
125 125
             ->getQuery()
126 126
             ->getResult()
Please login to merge, or discard this patch.
Tests/Functional/TestBundle/DependencyInjection/TestExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
29
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
30 30
         $loader->load('services.xml');
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/TemplatingTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $client = self::createClient();
30 30
 
31
-        $crawler = $client->request('GET', '/template/'.$templateName);
31
+        $crawler = $client->request('GET', '/template/' . $templateName);
32 32
         $this->assertEquals($contents, trim($crawler->text()));
33 33
     }
34 34
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $client = self::createClient();
58 58
 
59
-        $crawler = $client->request('GET', '/template/'.$templateName);
59
+        $crawler = $client->request('GET', '/template/' . $templateName);
60 60
         $this->assertEquals($contents, trim($crawler->text()));
61 61
     }
62 62
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         $client = self::createClient();
86 86
 
87
-        $crawler = $client->request('GET', '/template/'.$templateName);
87
+        $crawler = $client->request('GET', '/template/' . $templateName);
88 88
         $this->assertEquals($contents, trim($crawler->text()));
89 89
     }
90 90
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $client = self::createClient();
112 112
 
113
-        $crawler = $client->request('GET', '/template/'.$templateName);
113
+        $crawler = $client->request('GET', '/template/' . $templateName);
114 114
         $this->assertEquals($contents, trim($crawler->text()));
115 115
     }
116 116
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         parent::tearDown();
25 25
 
26
-        file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset'.PHP_EOL);
26
+        file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset' . PHP_EOL);
27 27
     }
28 28
 
29 29
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask);
60 60
 
61 61
         sleep(1);
62
-        file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified');
62
+        file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified');
63 63
         clearstatcache();
64 64
 
65 65
         $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask);
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
             list($expectedText, $assetFile) = explode(': ', $line);
113 113
 
114
-            $contents = file_get_contents($webDirectory.$assetFile);
114
+            $contents = file_get_contents($webDirectory . $assetFile);
115 115
 
116 116
             $this->assertEquals($expectedText, trim($contents));
117 117
         }
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.