Completed
Push — master ( 2c8981...1ecbe4 )
by Kamil
23:19
created
src/Sylius/Bundle/ShippingBundle/DependencyInjection/Configuration.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,8 +202,8 @@
 block discarded – undo
202 202
                                         ->arrayNode('form')
203 203
                                             ->addDefaultsIfNotSet()
204 204
                                             ->children()
205
-                                                 ->scalarNode('default')->defaultValue(ShippingCategoryType::class)->cannotBeEmpty()->end()
206
-                                                 ->scalarNode('choice')->defaultValue(ResourceChoiceType::class)->cannotBeEmpty()->end()
205
+                                                    ->scalarNode('default')->defaultValue(ShippingCategoryType::class)->cannotBeEmpty()->end()
206
+                                                    ->scalarNode('choice')->defaultValue(ResourceChoiceType::class)->cannotBeEmpty()->end()
207 207
                                             ->end()
208 208
                                         ->end()
209 209
                                     ->end()
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxonomyBundle/Form/Type/TaxonChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     public function configureOptions(OptionsResolver $resolver)
65 65
     {
66 66
         $repository = $this->taxonRepository;
67
-        $choiceList = function (Options $options) use ($repository) {
67
+        $choiceList = function(Options $options) use ($repository) {
68 68
             $taxons = $repository->getNonRootTaxons();
69 69
 
70 70
             if (null !== $options['taxonomy']) {
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
                 ->booleanNode('guest_order')
61 61
                     ->beforeNormalization()
62 62
                         ->ifString()
63
-                        ->then(function ($v) { return (bool) $v; })
63
+                        ->then(function($v) { return (bool) $v; })
64 64
                     ->end()
65 65
                     ->defaultFalse()
66 66
                 ->end()
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Form/Type/UserType.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
         $resolver
45 45
             ->setDefaults(array(
46 46
                 'data_class' => $this->dataClass,
47
-                'validation_groups' => function (FormInterface $form) {
47
+                'validation_groups' => function(FormInterface $form) {
48 48
                     $data = $form->getData();
49 49
                     if ($data && !$data->getId()) {
50 50
                         $this->validationGroups[] = 'sylius_user_create';
Please login to merge, or discard this patch.
src/Sylius/Bundle/LocaleBundle/Form/Type/LocaleChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function configureOptions(OptionsResolver $resolver)
56 56
     {
57
-        $choiceList = function (Options $options) {
57
+        $choiceList = function(Options $options) {
58 58
             if (null === $options['enabled']) {
59 59
                 $choices = $this->localeRepository->findAll();
60 60
             } else {
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
             return $this->adjustments;
282 282
         }
283 283
 
284
-        return $this->adjustments->filter(function (AdjustmentInterface $adjustment) use ($type) {
284
+        return $this->adjustments->filter(function(AdjustmentInterface $adjustment) use ($type) {
285 285
             return $type === $adjustment->getType();
286 286
         });
287 287
     }
Please login to merge, or discard this patch.
src/Sylius/Component/User/spec/Security/Generator/PinGeneratorSpec.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 array(
68
-            'haveLength' => function ($subject, $key) {
68
+            'haveLength' => function($subject, $key) {
69 69
                 return $key === strlen($subject);
70 70
             },
71 71
         );
Please login to merge, or discard this patch.
src/Sylius/Bundle/RbacBundle/Form/Type/PermissionEntityType.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
         parent::configureOptions($resolver);
28 28
 
29 29
         $resolver->setDefaults(array(
30
-            'query_builder' => function (EntityRepository $repository) {
30
+            'query_builder' => function(EntityRepository $repository) {
31 31
                 return $repository->createQueryBuilder('o')->orderBy('o.left', 'asc');
32 32
             },
33 33
         ));
Please login to merge, or discard this patch.
src/Sylius/Bundle/VariationBundle/Form/Type/OptionValueChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function configureOptions(OptionsResolver $resolver)
56 56
     {
57
-        $choiceList = function (Options $options) {
57
+        $choiceList = function(Options $options) {
58 58
             if (null === $options['enabled']) {
59 59
                 $choices = $this->localeRepository->findAll();
60 60
             } else {
Please login to merge, or discard this patch.