From b07d2871231c6d5c862915e42ae3b3c517d0d73b Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 6 Apr 2021 20:53:30 +1200 Subject: [PATCH] Phpunit 8 support - add void to setup --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 8a78474af5..5650298cfb 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -317,7 +317,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { /** * Common setup functions for all unit tests. */ - protected function setUp() { + protected function setUp(): void { $session = CRM_Core_Session::singleton(); $session->set('userID', NULL); -- 2.25.1