Completed
Branch release/v1.0.0 (b932d7)
by Edward
03:07 queued 40s
created
tests/Collection/CollectionTest.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File CollectionTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File CollectionTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection;
8 8
 
9 9
 use Epfremme\Collection\Collection;
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         parent::setup();
29 29
 
30
-        $this->collection = new Collection([1,2,3]);
30
+        $this->collection = new Collection([1, 2, 3]);
31 31
     }
32 32
 
33 33
     /**
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      */
220 220
     public function testSpliceWithArrayOfReplacements()
221 221
     {
222
-        $slice = $this->collection->splice(1, 1, [7,8,9]);
222
+        $slice = $this->collection->splice(1, 1, [7, 8, 9]);
223 223
 
224 224
         $this->assertInstanceOf(Collection::class, $slice);
225 225
         $this->assertAttributeEquals([2], 'elements', $slice);
@@ -237,8 +237,8 @@  discard block
 block discarded – undo
237 237
             return 2 * $value;
238 238
         });
239 239
 
240
-        $this->assertAttributeEquals([2,4,6], 'elements', $collection);
241
-        $this->assertAttributeEquals([1,2,3], 'elements', $this->collection);
240
+        $this->assertAttributeEquals([2, 4, 6], 'elements', $collection);
241
+        $this->assertAttributeEquals([1, 2, 3], 'elements', $this->collection);
242 242
     }
243 243
 
244 244
     /**
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
             return $a > $b ? -1 : 1;
271 271
         });
272 272
 
273
-        $this->assertAttributeEquals([3,2,1], 'elements', $this->collection);
273
+        $this->assertAttributeEquals([3, 2, 1], 'elements', $this->collection);
274 274
     }
275 275
 
276 276
     /**
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
         });
307 307
 
308 308
         $this->assertTrue($success);
309
-        $this->assertAttributeEquals([2,4,6], 'elements', $this->collection);
309
+        $this->assertAttributeEquals([2, 4, 6], 'elements', $this->collection);
310 310
     }
311 311
 
312 312
     /**
Please login to merge, or discard this patch.
tests/Collection/ImmutableCollectionTest.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File ImmutableCollectionTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File ImmutableCollectionTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection;
8 8
 
9 9
 use Epfremme\Collection\ImmutableCollection;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function testOffsetUnset()
25 25
     {
26
-        $collection = new ImmutableCollection([1,2,3]);
26
+        $collection = new ImmutableCollection([1, 2, 3]);
27 27
 
28 28
         $collection->offsetUnset(0);
29 29
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function testOffsetSet()
38 38
     {
39
-        $collection = new ImmutableCollection([1,2,3]);
39
+        $collection = new ImmutableCollection([1, 2, 3]);
40 40
 
41 41
         $collection->offsetSet(0, 7);
42 42
     }
Please login to merge, or discard this patch.
tests/Collection/Traits/ArrayAccessTraitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File ArrayAccessTraitTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File ArrayAccessTraitTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection\Traits;
8 8
 
9 9
 use ArrayAccess;
Please login to merge, or discard this patch.
tests/Collection/Traits/ClearableTraitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File ClearableTraitTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File ClearableTraitTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection\Traits;
8 8
 
9 9
 use Epfremme\Collection\Collection;
Please login to merge, or discard this patch.
tests/Collection/Traits/CountableTraitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File CountableTraitTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File CountableTraitTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection\Traits;
8 8
 
9 9
 use Countable;
Please login to merge, or discard this patch.
tests/Collection/Traits/IterableTraitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File IterableTraitTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File IterableTraitTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection\Traits;
8 8
 
9 9
 use Iterator;
Please login to merge, or discard this patch.
tests/Collection/Traits/SearchableTraitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File SearchableTraitTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File SearchableTraitTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection\Traits;
8 8
 
9 9
 use Epfremme\Collection\Collection;
Please login to merge, or discard this patch.
tests/Collection/Traits/SeekableTraitTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File SeekableTraitTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File SeekableTraitTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Collection\Traits;
8 8
 
9 9
 use SeekableIterator;
Please login to merge, or discard this patch.
tests/Exception/ImmutableExceptionTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File ImmutableExceptionTest.php
4
- *
5
- * @author Edward Pfremmer <[email protected]>
6
- */
3
+     * File ImmutableExceptionTest.php
4
+     *
5
+     * @author Edward Pfremmer <[email protected]>
6
+     */
7 7
 namespace Epfremme\Tests\Exception;
8 8
 
9 9
 use Epfremme\Exception\ImmutableException;
Please login to merge, or discard this patch.