From ba9466006e5b9414bc270cf9c3e65451dd278313 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Sat, 28 Jan 2023 13:30:49 +0000 Subject: [PATCH] [REF][PHP8.2] Avoid dynamic properties in CRM_Event_BAO_ParticipantTest --- tests/phpunit/CRM/Event/BAO/ParticipantTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/phpunit/CRM/Event/BAO/ParticipantTest.php b/tests/phpunit/CRM/Event/BAO/ParticipantTest.php index b0cd9a559e..89f787d373 100644 --- a/tests/phpunit/CRM/Event/BAO/ParticipantTest.php +++ b/tests/phpunit/CRM/Event/BAO/ParticipantTest.php @@ -16,6 +16,16 @@ */ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase { + /** + * @var int + */ + private $_contactId; + + /** + * @var int + */ + private $_eventId; + public function setUp(): void { parent::setUp(); $this->_contactId = $this->individualCreate(); -- 2.25.1