From c007ca624f4a95e1a491221d425fcb2fa6e5589a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 21 Nov 2019 16:40:38 +0100 Subject: Make phpunit8 compatible Signed-off-by: Roeland Jago Douma --- tests/lib/App/CodeChecker/InfoCheckerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/lib/App/CodeChecker/InfoCheckerTest.php') diff --git a/tests/lib/App/CodeChecker/InfoCheckerTest.php b/tests/lib/App/CodeChecker/InfoCheckerTest.php index 3128f902f47..531066a54c6 100644 --- a/tests/lib/App/CodeChecker/InfoCheckerTest.php +++ b/tests/lib/App/CodeChecker/InfoCheckerTest.php @@ -29,7 +29,7 @@ class InfoCheckerTest extends TestCase { /** @var InfoChecker */ protected $infoChecker; - public static function setUpBeforeClass() { + public static function setUpBeforeClass(): void { \OC::$APPSROOTS[] = [ 'path' => \OC::$SERVERROOT . '/tests/apps', 'url' => '/apps-test', @@ -37,12 +37,12 @@ class InfoCheckerTest extends TestCase { ]; } - public static function tearDownAfterClass() { + public static function tearDownAfterClass(): void { // remove last element array_pop(\OC::$APPSROOTS); } - protected function setUp() { + protected function setUp(): void { parent::setUp(); $this->infoChecker = new InfoChecker(); } -- cgit v1.2.3