Completed
Push — theme-bundle ( 6263d9...2fd15f )
by Kamil
17:14
created
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.
spec/Form/DataTransformer/ObjectCollectionToIdentifiersTransformerSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 use Symfony\Component\Form\Exception\UnexpectedTypeException;
17 17
 
18 18
 // Since the root namespace "spec" is not in our autoload
19
-require_once __DIR__ . DIRECTORY_SEPARATOR . 'FakeEntity.php';
19
+require_once __DIR__.DIRECTORY_SEPARATOR.'FakeEntity.php';
20 20
 
21 21
 class ObjectSelectionToIdentifierCollectionTransformerSpec extends ObjectBehavior
22 22
 {
Please login to merge, or discard this patch.
spec/Form/DataTransformer/ObjectToIdentifierTransformerSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 use Symfony\Component\Form\Exception\UnexpectedTypeException;
17 17
 
18 18
 // Since the root namespace "spec" is not in our autoload
19
-require_once __DIR__ . DIRECTORY_SEPARATOR . 'FakeEntity.php';
19
+require_once __DIR__.DIRECTORY_SEPARATOR.'FakeEntity.php';
20 20
 
21 21
 class ObjectSelectionToIdentifierCollectionTransformerSpec extends ObjectBehavior
22 22
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/ProvinceChoiceType.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/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.
src/Sylius/Bundle/VariationBundle/Form/Type/VariantChoiceType.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/Bundle/PaymentBundle/Form/Type/PaymentMethodChoiceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,13 +31,13 @@
 block discarded – undo
31 31
     {
32 32
         parent::configureOptions($resolver);
33 33
 
34
-        $queryBuilder = function (Options $options) {
34
+        $queryBuilder = function(Options $options) {
35 35
             $repositoryOptions = array(
36 36
                 'disabled' => $options['disabled'],
37 37
                 'channel' => $options['channel'],
38 38
             );
39 39
 
40
-            return function (PaymentMethodRepositoryInterface $repository) use ($repositoryOptions) {
40
+            return function(PaymentMethodRepositoryInterface $repository) use ($repositoryOptions) {
41 41
                 return $repository->getQueryBuidlerForChoiceType($repositoryOptions);
42 42
             };
43 43
         };
Please login to merge, or discard this patch.