Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     ) {
64 64
         $this->channelFactory = $channelFactory;
65 65
         $this->localeRepository = $localeRepository;
66
-        $this->currencyRepository= $currencyRepository;
66
+        $this->currencyRepository = $currencyRepository;
67 67
 
68 68
         $this->faker = \Faker\Factory::create();
69 69
         $this->optionsResolver = new OptionsResolver();
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Updater/UnpaidOrdersStateUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
     public function cancel()
55 55
     {
56
-        $expiredUnpaidOrders = $this->orderRepository->findOrdersUnpaidSince(new \DateTime('-'.$this->expirationPeriod));
56
+        $expiredUnpaidOrders = $this->orderRepository->findOrdersUnpaidSince(new \DateTime('-' . $this->expirationPeriod));
57 57
         foreach ($expiredUnpaidOrders as $expiredUnpaidOrder) {
58 58
             $this->cancelOrder($expiredUnpaidOrder);
59 59
         }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/Order/ShowPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
         return
198 198
             (stripos($elementText, $customerName) !== false) &&
199 199
             (stripos($elementText, $street) !== false) &&
200
-            (stripos($elementText, $city.', '.$postcode) !== false) &&
200
+            (stripos($elementText, $city . ', ' . $postcode) !== false) &&
201 201
             (stripos($elementText, $countryName) !== false)
202 202
         ;
203 203
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxonomyBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Installer/Checker/CommandDirectoryChecker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     private function createUnexistingDirectoryMessage()
142 142
     {
143
-        return '<error>Cannot run command due to unexisting directory (tried to create it automatically, failed).</error>'.PHP_EOL;
143
+        return '<error>Cannot run command due to unexisting directory (tried to create it automatically, failed).</error>' . PHP_EOL;
144 144
     }
145 145
 
146 146
     /**
@@ -148,6 +148,6 @@  discard block
 block discarded – undo
148 148
      */
149 149
     private function createBadPermissionsMessage()
150 150
     {
151
-        return '<error>Cannot run command due to bad directory permissions (tried to change permissions to 0755).</error>'.PHP_EOL;
151
+        return '<error>Cannot run command due to bad directory permissions (tried to change permissions to 0755).</error>' . PHP_EOL;
152 152
     }
153 153
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EventListener/ShopUserLogoutHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function onLogoutSuccess(Request $request)
57 57
     {
58 58
         $channel = $this->channelContext->getChannel();
59
-        $this->session->remove('_sylius.cart.'.$channel->getCode());
59
+        $this->session->remove('_sylius.cart.' . $channel->getCode());
60 60
 
61 61
         return parent::onLogoutSuccess($request);
62 62
     }
Please login to merge, or discard this patch.
CoreBundle/spec/Form/EventSubscriber/ChannelPricingsFormSubscriberSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $productVariant->getChannelPricings()->willReturn(new ArrayCollection([
88 88
                 $channelPricingWithPrice->getWrappedObject(),
89 89
                 $channelPricingWithoutPrice->getWrappedObject(),
90
-        ]));;
90
+        ])); ;
91 91
         $channelPricingWithoutPrice->getPrice()->willReturn(null);
92 92
         $channelPricingWithPrice->getPrice()->willReturn(123);
93 93
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.