[REF][PHP8.2] Declare property in CRM_Utils_ZipTest
authorBradley Taylor <hello@brad-taylor.co.uk>
Wed, 18 Jan 2023 19:28:24 +0000 (19:28 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Wed, 18 Jan 2023 19:28:24 +0000 (19:28 +0000)
tests/phpunit/CRM/Utils/ZipTest.php

index 9cb51eec2b36fb1b2a7058dbd6d801076dfe53eb..e0cc7fe2113a0b8f5266ad6df5a2d5d1f5639f62 100644 (file)
  */
 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;