From: Bradley Taylor Date: Wed, 11 Jan 2023 19:41:40 +0000 (+0000) Subject: [REF][PHP8.2] Avoid dynamic properties in CRM_Case_XMLProcessor_ProcessTest X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fd8341bb4e26d49f96b445e1292bd240af5d9fc1;p=civicrm-core.git [REF][PHP8.2] Avoid dynamic properties in CRM_Case_XMLProcessor_ProcessTest --- diff --git a/tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php b/tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php index c83fcfa976..8d6a890d56 100644 --- a/tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php +++ b/tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php @@ -7,11 +7,44 @@ require_once 'CiviTest/CiviCaseTestCase.php'; */ class CRM_Case_XMLProcessor_ProcessTest extends CiviCaseTestCase { + /** + * @var array + */ + private $defaultAssigneeOptionsValues = []; + + /** + * @var array + */ + private $contacts = []; + + /** + * @var array + */ + private $relationships = []; + + /** + * @var array + */ + private $moreRelationshipTypes = []; + + /** + * @var SimpleXMLElement + */ + private $activityTypeXml; + + /** + * @var array + */ + private $activityParams = []; + + /** + * @var CRM_Case_XMLProcessor_Process + */ + private $process; + public function setUp(): void { parent::setUp(); - $this->defaultAssigneeOptionsValues = []; - $this->setupContacts(); $this->setupDefaultAssigneeOptions(); $this->setupRelationships();