Skip to content

Commit c480d0f

Browse files
author
hong
committed
updated: Adapt to the new version of PHPUnit
1 parent 0d7b314 commit c480d0f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/vendor
22
/composer.lock
33
/.idea
4+
/.phpunit.result.cache

tests/PaginatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class PaginatorTest extends TestCase
1010
{
1111
protected $maxId = 19;
1212

13-
protected function setUp()
13+
protected function setUp(): void
1414
{
1515
parent::setUp();
1616

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class TestCase extends BaseTestCase
1212
{
13-
protected function setUp()
13+
protected function setUp(): void
1414
{
1515
$app = new Application();
1616

@@ -41,7 +41,7 @@ protected function setUp()
4141
});
4242
}
4343

44-
protected function tearDown()
44+
protected function tearDown(): void
4545
{
4646
Manager::schema()->dropIfExists('posts');
4747
Manager::connection()->disconnect();

0 commit comments

Comments
 (0)