Declare properties that are dynamically used

Dynamic properties are deprecated since PHP 8.2.
This commit is contained in:
raviks789 2023-08-29 11:10:58 +02:00 committed by Thomas Gelf
parent 00523d9b35
commit 98f6768dcb
4 changed files with 9 additions and 1 deletions

View File

@ -27,6 +27,8 @@ class ServiceSetQueryBuilder
/** @var \Zend_Db_Adapter_Abstract */ /** @var \Zend_Db_Adapter_Abstract */
protected $db; protected $db;
protected $searchColumns = [];
/** /**
* @param ?UuidInterface $uuid * @param ?UuidInterface $uuid
*/ */

View File

@ -10,6 +10,8 @@ class TestSuiteLint extends TestSuite
protected $failed; protected $failed;
protected $result = [];
public function run() public function run()
{ {
$this->checked = $this->failed = array(); $this->checked = $this->failed = array();

View File

@ -4,6 +4,8 @@ namespace Icinga\Module\Director\Test;
abstract class TestSuiteUnit abstract class TestSuiteUnit
{ {
private $testdoxFile;
public function run() public function run()
{ {
} }
@ -15,7 +17,7 @@ abstract class TestSuiteUnit
public function __destruct() public function __destruct()
{ {
if ($this->testdoxFile && file_exists($this->testdoxFile)) { if ($this->testdoxFile && file_exists($this->testdoxFile)) {
unlink($this->testDoxfile); unlink($this->testdoxFile);
} }
} }

View File

@ -26,6 +26,8 @@ class ExtensibleSetElement extends BaseHtmlElement
private $description; private $description;
private $descriptions;
private $multiOptions; private $multiOptions;
private $validOptions; private $validOptions;