Completed
Push — currency-cookie ( 14f9d4...b413e0 )
by Kamil
36:00 queued 17:42
created
Resource/spec/Translation/TranslatableEntityLocaleAssignerSpec.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
     function it_should_assign_current_and_default_locale_to_given_translatable_entity(
41 41
         TranslationLocaleProviderInterface $translationLocaleProvider,
42 42
         TranslatableInterface $translatableEntity
43
-    )
44
-    {
43
+    ) {
45 44
         $translationLocaleProvider->getDefaultLocaleCode()->willReturn('en_US');
46 45
 
47 46
         $translatableEntity->setCurrentLocale('en_US')->shouldBeCalled();
Please login to merge, or discard this patch.
Component/Core/spec/Translation/TranslatableEntityLocaleAssignerSpec.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@  discard block
 block discarded – undo
43 43
         LocaleContextInterface $localeContext,
44 44
         TranslationLocaleProviderInterface $translationLocaleProvider,
45 45
         TranslatableInterface $translatableEntity
46
-    )
47
-    {
46
+    ) {
48 47
         $localeContext->getLocaleCode()->willReturn('de_DE');
49 48
         $translationLocaleProvider->getDefaultLocaleCode()->willReturn('en_US');
50 49
 
@@ -58,8 +57,7 @@  discard block
 block discarded – undo
58 57
         LocaleContextInterface $localeContext,
59 58
         TranslationLocaleProviderInterface $translationLocaleProvider,
60 59
         TranslatableInterface $translatableEntity
61
-    )
62
-    {
60
+    ) {
63 61
         $localeContext->getLocaleCode()->willThrow(new LocaleNotFoundException());
64 62
         $translationLocaleProvider->getDefaultLocaleCode()->willReturn('en_US');
65 63
 
Please login to merge, or discard this patch.
tests/Controller/ProductApiTest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
     /**
281 281
      * @test
282 282
      */
283
-    public function it_allows_creating_product_with_main_taxon() 
283
+    public function it_allows_creating_product_with_main_taxon()
284 284
     {
285 285
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
286 286
         $this->loadFixturesFromFile('resources/taxons.yml');
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Storage/CookieStorage.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
         }
74 74
 
75 75
         $response = $event->getResponse();
76
-        foreach ($this->responseCookies as $name => $value)
77
-        {
76
+        foreach ($this->responseCookies as $name => $value) {
78 77
             $response->headers->setCookie(new Cookie($name, $value));
79 78
         }
80 79
 
Please login to merge, or discard this patch.