Skip to content

Commit c57605b

Browse files
committed
Fixed phpunit deprecations
Signed-off-by: Bjorn Voesten <[email protected]>
1 parent 75f1369 commit c57605b

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

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)