Completed
Push — master ( 638d86...a7c2d2 )
by Kamil
22:18
created
src/Sylius/Component/Order/Model/Order.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/Resource/Repository/InMemoryRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      */
87 87
     public function remove(ResourceInterface $resource)
88 88
     {
89
-        $newResources = array_filter($this->findAll(), function ($object) use ($resource) {
89
+        $newResources = array_filter($this->findAll(), function($object) use ($resource) {
90 90
             return $object !== $resource;
91 91
         });
92 92
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -481,7 +481,7 @@
 block discarded – undo
481 481
             return null;
482 482
         }
483 483
 
484
-        $filtered = $this->oauthAccounts->filter(function (UserOAuthInterface $oauth) use ($provider) {
484
+        $filtered = $this->oauthAccounts->filter(function(UserOAuthInterface $oauth) use ($provider) {
485 485
             return $provider === $oauth->getProvider();
486 486
         });
487 487
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/spec/Security/Generator/TokenGeneratorSpec.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/ResourceBundle/Form/Extension/DateExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function configureOptions(OptionsResolver $resolver)
41 41
     {
42
-        $format = function (Options $options, $value) {
42
+        $format = function(Options $options, $value) {
43 43
             if ($options['widget'] === 'single_text') {
44 44
                 $formatter = new \IntlDateFormatter(
45 45
                     \Locale::getDefault(),
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Behat/FixtureContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         $data = $table->getRowsHash();
78 78
         $type = str_replace(' ', '_', trim($type));
79 79
 
80
-        $object = $this->waitFor(function () use ($type, $data) {
80
+        $object = $this->waitFor(function() use ($type, $data) {
81 81
             try {
82 82
                 return $this->findOneByName($type, $data['name']);
83 83
             } catch (\InvalidArgumentException $exception) {
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/AddressType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
         $resolver
88 88
             ->setDefaults(array(
89
-                'validation_groups' => function (Options $options) {
89
+                'validation_groups' => function(Options $options) {
90 90
                     if ($options['shippable']) {
91 91
                         $this->validationGroups[] = 'shippable';
92 92
                     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/RbacBundle/Form/Type/RoleEntityType.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/SearchBundle/Behat/SearchContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             ->getQuery()
70 70
         ;
71 71
 
72
-        $result = $this->waitFor(function () use ($query) {
72
+        $result = $this->waitFor(function() use ($query) {
73 73
             return $query->getResult();
74 74
         });
75 75
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         ;
99 99
 
100 100
         try {
101
-            $this->waitFor(function () use ($query) {
101
+            $this->waitFor(function() use ($query) {
102 102
                 return 0 === count($query->getResult()) ? true : false;
103 103
             });
104 104
         } catch (\RuntimeException $exception) {
Please login to merge, or discard this patch.