Completed
Push — master ( d6f0bd...41a21b )
by Ivannis Suárez
05:43
created
Tests/Units/ListTestCase.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.
Tests/Units/ArrayCollection/ArrayListTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                     ->isFalse()
158 158
             ->and()
159 159
             ->then()
160
-                ->exception(function () use ($collection) {
160
+                ->exception(function() use ($collection) {
161 161
                     $collection->removeAt('foo');
162 162
                 })->isInstanceOf(InvalidKeyException::class)
163 163
         ;
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
                 ->variable($collection[$key])
244 244
                     ->isEqualTo($unique)
245 245
             ->and()
246
-            ->when(function () use ($collection, $key) {
246
+            ->when(function() use ($collection, $key) {
247 247
                 unset($collection[$key]);
248 248
             })
249 249
             ->then()
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/HashMapTestCase.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
             ->then()
66 66
                 ->hashmap($collection)
67 67
                     ->containsKey('foo')
68
-                ->exception(function () use ($collection) {
68
+                ->exception(function() use ($collection) {
69 69
                     $collection->set(new \StdClass(), 'value');
70 70
                 })->isInstanceOf(InvalidKeyException::class)
71 71
         ;
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/ArraySet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             $criteria = new Comparator();
133 133
         }
134 134
 
135
-        uasort($this->elements, function ($a, $b) use ($criteria) {
135
+        uasort($this->elements, function($a, $b) use ($criteria) {
136 136
             return $criteria->compare($a, $b);
137 137
         });
138 138
     }
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.