Completed
Push — master ( 6e92bd...4625ee )
by Ivannis Suárez
04:00
created
DataSource/IteratorDataSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
             if (!($this->iterator instanceof \ArrayIterator)) {
189 189
                 $this->iterator = new \ArrayIterator(iterator_to_array($this->iterator));
190 190
             }
191
-            $this->iterator->uasort(function ($a, $b) {
191
+            $this->iterator->uasort(function($a, $b) {
192 192
                 return $this->sortCriteria()->compare($a, $b);
193 193
             });
194 194
 
Please login to merge, or discard this patch.
Tests/Units/DataSource/DataSourceTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->getAssertionManager()
61 61
             ->setHandler(
62 62
                 'randomDataSource',
63
-                function (
63
+                function(
64 64
                     SpecificationInterface $searchCriteria = null,
65 65
                     ComparatorInterface $sortCriteria = null,
66 66
                     $offset = null,
@@ -76,13 +76,13 @@  discard block
 block discarded – undo
76 76
             )
77 77
             ->setHandler(
78 78
                 'emptyDataSource',
79
-                function () {
79
+                function() {
80 80
                     return $this->emptyDataSource();
81 81
                 }
82 82
             )
83 83
             ->setHandler(
84 84
                 'uniqueValue',
85
-                function () {
85
+                function() {
86 86
                     return $this->uniqueValue();
87 87
                 }
88 88
             )
Please login to merge, or discard this patch.
Tests/Units/ArrayCollection/ArrayHashMapTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
                 ->variable($collection[$key])
166 166
                     ->isEqualTo($unique)
167 167
             ->and()
168
-            ->when(function () use ($collection, $key) {
168
+            ->when(function() use ($collection, $key) {
169 169
                 unset($collection[$key]);
170 170
             })
171 171
             ->then()
Please login to merge, or discard this patch.
Tests/Units/ArrayCollection/ArraySetTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             ->then()
154 154
                 ->boolean(isset($collection[$key]))
155 155
                     ->isTrue()
156
-                ->exception(function () use ($collection) {
156
+                ->exception(function() use ($collection) {
157 157
                     isset($collection['foo']);
158 158
                 })->isInstanceOf(InvalidKeyException::class)
159 159
         ;
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
                 ->variable($collection[$key])
218 218
                     ->isEqualTo($unique)
219 219
             ->and()
220
-            ->when(function () use ($collection, $key) {
220
+            ->when(function() use ($collection, $key) {
221 221
                 unset($collection[$key]);
222 222
             })
223 223
             ->then()
Please login to merge, or discard this patch.
Tests/Units/SetTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                         ->isEqualTo(\count($items))
82 82
             ->and()
83 83
             ->then()
84
-                ->exception(function () use ($collection) {
84
+                ->exception(function() use ($collection) {
85 85
                     $collection->addAll(100);
86 86
                 })->isInstanceOf(\InvalidArgumentException::class)
87 87
         ;
Please login to merge, or discard this patch.
ArrayCollection/ArrayList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
             $criteria = new Comparator();
136 136
         }
137 137
 
138
-        uasort($this->elements, function ($a, $b) use ($criteria) {
138
+        uasort($this->elements, function($a, $b) use ($criteria) {
139 139
             return $criteria->compare($a, $b);
140 140
         });
141 141
     }
Please login to merge, or discard this patch.
ArrayCollection/ArrayHashMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
             $criteria = new Comparator();
123 123
         }
124 124
 
125
-        uksort($this->elements, function ($a, $b) use ($criteria) {
125
+        uksort($this->elements, function($a, $b) use ($criteria) {
126 126
             return $criteria->compare($a, $b);
127 127
         });
128 128
     }
Please login to merge, or discard this patch.
Tests/Units/ArrayCollection/ArrayListTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             ->then()
154 154
                 ->boolean(isset($collection[$key]))
155 155
                     ->isTrue()
156
-                ->exception(function () use ($collection) {
156
+                ->exception(function() use ($collection) {
157 157
                     isset($collection['foo']);
158 158
                 })->isInstanceOf(InvalidKeyException::class)
159 159
         ;
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
                 ->variable($collection[$key])
218 218
                     ->isEqualTo($unique)
219 219
             ->and()
220
-            ->when(function () use ($collection, $key) {
220
+            ->when(function() use ($collection, $key) {
221 221
                 unset($collection[$key]);
222 222
             })
223 223
             ->then()
Please login to merge, or discard this patch.
Tests/Units/HashMapTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                         ->isEqualTo(\count($items))
82 82
             ->and()
83 83
             ->then()
84
-                ->exception(function () use ($collection) {
84
+                ->exception(function() use ($collection) {
85 85
                     $collection->addAll(100);
86 86
                 })->isInstanceOf(\InvalidArgumentException::class)
87 87
         ;
Please login to merge, or discard this patch.