From: eileen Date: Tue, 6 Apr 2021 08:53:30 +0000 (+1200) Subject: Phpunit 8 support - add void to setup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b07d2871231c6d5c862915e42ae3b3c517d0d73b;p=civicrm-core.git Phpunit 8 support - add void to setup --- 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);