Skip to content

Commit be53ea1

Browse files
authored
Merge pull request #6 from bjornvoesten/master
Add Laravel 11 support
2 parents 57d967b + c57605b commit be53ea1

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"require": {
1717
"php": "^7.4|^8.0",
18-
"illuminate/collections": "^6.0|^7.0|^8.0|^9.0|^10.0"
18+
"illuminate/collections": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "*"

tests/CollectionTest.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@
77

88
class CollectionTest extends TestCase
99
{
10-
/**
11-
* @return void
12-
*/
1310
protected function setUp(): void
1411
{
1512
parent::setUp();
1613

1714
mkdir(__DIR__ . '/temporary');
1815
}
1916

20-
/**
21-
* @test
22-
* @return void
23-
*/
2417
public function testCanOpenWithoutHeader(): void
2518
{
2619
$collection = CsvCollection::make()->options(['header' => false])
@@ -38,10 +31,6 @@ public function testCanOpenWithoutHeader(): void
3831
$this->assertSame(10, $collection->count());
3932
}
4033

41-
/**
42-
* @test
43-
* @return void
44-
*/
4534
public function testCanOpenWithHeader(): void
4635
{
4736
$collection = CsvCollection::make()
@@ -59,10 +48,6 @@ public function testCanOpenWithHeader(): void
5948
$this->assertSame(10, $collection->count());
6049
}
6150

62-
/**
63-
* @test
64-
* @return void
65-
*/
6651
public function testCanSaveWithoutHeader(): void
6752
{
6853
$path = __DIR__ . '/temporary/save-without-header.csv';
@@ -83,10 +68,6 @@ public function testCanSaveWithoutHeader(): void
8368
unlink($path);
8469
}
8570

86-
/**
87-
* @test
88-
* @return void
89-
*/
9071
public function testCanSaveWithHeader(): void
9172
{
9273
$path = __DIR__ . '/temporary/save-with-header.csv';
@@ -107,9 +88,6 @@ public function testCanSaveWithHeader(): void
10788
unlink($path);
10889
}
10990

110-
/**
111-
* @return void
112-
*/
11391
protected function tearDown(): void
11492
{
11593
rmdir(__DIR__ . '/temporary');

0 commit comments

Comments
 (0)