Phpunit 8 support - add void to setup
authoreileen <emcnaughton@wikimedia.org>
Tue, 6 Apr 2021 08:53:30 +0000 (20:53 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 6 Apr 2021 08:53:30 +0000 (20:53 +1200)
tests/phpunit/CiviTest/CiviUnitTestCase.php

index 8a78474af552e4e45113fc8149df7da70be7a045..5650298cfb546c374008e9cc212247cc2679f440 100644 (file)
@@ -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);