From: Bradley Taylor Date: Sat, 21 Jan 2023 20:24:12 +0000 (+0000) Subject: [REF][PHP8.2] Declare system property in tests X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c76dd74b293ba01312b41ff15ce1bcea35fc396;p=civicrm-core.git [REF][PHP8.2] Declare system property in tests --- diff --git a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php index 79d71fdd24..d965f225d9 100644 --- a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php +++ b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php @@ -15,6 +15,11 @@ */ class CRM_Extension_Manager_PaymentTest extends CiviUnitTestCase { + /** + * @var CRM_Extension_System + */ + private $system; + public function setUp(): void { parent::setUp(); if (class_exists('test_extension_manager_paymenttest')) { diff --git a/tests/phpunit/CRM/Extension/Manager/ReportTest.php b/tests/phpunit/CRM/Extension/Manager/ReportTest.php index be7029c65f..0bd742cd11 100644 --- a/tests/phpunit/CRM/Extension/Manager/ReportTest.php +++ b/tests/phpunit/CRM/Extension/Manager/ReportTest.php @@ -6,6 +6,11 @@ */ class CRM_Extension_Manager_ReportTest extends CiviUnitTestCase { + /** + * @var CRM_Extension_System + */ + private $system; + public function setUp(): void { parent::setUp(); //if (class_exists('test_extension_manager_reporttest')) { diff --git a/tests/phpunit/CRM/Extension/Manager/SearchTest.php b/tests/phpunit/CRM/Extension/Manager/SearchTest.php index d37ada35f6..6053d64e3d 100644 --- a/tests/phpunit/CRM/Extension/Manager/SearchTest.php +++ b/tests/phpunit/CRM/Extension/Manager/SearchTest.php @@ -6,6 +6,11 @@ */ class CRM_Extension_Manager_SearchTest extends CiviUnitTestCase { + /** + * @var CRM_Extension_System + */ + private $system; + public function setUp(): void { parent::setUp(); //if (class_exists('test_extension_manager_searchtest')) {