Completed
Push — master ( f9a038...cc9983 )
by Kamil
22:34
created
src/Sylius/Behat/Page/Admin/Zone/CreatePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function chooseMember($name)
50 50
     {
51
-        $selectItems = $this->getDocument()->waitFor(2, function () {
51
+        $selectItems = $this->getDocument()->waitFor(2, function() {
52 52
             return $this->getDocument()->findAll('css', 'div[data-form-type="collection"] select');
53 53
         });
54 54
         $lastSelectItem = end($selectItems);
Please login to merge, or discard this patch.
ResourceBundle/Form/EventSubscriber/ResourceTranslationsSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $translatable = $parent->getData();
70 70
 
71 71
         foreach ($data as $locale => $translation) {
72
-            if(null === $translation) {
72
+            if (null === $translation) {
73 73
                 unset($data[$locale]);
74 74
                 continue;
75 75
             }
Please login to merge, or discard this patch.
Sylius/Bundle/ThemeBundle/spec/Settings/ThemeSettingsSchemaProviderSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         $this
106 106
             ->shouldThrow(new \InvalidArgumentException(sprintf(
107 107
                 'Could not find settings schema of theme "Candy shop" (candy/shop) in file "%s"',
108
-                $this->vfsStream->url() . '/Settings.php'
108
+                $this->vfsStream->url().'/Settings.php'
109 109
             )))
110 110
             ->during('getSchema', [$theme])
111 111
         ;
Please login to merge, or discard this patch.
src/Sylius/Bundle/SettingsBundle/Twig/SettingsExtension.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public function getFunctions()
38 38
     {
39 39
         return [
40
-             new \Twig_SimpleFunction('sylius_settings', [$this->helper, 'getSettings']),
40
+                new \Twig_SimpleFunction('sylius_settings', [$this->helper, 'getSettings']),
41 41
         ];
42 42
     }
43 43
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/SettingsBundle/spec/Schema/CallbackSchemaSpec.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 {
28 28
     function let()
29 29
     {
30
-        $this->beConstructedWith(function (){}, function (){});
30
+        $this->beConstructedWith(function() {}, function() {});
31 31
     }
32 32
 
33 33
     function it_is_initializable()
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
 
43 43
     function it_uses_callback_to_build_settings(SettingsBuilderInterface $settingsBuilder)
44 44
     {
45
-        $this->beConstructedWith(function (SettingsBuilderInterface $settingsBuilder) {
45
+        $this->beConstructedWith(function(SettingsBuilderInterface $settingsBuilder) {
46 46
             $settingsBuilder->setDefaults(['foo' => 'bar']);
47
-        }, function (){});
47
+        }, function() {});
48 48
 
49 49
         $settingsBuilder->setDefaults(['foo' => 'bar'])->shouldBeCalled();
50 50
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     function it_uses_callback_to_build_form(FormBuilderInterface $formBuilder)
55 55
     {
56
-        $this->beConstructedWith(function (){}, function (FormBuilderInterface $formBuilder) {
56
+        $this->beConstructedWith(function() {}, function(FormBuilderInterface $formBuilder) {
57 57
             $formBuilder->add('bono', 'u2');
58 58
         });
59 59
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/UpdatePage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function getCodeElement()
44 44
     {
45
-       return $this->getElement('code');
45
+        return $this->getElement('code');
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Asset/PathResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
      */
24 24
     public function resolve($path, ThemeInterface $theme)
25 25
     {
26
-        return str_replace('bundles/', 'bundles/_themes/' . $theme->getName() . '/', $path);
26
+        return str_replace('bundles/', 'bundles/_themes/'.$theme->getName().'/', $path);
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ThemeBundle/Translation/Provider/ThemeTranslationResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         }
56 56
 
57 57
         $this->domain = $parts[0];
58
-        $this->locale = $parts[1] . '_' . str_replace('/', '-', $theme->getName());
58
+        $this->locale = $parts[1].'_'.str_replace('/', '-', $theme->getName());
59 59
         $this->format = $parts[2];
60 60
     }
61 61
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/ThemeAwareTranslator.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
             $locale = $this->getLocale();
128 128
         }
129 129
 
130
-        $locale = $locale . '_' . str_replace('/', '-', $theme->getName());
130
+        $locale = $locale.'_'.str_replace('/', '-', $theme->getName());
131 131
 
132 132
         return $locale;
133 133
     }
Please login to merge, or discard this patch.