[REF][PHP8.2] Avoid dynamic properties in CRM_Case_XMLProcessor_ProcessTest
authorBradley Taylor <hello@brad-taylor.co.uk>
Wed, 11 Jan 2023 19:41:40 +0000 (19:41 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Wed, 11 Jan 2023 19:41:40 +0000 (19:41 +0000)
tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php

index c83fcfa9769ec9608a797ff499175f28b1d4f540..8d6a890d566f21cbac8ea5dabadd6b25ddb71523 100644 (file)
@@ -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();