Skip to content

Commit 4bd764e

Browse files
authored
[TASK] Add return types to setUp() in tests (#425)
This is a blocker for the upgrade to PHPUnit 8.
1 parent a89395c commit 4bd764e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/CSSList/DocumentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class DocumentTest extends TestCase
1818
*/
1919
private $subject;
2020

21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
$this->subject = new Document();
2424
}

tests/CSSList/KeyFrameTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class KeyFrameTest extends TestCase
1818
*/
1919
protected $subject;
2020

21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
$this->subject = new KeyFrame();
2424
}

tests/OutputFormatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class OutputFormatTest extends TestCase
4343
*/
4444
private $oDocument;
4545

46-
protected function setUp()
46+
protected function setUp(): void
4747
{
4848
$this->oParser = new Parser(self::TEST_CSS);
4949
$this->oDocument = $this->oParser->parse();

0 commit comments

Comments
 (0)