@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -27,7 +27,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | /** |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -23,7 +23,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -1,9 +1,9 @@ |
||
| 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; |
@@ -1,9 +1,9 @@ |
||
| 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; |