Completed
Push — master ( 638d86...a7c2d2 )
by Kamil
22:18
created
src/Sylius/Bundle/AddressingBundle/Form/Type/ProvinceChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $choices = function (Options $options) {
44
+        $choices = function(Options $options) {
45 45
             if (null === $options['country']) {
46 46
                 $choices = $this->provinceRepository->findAll();
47 47
             } else {
Please login to merge, or discard this patch.
Bundle/ArchetypeBundle/Form/EventListener/ParentArchetypeListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         );
63 63
 
64 64
         if (null != $currentArchetype->getId()) {
65
-            $parentOptions['query_builder'] = function (RepositoryInterface $repository) use ($currentArchetype) {
65
+            $parentOptions['query_builder'] = function(RepositoryInterface $repository) use ($currentArchetype) {
66 66
                 return $repository
67 67
                     ->createQueryBuilder('o')
68 68
                     ->where('o.id != :id')
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/CountryChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $choices = function (Options $options) {
44
+        $choices = function(Options $options) {
45 45
             if (null === $options['country']) {
46 46
                 $choices = $this->provinceRepository->findAll();
47 47
             } else {
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/ProvinceCodeChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $choices = function (Options $options) {
44
+        $choices = function(Options $options) {
45 45
             if (null === $options['country']) {
46 46
                 $choices = $this->provinceRepository->findAll();
47 47
             } else {
Please login to merge, or discard this patch.
ThemeBundle/spec/Translation/Finder/OrderingTranslationFilesFinderSpec.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
     public function getMatchers()
56 56
     {
57 57
         return [
58
-            'haveFirstElement' => function ($subject, $element) {
58
+            'haveFirstElement' => function($subject, $element) {
59 59
                 if ($element !== reset($subject)) {
60 60
                     throw new \InvalidArgumentException(sprintf(
61 61
                         'Expected "%s" as the first element, actual value was "%s".',
Please login to merge, or discard this patch.
Sylius/Bundle/OrderBundle/spec/Twig/AggregateAdjustmentsExtensionSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     public function getMatchers()
66 66
     {
67 67
         return [
68
-            'haveFunction' => function ($subject, $key) {
68
+            'haveFunction' => function($subject, $key) {
69 69
 
70 70
                 if (!is_array($subject)) {
71 71
                     throw new FailureException('Subject of "hasFunction" matcher must be an array');
Please login to merge, or discard this patch.
src/Sylius/Component/Metadata/Model/AbstractMetadata.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
     public function toArray()
56 56
     {
57 57
         return array_map(
58
-            function ($value) {
58
+            function($value) {
59 59
                 if ($value instanceof MetadataInterface) {
60 60
                     $value = $value->toArray();
61 61
                 }
Please login to merge, or discard this patch.
Component/Metadata/Renderer/Twitter/GenericTwitterMetadataRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
     {
107 107
         $properties = array_replace_recursive(
108 108
             $options['defaults'],
109
-            array_filter($metadata->toArray(), function ($item) { return null !== $item; })
109
+            array_filter($metadata->toArray(), function($item) { return null !== $item; })
110 110
         );
111 111
 
112 112
         $renderedProperties = [];
Please login to merge, or discard this patch.
src/Sylius/Component/Metadata/Renderer/Custom/PageMetadataRenderer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -155,23 +155,23 @@
 block discarded – undo
155 155
 
156 156
     private function declareSubrenderers()
157 157
     {
158
-        $this->addSubrenderer('title', function ($value) {
158
+        $this->addSubrenderer('title', function($value) {
159 159
             return sprintf('<title>%s</title>', $value);
160 160
         });
161 161
 
162
-        $this->addSubrenderer(['description', 'author'], function ($value, $key) {
162
+        $this->addSubrenderer(['description', 'author'], function($value, $key) {
163 163
             return sprintf('<meta name="%s" content="%s" />', $key, $value);
164 164
         });
165 165
 
166
-        $this->addSubrenderer('keywords', function ($value) {
166
+        $this->addSubrenderer('keywords', function($value) {
167 167
             return sprintf('<meta name="keywords" content="%s" />', join(', ', $value));
168 168
         });
169 169
 
170
-        $this->addSubrenderer('charset', function ($value) {
170
+        $this->addSubrenderer('charset', function($value) {
171 171
             return sprintf('<meta charset="%s" />', $value);
172 172
         });
173 173
 
174
-        $this->addSubrenderer('twitter', function ($value) {
174
+        $this->addSubrenderer('twitter', function($value) {
175 175
             return $this->twitterRenderer->render($value);
176 176
         });
177 177
     }
Please login to merge, or discard this patch.