Skip to content

Commit

Permalink
Declare properties that are dynamically used
Browse files Browse the repository at this point in the history
Dynamic properties are deprecated since PHP 8.2.
  • Loading branch information
raviks789 committed Aug 29, 2023
1 parent c4a3d10 commit e3f87c3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions library/Director/Data/Db/ServiceSetQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class ServiceSetQueryBuilder
/** @var \Zend_Db_Adapter_Abstract */
protected $db;

protected $searchColumns = [];

/**
* @param ?UuidInterface $uuid
*/
Expand Down
2 changes: 2 additions & 0 deletions library/Director/Test/TestSuiteLint.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class TestSuiteLint extends TestSuite

protected $failed;

protected $result = [];

public function run()
{
$this->checked = $this->failed = array();
Expand Down
4 changes: 3 additions & 1 deletion library/Director/Test/TestSuiteUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

abstract class TestSuiteUnit
{
private $testdoxFile;

public function run()
{
}
Expand All @@ -15,7 +17,7 @@ public function __construct()
public function __destruct()
{
if ($this->testdoxFile && file_exists($this->testdoxFile)) {
unlink($this->testDoxfile);
unlink($this->testdoxFile);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Icinga\Module\Director\Objects\IcingaObject;
use Icinga\Web\Request;
use Icinga\Web\Response;
use Zend_Controller_Action_HelperBroker;

class SingleObjectApiHandler
{
Expand All @@ -30,6 +31,13 @@ class SingleObjectApiHandler
/** @var \Icinga\Web\UrlParams */
private $params;

/**
* Helper Broker to assist in routing help requests to the proper object
*
* @var Zend_Controller_Action_HelperBroker
*/
protected $_helper = null;

public function __construct($type, Request $request, Response $response)
{
$this->type = $type;
Expand Down

0 comments on commit e3f87c3

Please sign in to comment.