Skip to content

Commit

Permalink
[TASK] Add return types to setUp() in tests
Browse files Browse the repository at this point in the history
This is a blocker for the upgrade to PHPUnit 8.
  • Loading branch information
oliverklee committed Feb 2, 2024
1 parent 9648ced commit de6fa77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/CSSList/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DocumentTest extends TestCase
*/
private $subject;

protected function setUp()
protected function setUp(): void
{
$this->subject = new Document();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/CSSList/KeyFrameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class KeyFrameTest extends TestCase
*/
protected $subject;

protected function setUp()
protected function setUp(): void
{
$this->subject = new KeyFrame();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/OutputFormatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class OutputFormatTest extends TestCase
*/
private $oDocument;

protected function setUp()
protected function setUp(): void
{
$this->oParser = new Parser(self::TEST_CSS);
$this->oDocument = $this->oParser->parse();
Expand Down

0 comments on commit de6fa77

Please sign in to comment.