Skip to content

Commit 6925a75

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/ClassExistsMockTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
class ClassExistsMockTest extends TestCase
1818
{
19-
public static function setUpBeforeClass()
19+
public static function setUpBeforeClass(): void
2020
{
2121
ClassExistsMock::register(__CLASS__);
2222
}
2323

24-
protected function setUp()
24+
protected function setUp(): void
2525
{
2626
ClassExistsMock::withMockedClasses([
2727
ExistingClass::class => false,

0 commit comments

Comments
 (0)