mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
Declare properties that are dynamically used
Dynamic properties are deprecated since PHP 8.2.
This commit is contained in:
parent
00523d9b35
commit
98f6768dcb
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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();
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@ class ExtensibleSetElement extends BaseHtmlElement
|
|||||||
|
|
||||||
private $description;
|
private $description;
|
||||||
|
|
||||||
|
private $descriptions;
|
||||||
|
|
||||||
private $multiOptions;
|
private $multiOptions;
|
||||||
|
|
||||||
private $validOptions;
|
private $validOptions;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user