Skip to content

Commit e4f40d7

Browse files
luispabonnicolas-grekas
authored andcommitted
Ensure signatures for setUp|tearDown|setUpAfterClass|tearDownAfterClass methods in tests are compatible with phpunit 8.2
1 parent 22c4341 commit e4f40d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/ParserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class ParserTest extends TestCase
2525
/** @var Parser */
2626
protected $parser;
2727

28-
protected function setUp()
28+
protected function setUp(): void
2929
{
3030
$this->parser = new Parser();
3131
}
3232

33-
protected function tearDown()
33+
protected function tearDown(): void
3434
{
3535
$this->parser = null;
3636

0 commit comments

Comments
 (0)