From db33477f3a26cac0ab13311778da092d44c758ba Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Wed, 18 Jan 2023 19:28:24 +0000 Subject: [PATCH] [REF][PHP8.2] Declare property in CRM_Utils_ZipTest --- tests/phpunit/CRM/Utils/ZipTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/phpunit/CRM/Utils/ZipTest.php b/tests/phpunit/CRM/Utils/ZipTest.php index 9cb51eec2b..e0cc7fe211 100644 --- a/tests/phpunit/CRM/Utils/ZipTest.php +++ b/tests/phpunit/CRM/Utils/ZipTest.php @@ -15,6 +15,12 @@ */ class CRM_Utils_ZipTest extends CiviUnitTestCase { + /** + * Reference to filename, to allow cleanup in tearDown + * @var string|false + */ + private $file = FALSE; + public function setUp(): void { parent::setUp(); $this->file = FALSE; -- 2.25.1