Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF][PHP8.2] Avoid dynamic properties in CRM_Case_XMLProcessor_ProcessTest #25325

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[REF][PHP8.2] Avoid dynamic properties in CRM_Case_XMLProcessor_Proce…
…ssTest
  • Loading branch information
braders committed Jan 11, 2023
commit fd8341bb4e26d49f96b445e1292bd240af5d9fc1
37 changes: 35 additions & 2 deletions tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,44 @@
*/
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();
Expand Down