From 661bff8a9b8a1f1422e316d602dd794a529d85e6 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 19 Jun 2023 14:17:52 +0200 Subject: [PATCH 01/38] workflows: Add phpstan --- .github/workflows/php.yml | 14 ++++++++++++-- phpstan.neon | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 phpstan.neon diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 45fc836..eded62d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] os: ['ubuntu-latest'] steps: @@ -31,7 +31,13 @@ jobs: tools: phpcs - name: Setup dependencies - run: composer require -n --no-progress overtrue/phplint + run: | + composer require -n --no-progress overtrue/phplint + git clone --depth 1 https://github.com/Icinga/icingaweb2.git vendor/icingaweb2 + git clone --depth 1 https://github.com/Icinga/icingadb-web.git vendor/icingadb-web + git clone --depth 1 https://github.com/Icinga/icingaweb2-module-director.git vendor/icingaweb2-module-director + git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-library.git vendor/icinga-php-library + git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git vendor/icinga-php-thirdparty - name: PHP Lint if: success() || matrix.allow_failure @@ -41,6 +47,10 @@ jobs: if: success() || matrix.allow_failure run: phpcs + - name: PHPStan + uses: php-actions/phpstan@v3 + if: success() || matrix.allow_failure + test: name: Unit tests with php ${{ matrix.php }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..9698adb --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,21 @@ +parameters: + level: 5 + + checkFunctionNameCase: true + checkInternalClassCaseSensitivity: true + treatPhpDocTypesAsCertain: false + + paths: + - application + - library + + scanDirectories: + - vendor + + ignoreErrors: + - '#Unsafe usage of new static\(\)#' + + universalObjectCratesClasses: + - Icinga\Web\View + - ipl\Orm\Model + - Icinga\Module\Monitoring\Object\MonitoredObject From 9e67b56bca59c6262cb4615b36312233626845ca Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 12 Jul 2023 09:40:03 +0200 Subject: [PATCH 02/38] RenderedProcessActionBar: Remove unused constructor param `$auth` --- application/controllers/ProcessController.php | 2 +- .../Businessprocess/Web/Component/RenderedProcessActionBar.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/ProcessController.php b/application/controllers/ProcessController.php index 06e5bb8..44429df 100644 --- a/application/controllers/ProcessController.php +++ b/application/controllers/ProcessController.php @@ -199,7 +199,7 @@ class ProcessController extends Controller $controls->add(Breadcrumb::create(clone $renderer)); if (! $this->showFullscreen && ! $this->view->compact) { $controls->add( - new RenderedProcessActionBar($bp, $renderer, $this->Auth(), $this->url()) + new RenderedProcessActionBar($bp, $renderer, $this->url()) ); } diff --git a/library/Businessprocess/Web/Component/RenderedProcessActionBar.php b/library/Businessprocess/Web/Component/RenderedProcessActionBar.php index 7ad6ad6..41fa0f8 100644 --- a/library/Businessprocess/Web/Component/RenderedProcessActionBar.php +++ b/library/Businessprocess/Web/Component/RenderedProcessActionBar.php @@ -12,7 +12,7 @@ use ipl\Web\Widget\Icon; class RenderedProcessActionBar extends ActionBar { - public function __construct(BpConfig $config, Renderer $renderer, Auth $auth, Url $url) + public function __construct(BpConfig $config, Renderer $renderer, Url $url) { $meta = $config->getMetadata(); From e638fade56a22928c59705f8f5c743aa4135662c Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 12 Jul 2023 10:08:08 +0200 Subject: [PATCH 03/38] Renderer: Fix that `!empty($elements)` is always true --- library/Businessprocess/Renderer/Renderer.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/Businessprocess/Renderer/Renderer.php b/library/Businessprocess/Renderer/Renderer.php index 6e68da4..9917ed6 100644 --- a/library/Businessprocess/Renderer/Renderer.php +++ b/library/Businessprocess/Renderer/Renderer.php @@ -169,8 +169,6 @@ abstract class Renderer extends HtmlDocument */ public function renderStateBadges($summary, $totalChildren) { - $elements = []; - $itemCount = Html::tag( 'span', [ @@ -181,7 +179,7 @@ abstract class Renderer extends HtmlDocument sprintf(mtp('businessprocess', '%u Child', '%u Children', $totalChildren), $totalChildren) ); - $elements[] = array_filter([ + $elements = array_filter([ $this->createBadgeGroup($summary, 'CRITICAL'), $this->createBadgeGroup($summary, 'UNKNOWN'), $this->createBadgeGroup($summary, 'WARNING'), From 92e982bf3d6424be20f2c8d8df782c9720f666c4 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 12 Jul 2023 10:22:14 +0200 Subject: [PATCH 04/38] Remove unused class `Form` and `FormStateOverrides` --- .../views/helpers/FormStateOverrides.php | 40 ------------------- library/Businessprocess/Form.php | 36 ----------------- 2 files changed, 76 deletions(-) delete mode 100644 application/views/helpers/FormStateOverrides.php delete mode 100644 library/Businessprocess/Form.php diff --git a/application/views/helpers/FormStateOverrides.php b/application/views/helpers/FormStateOverrides.php deleted file mode 100644 index 74ed2f4..0000000 --- a/application/views/helpers/FormStateOverrides.php +++ /dev/null @@ -1,40 +0,0 @@ - $label) { - if ($state === 0) { - continue; - } - - $chosen = $state; - if (isset($value[$state])) { - $chosen = $value[$state]; - } - - $options = [$state => t('Keep actual state')] + $states; - - $html .= ''; - } - - return $html; - } -} diff --git a/library/Businessprocess/Form.php b/library/Businessprocess/Form.php deleted file mode 100644 index 3270b38..0000000 --- a/library/Businessprocess/Form.php +++ /dev/null @@ -1,36 +0,0 @@ -setup(); - } - - public function addHidden($name, $value = null) - { - $this->addElement('hidden', $name); - $this->getElement($name)->setDecorators(array('ViewHelper')); - if ($value !== null) { - $this->setDefault($name, $value); - } - return $this; - } - - public function handleRequest(Request $request = null) - { - parent::handleRequest(); - return $this; - } - - public static function construct() - { - return new static; - } -} From 35d151b70df1daa3e9a0d46377c5fcbf0a2d4f57 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 10 Aug 2023 14:46:04 +0200 Subject: [PATCH 05/38] Sort Trait: Make `$sort` nullable and adjust code accordingly - Update phpDoc --- library/Businessprocess/Common/Sort.php | 12 ++++++++---- library/Businessprocess/Renderer/Renderer.php | 4 ++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/library/Businessprocess/Common/Sort.php b/library/Businessprocess/Common/Sort.php index 3b0f6d4..4728af3 100644 --- a/library/Businessprocess/Common/Sort.php +++ b/library/Businessprocess/Common/Sort.php @@ -10,10 +10,10 @@ use ipl\Stdlib\Str; trait Sort { - /** @var string Current sort specification */ + /** @var ?string Current sort specification */ protected $sort; - /** @var callable Actual sorting function */ + /** @var ?callable Actual sorting function */ protected $sortFn; /** @@ -29,14 +29,18 @@ trait Sort /** * Set the sort specification * - * @param string $sort + * @param ?string $sort * * @return $this * * @throws InvalidArgumentException When sorting according to the specified specification is not possible */ - public function setSort(string $sort): self + public function setSort(?string $sort): self { + if (empty($sort)) { + return $this; + } + list($sortBy, $direction) = Str::symmetricSplit($sort, ' ', 2, 'asc'); switch ($sortBy) { diff --git a/library/Businessprocess/Renderer/Renderer.php b/library/Businessprocess/Renderer/Renderer.php index 9917ed6..6aa1363 100644 --- a/library/Businessprocess/Renderer/Renderer.php +++ b/library/Businessprocess/Renderer/Renderer.php @@ -145,6 +145,10 @@ abstract class Renderer extends HtmlDocument */ public function appliesCustomSorting(): bool { + if (empty($this->getSort())) { + return false; + } + list($sortBy, $_) = Str::symmetricSplit($this->getSort(), ' ', 2); list($defaultSortBy, $_) = Str::symmetricSplit($this->getDefaultSort(), ' ', 2); From 7346cd1cabff6ff7371eb86cdbabc5e4c6d65ffd Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Fri, 11 Aug 2023 12:00:20 +0200 Subject: [PATCH 06/38] HostServiceTermValidator:isValid(): Add missing `return` statement --- .../Web/Form/Validator/HostServiceTermValidator.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/Businessprocess/Web/Form/Validator/HostServiceTermValidator.php b/library/Businessprocess/Web/Form/Validator/HostServiceTermValidator.php index b141206..58249f7 100644 --- a/library/Businessprocess/Web/Form/Validator/HostServiceTermValidator.php +++ b/library/Businessprocess/Web/Form/Validator/HostServiceTermValidator.php @@ -44,6 +44,7 @@ class HostServiceTermValidator extends BaseValidator $terms = [$terms]; } + $isValid = true; $testConfig = new BpConfig(); foreach ($terms as $term) { @@ -60,6 +61,7 @@ class HostServiceTermValidator extends BaseValidator if ($this->parent->hasChild($term->getSearchValue())) { $term->setMessage($this->translate('Already defined in this process')); + $isValid = false; } else { $testConfig->getNode('__unbound__') ->addChild($node); @@ -81,10 +83,14 @@ class HostServiceTermValidator extends BaseValidator } else { $term->setMessage($this->translate('Host not found')); } + + $isValid = false; } else { $term->setLabel($node->getAlias()); $term->setClass($node->getObjectClassName()); } } + + return $isValid; } } From 21933d1868e6fb5640c4feb46dc6dab57a2a5e94 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Fri, 11 Aug 2023 15:49:50 +0200 Subject: [PATCH 07/38] NodeAction::create(): Avoid unnecessary variable initialization --- library/Businessprocess/Modification/NodeAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Businessprocess/Modification/NodeAction.php b/library/Businessprocess/Modification/NodeAction.php index 369c3a2..357615d 100644 --- a/library/Businessprocess/Modification/NodeAction.php +++ b/library/Businessprocess/Modification/NodeAction.php @@ -111,8 +111,8 @@ abstract class NodeAction public static function create($actionName, $nodeName) { $className = __NAMESPACE__ . '\\Node' . ucfirst($actionName) . 'Action'; - $object = new $className($nodeName); - return $object; + + return new $className($nodeName); } /** From 6306b5306cc040f7ca09e115c80459a7d4b182b0 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 09:50:53 +0200 Subject: [PATCH 08/38] Define variable type when method returns a class object - This helps the IDE to find class methods and resolves the `call to an undefined method` issue --- application/clicommands/ProcessCommand.php | 2 +- application/controllers/HostController.php | 5 ++++- application/controllers/ProcessController.php | 5 ++++- application/controllers/ServiceController.php | 5 ++++- application/forms/BpUploadForm.php | 2 +- application/forms/DeleteNodeForm.php | 3 +++ application/forms/MoveNodeForm.php | 5 ++++- application/forms/ProcessForm.php | 6 +++++- application/forms/SimulationForm.php | 2 ++ .../Businessprocess/Web/Form/QuickForm.php | 20 +++++++++++++------ library/Businessprocess/Web/Url.php | 6 ++++-- 11 files changed, 46 insertions(+), 15 deletions(-) diff --git a/application/clicommands/ProcessCommand.php b/application/clicommands/ProcessCommand.php index 3b470b8..2227ad3 100644 --- a/application/clicommands/ProcessCommand.php +++ b/application/clicommands/ProcessCommand.php @@ -132,8 +132,8 @@ class ProcessCommand extends Command } } - /** @var BpNode $node */ try { + /** @var BpNode $node */ $node = $bp->getNode($nodeName); if (Module::exists('icingadb') && (! $bp->hasBackendName() && IcingadbSupport::useIcingaDbAsBackend()) diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index ac724cf..09352d0 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -7,6 +7,7 @@ use Icinga\Module\Businessprocess\IcingaDbObject; use Icinga\Module\Businessprocess\ProvidedHook\Icingadb\IcingadbSupport; use Icinga\Module\Icingadb\Model\Host; use Icinga\Module\Monitoring\Controller; +use Icinga\Module\Monitoring\DataView\DataView; use Icinga\Web\Url; use ipl\Stdlib\Filter; @@ -54,7 +55,9 @@ class HostController extends Controller ->from('hoststatus', array('host_name')) ->where('host_name', $hostName); - if ($this->applyRestriction('monitoring/filter/objects', $query)->fetchRow() !== false) { + /** @var DataView $restrictedQuery */ + $restrictedQuery = $this->applyRestriction('monitoring/filter/objects', $query); + if ($restrictedQuery->fetchRow() !== false) { $this->redirectNow(Url::fromPath('monitoring/host/show')->setParams($this->params)); } } diff --git a/application/controllers/ProcessController.php b/application/controllers/ProcessController.php index 44429df..208c91e 100644 --- a/application/controllers/ProcessController.php +++ b/application/controllers/ProcessController.php @@ -35,6 +35,7 @@ use ipl\Html\HtmlString; use ipl\Html\TemplateString; use ipl\Html\Text; use ipl\Web\Control\SortControl; +use ipl\Web\FormElement\TermInput; use ipl\Web\Widget\Link; use ipl\Web\Widget\Icon; @@ -282,7 +283,9 @@ class ProcessController extends Controller ->handleRequest($this->getServerRequest()); if ($form->hasElement('children')) { - foreach ($form->getElement('children')->prepareMultipartUpdate($this->getServerRequest()) as $update) { + /** @var TermInput $childrenElement */ + $childrenElement = $form->getElement('children'); + foreach ($childrenElement->prepareMultipartUpdate($this->getServerRequest()) as $update) { if (! is_array($update)) { $update = [$update]; } diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 2c0563d..f10c791 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -7,6 +7,7 @@ use Icinga\Module\Businessprocess\IcingaDbObject; use Icinga\Module\Businessprocess\ProvidedHook\Icingadb\IcingadbSupport; use Icinga\Module\Icingadb\Model\Service; use Icinga\Module\Monitoring\Controller; +use Icinga\Module\Monitoring\DataView\DataView; use Icinga\Web\Url; use ipl\Stdlib\Filter; @@ -61,7 +62,9 @@ class ServiceController extends Controller ->where('host_name', $hostName) ->where('service_description', $serviceName); - if ($this->applyRestriction('monitoring/filter/objects', $query)->fetchRow() !== false) { + /** @var DataView $restrictedQuery */ + $restrictedQuery = $this->applyRestriction('monitoring/filter/objects', $query); + if ($restrictedQuery->fetchRow() !== false) { $this->redirectNow(Url::fromPath('monitoring/service/show')->setParams($this->params)); } } diff --git a/application/forms/BpUploadForm.php b/application/forms/BpUploadForm.php index ee3faf3..a746740 100644 --- a/application/forms/BpUploadForm.php +++ b/application/forms/BpUploadForm.php @@ -155,7 +155,7 @@ class BpUploadForm extends BpConfigBaseForm protected function processUploadedSource() { - /** @var \Zend_Form_Element_File $el */ + /** @var ?\Zend_Form_Element_File $el */ $el = $this->getElement('uploaded_file'); if ($el && $this->hasBeenSent()) { diff --git a/application/forms/DeleteNodeForm.php b/application/forms/DeleteNodeForm.php index 30fcdd4..ea39817 100644 --- a/application/forms/DeleteNodeForm.php +++ b/application/forms/DeleteNodeForm.php @@ -6,6 +6,7 @@ use Icinga\Module\Businessprocess\BpNode; use Icinga\Module\Businessprocess\Modification\ProcessChanges; use Icinga\Module\Businessprocess\Node; use Icinga\Module\Businessprocess\Web\Form\BpConfigBaseForm; +use Icinga\Web\View; class DeleteNodeForm extends BpConfigBaseForm { @@ -19,6 +20,8 @@ class DeleteNodeForm extends BpConfigBaseForm { $node = $this->node; $nodeName = $node->getAlias() ?? $node->getName(); + + /** @var View $view */ $view = $this->getView(); $this->addHtml( '

' . $view->escape( diff --git a/application/forms/MoveNodeForm.php b/application/forms/MoveNodeForm.php index 876ab90..81d15c7 100644 --- a/application/forms/MoveNodeForm.php +++ b/application/forms/MoveNodeForm.php @@ -3,6 +3,7 @@ namespace Icinga\Module\Businessprocess\Forms; use Icinga\Application\Icinga; +use Icinga\Application\Web; use Icinga\Exception\Http\HttpException; use Icinga\Module\Businessprocess\BpConfig; use Icinga\Module\Businessprocess\BpNode; @@ -136,7 +137,9 @@ class MoveNodeForm extends BpConfigBaseForm ); } catch (ModificationError $e) { $this->notifyError($e->getMessage()); - Icinga::app()->getResponse() + /** @var Web $app */ + $app = Icinga::app(); + $app->getResponse() // Web 2's JS forces a content update for non-200s. Our own JS // can't prevent this, hence we're not making this a 400 :( //->setHttpResponseCode(400) diff --git a/application/forms/ProcessForm.php b/application/forms/ProcessForm.php index 69ab1a6..126fe9b 100644 --- a/application/forms/ProcessForm.php +++ b/application/forms/ProcessForm.php @@ -7,6 +7,7 @@ use Icinga\Module\Businessprocess\Modification\ProcessChanges; use Icinga\Module\Businessprocess\Node; use Icinga\Module\Businessprocess\Web\Form\BpConfigBaseForm; use Icinga\Web\Notification; +use Icinga\Web\View; class ProcessForm extends BpConfigBaseForm { @@ -16,8 +17,11 @@ class ProcessForm extends BpConfigBaseForm public function setup() { if ($this->node !== null) { + /** @var View $view */ + $view = $this->getView(); + $this->addHtml( - '

' . $this->getView()->escape( + '

' . $view->escape( sprintf($this->translate('Modify "%s"'), $this->node->getAlias()) ) . '

' ); diff --git a/application/forms/SimulationForm.php b/application/forms/SimulationForm.php index 3d43e3a..938ffaf 100644 --- a/application/forms/SimulationForm.php +++ b/application/forms/SimulationForm.php @@ -5,6 +5,7 @@ namespace Icinga\Module\Businessprocess\Forms; use Icinga\Module\Businessprocess\MonitoredNode; use Icinga\Module\Businessprocess\Simulation; use Icinga\Module\Businessprocess\Web\Form\BpConfigBaseForm; +use Icinga\Web\View; class SimulationForm extends BpConfigBaseForm { @@ -36,6 +37,7 @@ class SimulationForm extends BpConfigBaseForm $node = $this->node; } + /** @var View $view */ $view = $this->getView(); if ($hasSimulation) { $title = $this->translate('Modify simulation for %s'); diff --git a/library/Businessprocess/Web/Form/QuickForm.php b/library/Businessprocess/Web/Form/QuickForm.php index c39b34b..451c66f 100644 --- a/library/Businessprocess/Web/Form/QuickForm.php +++ b/library/Businessprocess/Web/Form/QuickForm.php @@ -3,6 +3,7 @@ namespace Icinga\Module\Businessprocess\Web\Form; use Icinga\Application\Icinga; +use Icinga\Application\Web; use Icinga\Exception\ProgrammingError; use Icinga\Web\Notification; use Icinga\Web\Request; @@ -428,14 +429,18 @@ abstract class QuickForm extends QuickBaseForm protected function redirectAndExit($url) { + /** @var Web $app */ + $app = Icinga::app(); /** @var Response $response */ - $response = Icinga::app()->getFrontController()->getResponse(); + $response = $app->getFrontController()->getResponse(); $response->redirectAndExit($url); } protected function setHttpResponseCode($code) { - Icinga::app()->getFrontController()->getResponse()->setHttpResponseCode($code); + /** @var Web $app */ + $app = Icinga::app(); + $app->getFrontController()->getResponse()->setHttpResponseCode($code); return $this; } @@ -461,8 +466,10 @@ abstract class QuickForm extends QuickBaseForm public function getRequest() { if ($this->request === null) { + /** @var Web $app */ + $app = Icinga::app(); /** @var Request $request */ - $request = Icinga::app()->getFrontController()->getRequest(); + $request = $app->getFrontController()->getRequest(); $this->setRequest($request); } return $this->request; @@ -471,14 +478,15 @@ abstract class QuickForm extends QuickBaseForm public function hasBeenSent() { if ($this->hasBeenSent === null) { - - /** @var Request $req */ if ($this->request === null) { - $req = Icinga::app()->getFrontController()->getRequest(); + /** @var Web $app */ + $app = Icinga::app(); + $req = $app->getFrontController()->getRequest(); } else { $req = $this->request; } + /** @var Request $req */ if ($req->isPost()) { $post = $req->getPost(); $this->hasBeenSent = array_key_exists(self::ID, $post) && diff --git a/library/Businessprocess/Web/Url.php b/library/Businessprocess/Web/Url.php index 3c036d4..b07b9fb 100644 --- a/library/Businessprocess/Web/Url.php +++ b/library/Businessprocess/Web/Url.php @@ -3,6 +3,7 @@ namespace Icinga\Module\Businessprocess\Web; use Icinga\Application\Icinga; +use Icinga\Application\Web; use Icinga\Web\Url as WebUrl; /** @@ -19,8 +20,9 @@ class Url extends WebUrl $app = Icinga::app(); if ($app->isCli()) { return new FakeRequest(); - } else { - return $app->getRequest(); } + + /** @var Web $app */ + return $app->getRequest(); } } From 5899aa96ef98888b7e2b84f1dce9e41533c084c0 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:02:08 +0200 Subject: [PATCH 09/38] ProcessCommand: Define `$name` in method scope - Fixes variable is probably undefined --- application/clicommands/ProcessCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/clicommands/ProcessCommand.php b/application/clicommands/ProcessCommand.php index 2227ad3..018c1e3 100644 --- a/application/clicommands/ProcessCommand.php +++ b/application/clicommands/ProcessCommand.php @@ -110,8 +110,8 @@ class ProcessCommand extends Command exit(1); } + $name = $this->params->get('config'); try { - $name = $this->params->get('config'); if ($name === null) { $name = $this->getFirstProcessName(); } From 3fffecca3f55703ca885d6393b039b86cb0b6727 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:10:19 +0200 Subject: [PATCH 10/38] DeleteNodeForm: Make property `$parentNode` nullable --- application/forms/DeleteNodeForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/DeleteNodeForm.php b/application/forms/DeleteNodeForm.php index ea39817..dba0710 100644 --- a/application/forms/DeleteNodeForm.php +++ b/application/forms/DeleteNodeForm.php @@ -13,7 +13,7 @@ class DeleteNodeForm extends BpConfigBaseForm /** @var Node */ protected $node; - /** @var BpNode */ + /** @var ?BpNode */ protected $parentNode; public function setup() From 3643c799d0b4abf58f70d14f0ee5a08f62dcd69e Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:12:34 +0200 Subject: [PATCH 11/38] SimulationForm: Property `$simulatedNode` can be nullable --- application/forms/SimulationForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/SimulationForm.php b/application/forms/SimulationForm.php index 938ffaf..04a0f56 100644 --- a/application/forms/SimulationForm.php +++ b/application/forms/SimulationForm.php @@ -12,7 +12,7 @@ class SimulationForm extends BpConfigBaseForm /** @var MonitoredNode */ protected $node; - /** @var MonitoredNode */ + /** @var ?MonitoredNode */ protected $simulatedNode; /** @var Simulation */ From ae8e71106facb632e897ff5987a99216729ddc77 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:18:03 +0200 Subject: [PATCH 12/38] BpConfig::hasChanges(): Fix incorrect return type --- library/Businessprocess/BpConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/BpConfig.php b/library/Businessprocess/BpConfig.php index 30cdf56..2379cb4 100644 --- a/library/Businessprocess/BpConfig.php +++ b/library/Businessprocess/BpConfig.php @@ -226,7 +226,7 @@ class BpConfig /** * Whether changes have been applied to this configuration * - * @return int + * @return bool */ public function hasChanges() { From 598e9a1af04a92e6e976634e88a00c0c55e9fc0c Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:19:01 +0200 Subject: [PATCH 13/38] BpConfig::getNode(): Define exact return types in PhpDoc - This fixes the IDE's issue `Call to an undefined method`, which is caused by the fact that the parent class `Node` does not contain all the methods defined in the child classes. --- library/Businessprocess/BpConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/BpConfig.php b/library/Businessprocess/BpConfig.php index 2379cb4..c9e70fd 100644 --- a/library/Businessprocess/BpConfig.php +++ b/library/Businessprocess/BpConfig.php @@ -631,7 +631,7 @@ class BpConfig /** * @param string $name - * @return Node + * @return MonitoredNode|BpNode * @throws Exception */ public function getNode($name) From 541ec5da6c6c0d4e5ed1d8dfc8a050e6ce5d5d9c Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:36:23 +0200 Subject: [PATCH 14/38] BpNode: Property `$children` can be null --- library/Businessprocess/BpNode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/BpNode.php b/library/Businessprocess/BpNode.php index 9133eec..df90c67 100644 --- a/library/Businessprocess/BpNode.php +++ b/library/Businessprocess/BpNode.php @@ -21,7 +21,7 @@ class BpNode extends Node protected $display = 0; - /** @var Node[] */ + /** @var ?Node[] */ protected $children; /** @var array */ From f960d09cc2e912ec78d8c75253063e1bc7b01fd8 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:37:33 +0200 Subject: [PATCH 15/38] BpNode: Remove unreachable `break` statements --- library/Businessprocess/BpNode.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/Businessprocess/BpNode.php b/library/Businessprocess/BpNode.php index df90c67..ab76e3e 100644 --- a/library/Businessprocess/BpNode.php +++ b/library/Businessprocess/BpNode.php @@ -623,18 +623,14 @@ class BpNode extends Node switch ($this->getOperator()) { case self::OP_AND: return 'AND'; - break; case self::OP_OR: return 'OR'; case self::OP_XOR: return 'XOR'; - break; case self::OP_NOT: return 'NOT'; - break; case self::OP_DEGRADED: return 'DEG'; - break; default: // MIN $this->assertNumericOperator(); From ad3cb81dc926cc629094d1de95b026e7b54466b3 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:44:11 +0200 Subject: [PATCH 16/38] NodeAction: `json_decode()` $param#2 expects bool --- library/Businessprocess/Modification/NodeAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Modification/NodeAction.php b/library/Businessprocess/Modification/NodeAction.php index 357615d..b5baa5d 100644 --- a/library/Businessprocess/Modification/NodeAction.php +++ b/library/Businessprocess/Modification/NodeAction.php @@ -144,7 +144,7 @@ abstract class NodeAction */ public static function unSerialize($string) { - $object = json_decode($string, JSON_FORCE_OBJECT); + $object = json_decode($string, true); $action = self::create($object['actionName'], $object['nodeName']); foreach ($object['properties'] as $key => $val) { From 6934016ef083ea3229104b48b7637cac2a1a532e Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:53:25 +0200 Subject: [PATCH 17/38] Node: `var_export()` param#2 expects bool --- library/Businessprocess/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index a5af69b..836f62b 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -443,7 +443,7 @@ abstract class Node throw new ProgrammingError( 'Got invalid state for node %s: %s', $this->getName(), - var_export($state, 1) . var_export($this->stateToSortStateMap, 1) + var_export($state, true) . var_export($this->stateToSortStateMap, true) ); } From 3544c21056c3eee5d4eedc785ddc83f6bebfdade Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:57:59 +0200 Subject: [PATCH 18/38] Node: Property `$state` can be null --- library/Businessprocess/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index 836f62b..0510859 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -74,7 +74,7 @@ abstract class Node /** * Node state * - * @var int + * @var ?int */ protected $state; From ab8fe2aca6371ad9b8dfdde98fdbd55c195519d4 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:00:22 +0200 Subject: [PATCH 19/38] (ServiceDetail/DetailView)Extension: Property `$storage` can be null --- .../ProvidedHook/Icingadb/ServiceDetailExtension.php | 2 +- .../ProvidedHook/Monitoring/DetailviewExtension.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php b/library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php index d2fb173..6d10af2 100644 --- a/library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php +++ b/library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php @@ -16,7 +16,7 @@ use ipl\Html\ValidHtml; class ServiceDetailExtension extends ServiceDetailExtensionHook { - /** @var LegacyStorage */ + /** @var ?LegacyStorage */ private $storage; /** @var string */ diff --git a/library/Businessprocess/ProvidedHook/Monitoring/DetailviewExtension.php b/library/Businessprocess/ProvidedHook/Monitoring/DetailviewExtension.php index 9906df9..691acec 100644 --- a/library/Businessprocess/ProvidedHook/Monitoring/DetailviewExtension.php +++ b/library/Businessprocess/ProvidedHook/Monitoring/DetailviewExtension.php @@ -13,7 +13,7 @@ use Icinga\Module\Monitoring\Object\Service; class DetailviewExtension extends DetailviewExtensionHook { - /** @var LegacyStorage */ + /** @var ?LegacyStorage */ private $storage; /** @var string */ From 26b0d921ea2a907e1f0b4dc4302c489885c7a768 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:02:04 +0200 Subject: [PATCH 20/38] Renderer::renderStateBadges(): Return type can be null --- library/Businessprocess/Renderer/Renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Renderer/Renderer.php b/library/Businessprocess/Renderer/Renderer.php index 6aa1363..6a5d624 100644 --- a/library/Businessprocess/Renderer/Renderer.php +++ b/library/Businessprocess/Renderer/Renderer.php @@ -169,7 +169,7 @@ abstract class Renderer extends HtmlDocument /** * @param $summary - * @return BaseHtmlElement + * @return ?BaseHtmlElement */ public function renderStateBadges($summary, $totalChildren) { From 6f81fed8e7cf0593c97e35fd8713b908981e7507 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:11:12 +0200 Subject: [PATCH 21/38] NodeTile: Fix incorrect phpDoc --- library/Businessprocess/Renderer/TileRenderer/NodeTile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Renderer/TileRenderer/NodeTile.php b/library/Businessprocess/Renderer/TileRenderer/NodeTile.php index 652ca0e..9bc1c2f 100644 --- a/library/Businessprocess/Renderer/TileRenderer/NodeTile.php +++ b/library/Businessprocess/Renderer/TileRenderer/NodeTile.php @@ -37,7 +37,7 @@ class NodeTile extends BaseHtmlElement * @param Renderer $renderer * @param $name * @param Node $node - * @param null $path + * @param ?array $path */ public function __construct(Renderer $renderer, Node $node, $path = null) { From 7605d5e007bbdf6e9af05028417c48253b26eea1 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:20:15 +0200 Subject: [PATCH 22/38] LegacyConfigParser: Property `$prevKey` can be null --- library/Businessprocess/Storage/LegacyConfigParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Storage/LegacyConfigParser.php b/library/Businessprocess/Storage/LegacyConfigParser.php index 83c9240..cea02ae 100644 --- a/library/Businessprocess/Storage/LegacyConfigParser.php +++ b/library/Businessprocess/Storage/LegacyConfigParser.php @@ -11,7 +11,7 @@ use Icinga\Module\Businessprocess\Metadata; class LegacyConfigParser { - /** @var string */ + /** @var ?string */ protected static $prevKey; /** @var int */ From 43b391880db9190fba52c2ecbfdc8b2c98c4c357 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:21:45 +0200 Subject: [PATCH 23/38] LegacyConfigRenderer: Don't use dynamic property --- library/Businessprocess/Storage/LegacyConfigRenderer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Businessprocess/Storage/LegacyConfigRenderer.php b/library/Businessprocess/Storage/LegacyConfigRenderer.php index 430a7a5..1f7e23b 100644 --- a/library/Businessprocess/Storage/LegacyConfigRenderer.php +++ b/library/Businessprocess/Storage/LegacyConfigRenderer.php @@ -11,6 +11,8 @@ class LegacyConfigRenderer /** @var array */ protected $renderedNodes; + protected $config; + /** * LecagyConfigRenderer constructor * From d0df785bbde24e4d5bc2d0cdec2a254b7e7d32b8 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:24:06 +0200 Subject: [PATCH 24/38] BaseTestCase: Param `$subDir` can be null --- library/Businessprocess/Test/BaseTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Test/BaseTestCase.php b/library/Businessprocess/Test/BaseTestCase.php index daab69c..ba32b7c 100644 --- a/library/Businessprocess/Test/BaseTestCase.php +++ b/library/Businessprocess/Test/BaseTestCase.php @@ -49,7 +49,7 @@ abstract class BaseTestCase extends \Icinga\Test\BaseTestCase } /** - * @param null $subDir + * @param ?string $subDir * @return string */ protected function getTestsBaseDir($subDir = null) From 95776d309beecf72aa8f204313cfd8a2ff7b7acc Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:27:00 +0200 Subject: [PATCH 25/38] Controller::storage(): Only return an instance of `LegacyStorage` --- library/Businessprocess/Web/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Web/Controller.php b/library/Businessprocess/Web/Controller.php index 4f618b2..de07e4c 100644 --- a/library/Businessprocess/Web/Controller.php +++ b/library/Businessprocess/Web/Controller.php @@ -248,7 +248,7 @@ class Controller extends CompatController } /** - * @return LegacyStorage|Storage + * @return LegacyStorage */ protected function storage() { From 95504131d16a3df134cc91bda65e18f31accd921 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:31:42 +0200 Subject: [PATCH 26/38] FormLoader: Define var `$file` in method scope - Fixes IDE's message: `varibale $file is probabaly undefined` --- library/Businessprocess/Web/Form/FormLoader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Businessprocess/Web/Form/FormLoader.php b/library/Businessprocess/Web/Form/FormLoader.php index 965da4b..0cc5389 100644 --- a/library/Businessprocess/Web/Form/FormLoader.php +++ b/library/Businessprocess/Web/Form/FormLoader.php @@ -17,6 +17,8 @@ class FormLoader $basedir = $module->getFormDir(); $ns = '\\Icinga\\Module\\' . ucfirst($module->getName()) . '\\Forms\\'; } + + $file = null; if (preg_match('~^[a-z0-9/]+$~i', $name)) { $parts = preg_split('~/~', $name); $class = ucfirst(array_pop($parts)) . 'Form'; From 2efe54de1f28a58e811a9ac21457d2f54d1de865 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:39:24 +0200 Subject: [PATCH 27/38] QuickBaseForm: Property `$icingaModule` can be null --- library/Businessprocess/Web/Form/QuickBaseForm.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/Businessprocess/Web/Form/QuickBaseForm.php b/library/Businessprocess/Web/Form/QuickBaseForm.php index 3ef7b66..36d134f 100644 --- a/library/Businessprocess/Web/Form/QuickBaseForm.php +++ b/library/Businessprocess/Web/Form/QuickBaseForm.php @@ -13,7 +13,7 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml * The Icinga module this form belongs to. Usually only set if the * form is initialized through the FormLoader * - * @var Module + * @var ?Module */ protected $icingaModule; @@ -123,7 +123,6 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml } if (array_key_exists('icingaModule', $options)) { - /** @var Module icingaModule */ $this->icingaModule = $options['icingaModule']; $this->icingaModuleName = $this->icingaModule->getName(); unset($options['icingaModule']); From 52732dc3c7a8bc86e8931ac7bb42f39f6a6190f7 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:41:22 +0200 Subject: [PATCH 28/38] QuickForm: Make property `$successUrl` nullable and add phpDoc to `setAction()` --- library/Businessprocess/Web/Form/QuickForm.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/Businessprocess/Web/Form/QuickForm.php b/library/Businessprocess/Web/Form/QuickForm.php index 451c66f..cb4d287 100644 --- a/library/Businessprocess/Web/Form/QuickForm.php +++ b/library/Businessprocess/Web/Form/QuickForm.php @@ -46,7 +46,7 @@ abstract class QuickForm extends QuickBaseForm protected $request; /** - * @var Url + * @var ?Url */ protected $successUrl; @@ -252,6 +252,10 @@ abstract class QuickForm extends QuickBaseForm { } + /** + * @param $action string|Url + * @return $this + */ public function setAction($action) { if ($action instanceof Url) { From 74c3440ef95c9b2dc981ea57f63ddcf5001c51c1 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:44:27 +0200 Subject: [PATCH 29/38] ProcessProblemsBadge: Fix `variable $count is probably undefined` --- .../Web/Navigation/Renderer/ProcessProblemsBadge.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php b/library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php index a31a74b..575dc5e 100644 --- a/library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php +++ b/library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php @@ -19,12 +19,10 @@ class ProcessProblemsBadge extends BadgeNavigationItemRenderer public function getCount() { + $count = 0; if ($this->count === null) { $storage = LegacyStorage::getInstance(); - $count = 0; $bp = $storage->loadProcess($this->getBpConfigName()); - - foreach ($bp->getRootNodes() as $rootNode) { if (! $rootNode->isEmpty() && $rootNode->getState() !== $rootNode::ICINGA_PENDING From c497c7360ee744424f609b469eb115f0616aad66 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:46:49 +0200 Subject: [PATCH 30/38] Url::getRequest(): Add missing return type --- library/Businessprocess/Web/Url.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/Businessprocess/Web/Url.php b/library/Businessprocess/Web/Url.php index b07b9fb..92b1e85 100644 --- a/library/Businessprocess/Web/Url.php +++ b/library/Businessprocess/Web/Url.php @@ -4,6 +4,7 @@ namespace Icinga\Module\Businessprocess\Web; use Icinga\Application\Icinga; use Icinga\Application\Web; +use Icinga\Web\Request; use Icinga\Web\Url as WebUrl; /** @@ -15,6 +16,9 @@ use Icinga\Web\Url as WebUrl; */ class Url extends WebUrl { + /** + * @return FakeRequest|Request + */ protected static function getRequest() { $app = Icinga::app(); From f74a054d8ba2aa66452af3164d3469e2a19590ac Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 13:06:30 +0200 Subject: [PATCH 31/38] ProcessChanges: Fix incorrect phpDoc --- library/Businessprocess/Modification/ProcessChanges.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/Businessprocess/Modification/ProcessChanges.php b/library/Businessprocess/Modification/ProcessChanges.php index 0ed574c..9257558 100644 --- a/library/Businessprocess/Modification/ProcessChanges.php +++ b/library/Businessprocess/Modification/ProcessChanges.php @@ -100,7 +100,6 @@ class ProcessChanges /** * @param $nodeName - * @param Node|null $parent * @return $this */ public function copyNode($nodeName) @@ -211,7 +210,7 @@ class ProcessChanges /** * Number of stacked changes * - * @return bool + * @return int */ public function count() { From 9aabeb1e1c9531e6324decf548b4b3d1e770655c Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 22 Aug 2023 09:18:13 +0200 Subject: [PATCH 32/38] Fix call an undefined method `Filterable::fetchRow()` error --- application/controllers/HostController.php | 5 ++--- application/controllers/ServiceController.php | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index 09352d0..e22edde 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -55,9 +55,8 @@ class HostController extends Controller ->from('hoststatus', array('host_name')) ->where('host_name', $hostName); - /** @var DataView $restrictedQuery */ - $restrictedQuery = $this->applyRestriction('monitoring/filter/objects', $query); - if ($restrictedQuery->fetchRow() !== false) { + $this->applyRestriction('monitoring/filter/objects', $query); + if ($query->fetchRow() !== false) { $this->redirectNow(Url::fromPath('monitoring/host/show')->setParams($this->params)); } } diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index f10c791..671d00c 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -62,9 +62,8 @@ class ServiceController extends Controller ->where('host_name', $hostName) ->where('service_description', $serviceName); - /** @var DataView $restrictedQuery */ - $restrictedQuery = $this->applyRestriction('monitoring/filter/objects', $query); - if ($restrictedQuery->fetchRow() !== false) { + $this->applyRestriction('monitoring/filter/objects', $query); + if ($query->fetchRow() !== false) { $this->redirectNow(Url::fromPath('monitoring/service/show')->setParams($this->params)); } } From b2c25d35f7749ae8762507240c676b8430d447e8 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 24 Aug 2023 13:12:33 +0200 Subject: [PATCH 33/38] Node: Property $icon can be null --- library/Businessprocess/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index 0510859..c95295b 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -98,7 +98,7 @@ abstract class Node /** * This node's icon * - * @var string + * @var ?string */ protected $icon; From 1c6ad874acc14ee3a92aced0a2eabeb77a236b7b Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 22 Aug 2023 10:16:32 +0200 Subject: [PATCH 34/38] Add variable type hint & fix argument type hints --- application/forms/AddNodeForm.php | 4 +++- library/Businessprocess/Modification/NodeRemoveAction.php | 7 +++---- library/Businessprocess/Node.php | 4 ++-- library/Businessprocess/Renderer/Breadcrumb.php | 1 + library/Businessprocess/Renderer/TileRenderer/NodeTile.php | 1 - library/Businessprocess/Storage/LegacyConfigParser.php | 1 + library/Businessprocess/Web/Controller.php | 1 + 7 files changed, 11 insertions(+), 8 deletions(-) diff --git a/application/forms/AddNodeForm.php b/application/forms/AddNodeForm.php index 68299b7..3840d8a 100644 --- a/application/forms/AddNodeForm.php +++ b/application/forms/AddNodeForm.php @@ -378,9 +378,11 @@ class AddNodeForm extends CompatForm $changes->createNode(BpConfig::escapeName($this->getValue('name')), $properties); } else { + /** @var TermInput $term */ + $term = $this->getElement('children'); $children = array_unique(array_map(function ($term) { return $term->getSearchValue(); - }, $this->getElement('children')->getTerms())); + }, $term->getTerms())); if ($nodeType === 'host' || $nodeType === 'service') { $stateOverrides = $this->getValue('stateOverrides'); diff --git a/library/Businessprocess/Modification/NodeRemoveAction.php b/library/Businessprocess/Modification/NodeRemoveAction.php index 05a2a92..6100146 100644 --- a/library/Businessprocess/Modification/NodeRemoveAction.php +++ b/library/Businessprocess/Modification/NodeRemoveAction.php @@ -68,10 +68,9 @@ class NodeRemoveAction extends NodeAction $parentName = $this->getParentName(); $node = $config->getNode($name); - $this->updateStateOverrides( - $node, - $parentName ? $config->getNode($parentName) : null - ); + /** @var ?BpNode $parentBpNode */ + $parentBpNode = $parentName ? $config->getNode($parentName) : null; + $this->updateStateOverrides($node, $parentBpNode); if ($parentName === null) { if (! $config->hasBpNode($name)) { diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index c95295b..a0c07d2 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -47,7 +47,7 @@ abstract class Node self::NODE_EMPTY => 0 ); - /** @var string Alias of the node */ + /** @var ?string Alias of the node */ protected $alias; /** @@ -346,7 +346,7 @@ abstract class Node /** * Get the alias of the node * - * @return string + * @return ?string */ public function getAlias() { diff --git a/library/Businessprocess/Renderer/Breadcrumb.php b/library/Businessprocess/Renderer/Breadcrumb.php index b0f986b..4272b76 100644 --- a/library/Businessprocess/Renderer/Breadcrumb.php +++ b/library/Businessprocess/Renderer/Breadcrumb.php @@ -48,6 +48,7 @@ class Breadcrumb extends BaseHtmlElement $parts = array(); while ($nodeName = array_pop($path)) { + /** @var BpNode $node */ $node = $bp->getNode($nodeName); $renderer->setParentNode($node); array_unshift( diff --git a/library/Businessprocess/Renderer/TileRenderer/NodeTile.php b/library/Businessprocess/Renderer/TileRenderer/NodeTile.php index 9bc1c2f..1f32f54 100644 --- a/library/Businessprocess/Renderer/TileRenderer/NodeTile.php +++ b/library/Businessprocess/Renderer/TileRenderer/NodeTile.php @@ -35,7 +35,6 @@ class NodeTile extends BaseHtmlElement /** * NodeTile constructor. * @param Renderer $renderer - * @param $name * @param Node $node * @param ?array $path */ diff --git a/library/Businessprocess/Storage/LegacyConfigParser.php b/library/Businessprocess/Storage/LegacyConfigParser.php index cea02ae..754c7ff 100644 --- a/library/Businessprocess/Storage/LegacyConfigParser.php +++ b/library/Businessprocess/Storage/LegacyConfigParser.php @@ -247,6 +247,7 @@ class LegacyConfigParser { // state_overrides !|n-n[,n-n]!|n-n[,n-n] $segments = preg_split('~\s*!\s*~', substr($line, 16)); + /** @var BpNode $node */ $node = $bp->getNode(array_shift($segments)); foreach ($segments as $overrideDef) { list($childName, $overrides) = preg_split('~\s*\|\s*~', $overrideDef, 2); diff --git a/library/Businessprocess/Web/Controller.php b/library/Businessprocess/Web/Controller.php index de07e4c..43200cc 100644 --- a/library/Businessprocess/Web/Controller.php +++ b/library/Businessprocess/Web/Controller.php @@ -210,6 +210,7 @@ class Controller extends CompatController protected function loadBpConfig() { $name = $this->params->get('config'); + /** @var LegacyStorage $storage */ $storage = $this->storage(); if (! $storage->hasProcess($name)) { From 1f3514ce2b5c4db801ff29e843ff65522baa4dc8 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 22 Aug 2023 12:11:51 +0200 Subject: [PATCH 35/38] phpstan: Set level to max and add `baseline` config --- phpstan-baseline.neon | 4536 +++++++++++++++++++++++++++++++++++++++++ phpstan.neon | 5 +- 2 files changed, 4540 insertions(+), 1 deletion(-) create mode 100644 phpstan-baseline.neon diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon new file mode 100644 index 0000000..b259017 --- /dev/null +++ b/phpstan-baseline.neon @@ -0,0 +1,4536 @@ +parameters: + ignoreErrors: + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\CheckCommand\\:\\:listActions\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/CheckCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\CheckCommand\\:\\:processAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/CheckCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\CleanupCommand\\:\\:init\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/CleanupCommand.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, int\\|string given\\.$#" + count: 1 + path: application/clicommands/CleanupCommand.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\CleanupCommand\\:\\:\\$defaultActionName has no type specified\\.$#" + count: 1 + path: application/clicommands/CleanupCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:checkAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:getFirstProcessName\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:init\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:listAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:listBpNames\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:listConfigNames\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:listConfigNames\\(\\) has parameter \\$withTitle with no type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:renderProblemTree\\(\\) has no return type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:renderProblemTree\\(\\) has parameter \\$depth with no type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:renderProblemTree\\(\\) has parameter \\$tree with no type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:renderProblemTree\\(\\) has parameter \\$useColors with no type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Parameter \\#1 \\$rootCause of method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getProblemTreeBlame\\(\\) expects bool, mixed given\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:\\$hostColors has no type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Clicommands\\\\ProcessCommand\\:\\:\\$serviceColors has no type specified\\.$#" + count: 1 + path: application/clicommands/ProcessCommand.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\HostController\\:\\:moduleInit\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/HostController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\HostController\\:\\:showAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/HostController.php + + - + message: "#^Parameter \\#2 \\$value of method Icinga\\\\Web\\\\UrlParams\\:\\:add\\(\\) expects bool\\|string, mixed given\\.$#" + count: 1 + path: application/controllers/HostController.php + + - + message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#" + count: 1 + path: application/controllers/HostController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\IndexController\\:\\:indexAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/IndexController.php + + - + message: "#^Binary operation \"\\+\" between int\\|string and 1 results in an error\\.$#" + count: 1 + path: application/controllers/NodeController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\NodeController\\:\\:impactAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/NodeController.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/controllers/NodeController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:configAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:createAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:createConfigActionBar\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:createConfigActionBar\\(\\) has parameter \\$showDiff with no type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:downloadAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:getNode\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:getProcessTabs\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:handleFormatRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:handleSimulations\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:loadActionForm\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:prepareControls\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:prepareControls\\(\\) has parameter \\$bp with no type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:prepareControls\\(\\) has parameter \\$renderer with no type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:prepareRenderer\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:prepareRenderer\\(\\) has parameter \\$bp with no type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:prepareRenderer\\(\\) has parameter \\$node with no type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:setDynamicAutorefresh\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:showAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:showErrors\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:showHints\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:showWarnings\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:sourceAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:tabsForConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:tabsForShow\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ProcessController\\:\\:uploadAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, mixed given\\.$#" + count: 6 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$node of method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:setParentNode\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null, Icinga\\\\Module\\\\Businessprocess\\\\Node\\|null given\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$node of method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\EditNodeForm\\:\\:setParentNode\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null, Icinga\\\\Module\\\\Businessprocess\\\\Node\\|null given\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$path of method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:setPath\\(\\) expects array, mixed given\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$stream of function fpassthru expects resource, resource\\|false given\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$stream of function fputcsv expects resource, resource\\|false given\\.$#" + count: 2 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$stream of function rewind expects resource, resource\\|false given\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\$string of function strtolower expects string, mixed given\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Parameter \\#1 \\(mixed\\) of echo cannot be converted to string\\.$#" + count: 1 + path: application/controllers/ProcessController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ServiceController\\:\\:moduleInit\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ServiceController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\ServiceController\\:\\:showAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/ServiceController.php + + - + message: "#^Parameter \\#2 \\$value of method Icinga\\\\Web\\\\UrlParams\\:\\:add\\(\\) expects bool\\|string, mixed given\\.$#" + count: 2 + path: application/controllers/ServiceController.php + + - + message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#" + count: 2 + path: application/controllers/ServiceController.php + + - + message: "#^Cannot access property \\$display_name on mixed\\.$#" + count: 2 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot access property \\$host on mixed\\.$#" + count: 2 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot access property \\$name on mixed\\.$#" + count: 2 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot call method getExcludeTerms\\(\\) on ipl\\\\Web\\\\FormElement\\\\TermInput\\\\TermSuggestions\\|null\\.$#" + count: 5 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot call method getOriginalSearchValue\\(\\) on ipl\\\\Web\\\\FormElement\\\\TermInput\\\\TermSuggestions\\|null\\.$#" + count: 14 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot call method getSearchTerm\\(\\) on ipl\\\\Web\\\\FormElement\\\\TermInput\\\\TermSuggestions\\|null\\.$#" + count: 26 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot call method matchSearch\\(\\) on ipl\\\\Web\\\\FormElement\\\\TermInput\\\\TermSuggestions\\|null\\.$#" + count: 2 + path: application/controllers/SuggestionsController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\SuggestionsController\\:\\:icingadbHostAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/SuggestionsController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\SuggestionsController\\:\\:icingadbServiceAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/SuggestionsController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\SuggestionsController\\:\\:monitoringHostAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/SuggestionsController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\SuggestionsController\\:\\:monitoringServiceAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/SuggestionsController.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Controllers\\\\SuggestionsController\\:\\:processAction\\(\\) has no return type specified\\.$#" + count: 1 + path: application/controllers/SuggestionsController.php + + - + message: "#^Parameter \\#1 \\$filter of method Icinga\\\\Module\\\\Monitoring\\\\DataView\\\\DataView\\:\\:applyFilter\\(\\) expects Icinga\\\\Data\\\\Filter\\\\Filter, Icinga\\\\Data\\\\Filter\\\\Filter\\|null given\\.$#" + count: 2 + path: application/controllers/SuggestionsController.php + + - + message: "#^Parameter \\#2 \\$filter of static method Icinga\\\\Data\\\\Filter\\\\Filter\\:\\:where\\(\\) expects string, string\\|null given\\.$#" + count: 14 + path: application/controllers/SuggestionsController.php + + - + message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, string\\|null given\\.$#" + count: 12 + path: application/controllers/SuggestionsController.php + + - + message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:like\\(\\) expects array\\\\|string, string\\|null given\\.$#" + count: 12 + path: application/controllers/SuggestionsController.php + + - + message: "#^Cannot call method getBackend\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 2 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method getMetadata\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method getName\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 2 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method getNode\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method getRootNodes\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method getStateOverrides\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method hasNode\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method hasRootNode\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method isEmpty\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 2 + path: application/forms/AddNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:applyManualSorting\\(\\) has parameter \\$bpNodes with no value type specified in iterable type array\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:applyManualSorting\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:sort\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\AddNodeForm\\:\\:sort\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Parameter \\#1 \\$bp of static method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:construct\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpConfig, Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null given\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Parameter \\#1 \\$name of static method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:escapeName\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Parameter \\#1 \\$node of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:modifyNode\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\Node, Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null given\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Parameter \\#1 \\$parent of method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Validator\\\\HostServiceTermValidator\\:\\:setParent\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpNode, Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null given\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: application/forms/AddNodeForm.php + + - + message: "#^Cannot call method getLabel\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Cannot call method setAttrib\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Cannot call method setValue\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:hasDeleteButton\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:onRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:onSetup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:shouldBeDeleted\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 5 + path: application/forms/BpConfigForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpConfigForm\\:\\:\\$deleteButtonName has no type specified\\.$#" + count: 1 + path: application/forms/BpConfigForm.php + + - + message: "#^Access to an undefined property Zend_Form_Element_File\\:\\:\\$file\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:getTempDir\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:getUploadedConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:hasSource\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:parseSubmittedSourceCode\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:processUploadedSource\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:showDetails\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:showUpload\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" + count: 2 + path: application/forms/BpUploadForm.php + + - + message: "#^Parameter \\#2 \\$options of method Zend_Form_Element_File\\:\\:addFilter\\(\\) expects array\\|string\\|null, string\\|false given\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:\\$deleteButtonName has no type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:\\$node has no type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:\\$objectList has no type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:\\$processList has no type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\BpUploadForm\\:\\:\\$sourceCode has no type specified\\.$#" + count: 1 + path: application/forms/BpUploadForm.php + + - + message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: application/forms/CleanupNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\CleanupNodeForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/CleanupNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\CleanupNodeForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/CleanupNodeForm.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/forms/CleanupNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\DeleteNodeForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/DeleteNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\DeleteNodeForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/DeleteNodeForm.php + + - + message: "#^Cannot call method getAlias\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\Node\\|null\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getBackend\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 2 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getChildNames\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getMetadata\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getName\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getName\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null\\.$#" + count: 3 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getName\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\Node\\|null\\.$#" + count: 3 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getNode\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null\\.$#" + count: 2 + path: application/forms/EditNodeForm.php + + - + message: "#^Cannot call method getStateOverrides\\(\\) on Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null\\.$#" + count: 2 + path: application/forms/EditNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\EditNodeForm\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\EditNodeForm\\:\\:identifyChosenNode\\(\\) should return Icinga\\\\Module\\\\Businessprocess\\\\Node but returns Icinga\\\\Module\\\\Businessprocess\\\\Node\\|null\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\EditNodeForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Parameter \\#1 \\$bp of static method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:construct\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpConfig, Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\|null given\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Parameter \\#1 \\$name of static method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:joinNodeName\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Parameter \\#1 \\$node of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:deleteNode\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\Node, Icinga\\\\Module\\\\Businessprocess\\\\Node\\|null given\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Parameter \\#1 \\$node of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:modifyNode\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\Node, Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null given\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Parameter \\#1 \\$parent of method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Validator\\\\HostServiceTermValidator\\:\\:setParent\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpNode, Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null given\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Parameter \\#3 \\$to of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:moveNode\\(\\) expects int, int\\|string\\|false given\\.$#" + count: 1 + path: application/forms/EditNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\MoveNodeForm\\:\\:hasBeenSent\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\MoveNodeForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\MoveNodeForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Parameter \\#1 \\$token of static method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\CsrfToken\\:\\:isValid\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Parameter \\#2 \\$from of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:moveNode\\(\\) expects int, mixed given\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Parameter \\#3 \\$to of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:moveNode\\(\\) expects int, mixed given\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Parameter \\#4 \\$newParent of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:moveNode\\(\\) expects string, mixed given\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\MoveNodeForm\\:\\:\\$parentNode \\(Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\) does not accept Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null\\.$#" + count: 1 + path: application/forms/MoveNodeForm.php + + - + message: "#^Cannot call method setValue\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 4 + path: application/forms/ProcessForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\ProcessForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/ProcessForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\ProcessForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/ProcessForm.php + + - + message: "#^Parameter \\#1 \\$nodeName of method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:createNode\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\Node\\|string, mixed given\\.$#" + count: 1 + path: application/forms/ProcessForm.php + + - + message: "#^Cannot access property \\$acknowledged on mixed\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Cannot access property \\$in_downtime on mixed\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Cannot access property \\$state on mixed\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\SimulationForm\\:\\:enumStateNames\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\SimulationForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\SimulationForm\\:\\:setNode\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\SimulationForm\\:\\:setNode\\(\\) has parameter \\$node with no type specified\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\SimulationForm\\:\\:setSimulation\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Forms\\\\SimulationForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: application/forms/SimulationForm.php + + - + message: "#^Method Zend_View_Helper_FormSimpleNote\\:\\:formSimpleNote\\(\\) has no return type specified\\.$#" + count: 1 + path: application/views/helpers/FormSimpleNote.php + + - + message: "#^Method Zend_View_Helper_FormSimpleNote\\:\\:formSimpleNote\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: application/views/helpers/FormSimpleNote.php + + - + message: "#^Method Zend_View_Helper_FormSimpleNote\\:\\:formSimpleNote\\(\\) has parameter \\$value with no type specified\\.$#" + count: 1 + path: application/views/helpers/FormSimpleNote.php + + - + message: "#^Method Zend_View_Helper_RenderStateBadges\\:\\:renderStateBadges\\(\\) has no return type specified\\.$#" + count: 1 + path: application/views/helpers/RenderStateBadges.php + + - + message: "#^Method Zend_View_Helper_RenderStateBadges\\:\\:renderStateBadges\\(\\) has parameter \\$summary with no type specified\\.$#" + count: 1 + path: application/views/helpers/RenderStateBadges.php + + - + message: "#^Cannot access offset 0 on array\\\\|false\\.$#" + count: 2 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Cannot use array destructuring on array\\\\|false\\.$#" + count: 2 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:addNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:addRootNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:addRootNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:beginLoopDetection\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:beginLoopDetection\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:calculateAllStates\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:clearAllStates\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:clearAppliedChanges\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:countSimulations\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createHost\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createHost\\(\\) has parameter \\$host with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createImportedNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createImportedNode\\(\\) has parameter \\$config with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createImportedNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createMissingBp\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createMissingBp\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createService\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createService\\(\\) has parameter \\$host with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:createService\\(\\) has parameter \\$service with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:endLoopDetection\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:endLoopDetection\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:escapeName\\(\\) should return string but returns string\\|null\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getBackendName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getBpNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getErrors\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getImportedConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getImportedConfig\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getImportedNodes\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getMissingChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNodes\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getStateType\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getTitle\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getWarnings\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasBackendName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasBeenChanged\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasBpNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasRootNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasRootNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasSimulations\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:hasTitle\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:isReferenced\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:isRootNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:isRootNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:listBpNodes\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:listInvolvedConfigs\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:listInvolvedConfigs\\(\\) has parameter \\$configs with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:listInvolvedHostNames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:listInvolvedHostNames\\(\\) has parameter \\$usedConfigs with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:listRootNodes\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:removeNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:removeNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:removeRootNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:removeRootNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:setBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:setBackend\\(\\) has parameter \\$backend with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:setName\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:setTitle\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:setTitle\\(\\) has parameter \\$title with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:splitNodeName\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:translate\\(\\) has parameter \\$msg with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:useHardStates\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:useSoftStates\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:usesHardStates\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:usesSoftStates\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:warn\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:warn\\(\\) has parameter \\$msg with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Parameter \\#1 \\$alias of method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setAlias\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Parameter \\#1 \\$format of function sprintf expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Parameter \\#2 \\$values of function vsprintf expects array\\, array\\ given\\.$#" + count: 2 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$changeCount has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$errors type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$hosts type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$loopDetection has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$nodes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$root_nodes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$simulationCount has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:\\$warnings type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpConfig.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:__construct\\(\\) has parameter \\$object with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:assertNumericOperator\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:assertValidOperator\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:assertValidOperator\\(\\) has parameter \\$operator with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:checkForLoops\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getChildBpNodes\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getChildByName\\(\\) has parameter \\$childName with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getChildNames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getChildren\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getDisplay\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getHtmlId\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getInfoUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getMissingChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getOperator\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getProblemTree\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getProblemTreeBlame\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getProblematicChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getState\\(\\) should return int but returns int\\|null\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getStateOverrides\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getStateOverrides\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:getStateSummary\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:hasChild\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:hasChild\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:hasChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:hasChildren\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:hasInfoUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:hasProblems\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:invertSortingState\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:invertSortingState\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:isEmpty\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:isMissing\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:operatorHtml\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:removeChild\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:removeChild\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setChildNames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setChildNames\\(\\) has parameter \\$names with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setDisplay\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setDisplay\\(\\) has parameter \\$display with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setInfoUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setInfoUrl\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setOperator\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setOperator\\(\\) has parameter \\$operator with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setStateOverrides\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setStateOverrides\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:setStateOverrides\\(\\) has parameter \\$overrides with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\\\|null given\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$childNames type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$className has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$counters has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$display has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$empty has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$emptyStateSummary has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$missing has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$missingChildren has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$operator has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$sortStateInversionMap has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$stateOverrides has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\:\\:\\$url has no type specified\\.$#" + count: 1 + path: library/Businessprocess/BpNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Director\\\\ShipConfigFiles\\:\\:fetchFiles\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Director/ShipConfigFiles.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:__construct\\(\\) has parameter \\$object with no type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:getHostname\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:getUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:\\$className has no type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:\\$hostname has no type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:\\$sortStateToStateMap has no type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:\\$stateNames has no type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\HostNode\\:\\:\\$stateToSortStateMap has no type specified\\.$#" + count: 1 + path: library/Businessprocess/HostNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:applyIcingaDbRestrictions\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:applyIcingaDbRestrictions\\(\\) has parameter \\$query with no type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:fetchDb\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:fetchHosts\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:fetchHosts\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:fetchServices\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:fetchServices\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:yieldHostnames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:yieldHostnames\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:yieldServicenames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\IcingaDbObject\\:\\:yieldServicenames\\(\\) has parameter \\$host with no type specified\\.$#" + count: 1 + path: library/Businessprocess/IcingaDbObject.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ImportedNode\\:\\:__construct\\(\\) has parameter \\$object with no type specified\\.$#" + count: 1 + path: library/Businessprocess/ImportedNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ImportedNode\\:\\:getBpConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ImportedNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ImportedNode\\:\\:getChildNames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ImportedNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ImportedNode\\:\\:getIdentifier\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ImportedNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ImportedNode\\:\\:getOperator\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ImportedNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ImportedNode\\:\\:isMissing\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ImportedNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:__construct\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:assertKeyExists\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:assertKeyExists\\(\\) has parameter \\$key with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:canModify\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:canRead\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:get\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:get\\(\\) has parameter \\$default with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:get\\(\\) has parameter \\$key with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:getAuth\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:getExtendedTitle\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:getProperties\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:getTitle\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:has\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:has\\(\\) has parameter \\$key with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:hasKey\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:hasKey\\(\\) has parameter \\$key with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:hasOneOfTheAllowedRoles\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:hasRestrictions\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:isInAllowedUserList\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:isInAllowedUserList\\(\\) has parameter \\$username with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:isManuallyOrdered\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:isMemberOfAllowedGroups\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:isNull\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:isNull\\(\\) has parameter \\$key with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:listAllowedGroups\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:listAllowedRoles\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:listAllowedUsers\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:nameIsPrefixedWithOneOf\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:nameIsPrefixedWithOneOf\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:ownerIs\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:ownerIs\\(\\) has parameter \\$username with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:set\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:set\\(\\) has parameter \\$key with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:set\\(\\) has parameter \\$value with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:splitCommaSeparated\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:splitCommaSeparated\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:userCanRead\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Metadata\\:\\:\\$properties has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Metadata.php + + - + message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Cannot access offset 'actionName' on mixed\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Cannot access offset 'nodeName' on mixed\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Cannot access offset 'properties' on mixed\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:create\\(\\) should return static\\(Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\) but returns object\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:error\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:hasNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:serialize\\(\\) should return string but returns string\\|false\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:unSerialize\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^PHPDoc tag @param has invalid value \\(mixed \\.\\.\\.\\)\\: Unexpected token \"\\\\n \\*\", expected variable at offset 100$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Parameter \\#1 \\$actionName of static method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Parameter \\#1 \\$string of function ucfirst expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Parameter \\#2 \\$nodeName of static method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\:\\:\\$preserveProperties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAction.php + + - + message: "#^Cannot use array destructuring on array\\\\|false\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAddChildrenAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAddChildrenAction\\:\\:getChildren\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAddChildrenAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAddChildrenAction\\:\\:setChildren\\(\\) has parameter \\$children with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAddChildrenAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAddChildrenAction\\:\\:\\$children has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAddChildrenAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAddChildrenAction\\:\\:\\$preserveProperties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeAddChildrenAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeApplyManualOrderAction\\:\\:applyManualSorting\\(\\) has parameter \\$bpNodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeApplyManualOrderAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeApplyManualOrderAction\\:\\:applyManualSorting\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeApplyManualOrderAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeApplyManualOrderAction\\:\\:sort\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeApplyManualOrderAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeApplyManualOrderAction\\:\\:sort\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeApplyManualOrderAction.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeApplyManualOrderAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCopyAction\\:\\:applyManualSorting\\(\\) has parameter \\$bpNodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCopyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCopyAction\\:\\:applyManualSorting\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCopyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCopyAction\\:\\:sort\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCopyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCopyAction\\:\\:sort\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCopyAction.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCopyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCreateAction\\:\\:getProperties\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCreateAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCreateAction\\:\\:setParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCreateAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCreateAction\\:\\:setParentName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCreateAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCreateAction\\:\\:setProperties\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCreateAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCreateAction\\:\\:\\$preserveProperties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCreateAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeCreateAction\\:\\:\\$properties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeCreateAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:getFormerProperties\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:getProperties\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:setFormerProperties\\(\\) has parameter \\$properties with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:setNodeProperties\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:setProperties\\(\\) has parameter \\$properties with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:\\$formerProperties has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:\\$preserveProperties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeModifyAction\\:\\:\\$properties has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeModifyAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:applyManualSorting\\(\\) has parameter \\$bpNodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:applyManualSorting\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:getFrom\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:getNewParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:getParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:getTo\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setFrom\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setFrom\\(\\) has parameter \\$from with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setNewParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setNewParent\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setParent\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setTo\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:setTo\\(\\) has parameter \\$to with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:sort\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:sort\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:\\$from \\(int\\) does not accept int\\|false\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:\\$from \\(int\\) does not accept int\\|string\\|false\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:\\$preserveProperties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:\\$to \\(int\\) does not accept int\\|false\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeMoveAction\\:\\:\\$to \\(int\\) does not accept int\\|string\\|false\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeMoveAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeRemoveAction\\:\\:setParentName\\(\\) has parameter \\$parentName with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeRemoveAction.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeRemoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeRemoveAction\\:\\:\\$parentName has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeRemoveAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeRemoveAction\\:\\:\\$preserveProperties type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/NodeRemoveAction.php + + - + message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:addChildrenToNode\\(\\) has parameter \\$children with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:copyNode\\(\\) has parameter \\$nodeName with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:createNode\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:hasBeenModified\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:modifyNode\\(\\) has parameter \\$properties with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:pop\\(\\) should return bool\\|Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction but returns Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\|null\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:serialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\ProcessChanges\\:\\:shift\\(\\) should return bool\\|Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction but returns Icinga\\\\Module\\\\Businessprocess\\\\Modification\\\\NodeAction\\|null\\.$#" + count: 1 + path: library/Businessprocess/Modification/ProcessChanges.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\MonitoredNode\\:\\:getLink\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/MonitoredNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\MonitoredNode\\:\\:getUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/MonitoredNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\Backend\\\\Ido\\\\Query\\\\HostStatusQuery\\:\\:joinCustomvar\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/HostStatusQuery.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\Backend\\\\Ido\\\\Query\\\\HostStatusQuery\\:\\:joinCustomvar\\(\\) has parameter \\$customvar with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/HostStatusQuery.php + + - + message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/HostStatusQuery.php + + - + message: "#^Parameter \\#4 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/HostStatusQuery.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\Backend\\\\Ido\\\\Query\\\\HostStatusQuery\\:\\:\\$customVarsJoinTemplate has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/HostStatusQuery.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\Backend\\\\Ido\\\\Query\\\\ServiceStatusQuery\\:\\:joinCustomvar\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/ServiceStatusQuery.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\Backend\\\\Ido\\\\Query\\\\ServiceStatusQuery\\:\\:joinCustomvar\\(\\) has parameter \\$customvar with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/ServiceStatusQuery.php + + - + message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/ServiceStatusQuery.php + + - + message: "#^Parameter \\#4 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/ServiceStatusQuery.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\Backend\\\\Ido\\\\Query\\\\ServiceStatusQuery\\:\\:\\$customVarsJoinTemplate has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/Backend/Ido/Query/ServiceStatusQuery.php + + - + message: "#^Call to an undefined method Icinga\\\\Data\\\\ConnectionInterface\\:\\:getResource\\(\\)\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/DataView/HostStatus.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\DataView\\\\HostStatus\\:\\:__construct\\(\\) has parameter \\$columns with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/DataView/HostStatus.php + + - + message: "#^Call to an undefined method Icinga\\\\Data\\\\ConnectionInterface\\:\\:getResource\\(\\)\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/DataView/ServiceStatus.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Monitoring\\\\DataView\\\\ServiceStatus\\:\\:__construct\\(\\) has parameter \\$columns with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Monitoring/DataView/ServiceStatus.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:addParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:countChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:countChildren\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:enumStateNames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getBpConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getChildren\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getDuration\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getIdentifier\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getLastStateChange\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getLink\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getMissingChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getObjectClassName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getOperators\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getPaths\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getSortingState\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getSortingState\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getState\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getStateName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:getStateName\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasAlias\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasBeenChanged\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasChildren\\(\\) has parameter \\$filter with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasInfoUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasMissingChildren\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasParentName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasParentName\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:hasParents\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:isAcknowledged\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:isEmpty\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:isHandled\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:isInDowntime\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:isMissing\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:isProblem\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:operatorHtml\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:removeParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:removeParent\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setAck\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setAck\\(\\) has parameter \\$ack with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setAckIsOk\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setBpConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setDowntime\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setDowntime\\(\\) has parameter \\$downtime with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setDowntimeIsOk\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setLastStateChange\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setLastStateChange\\(\\) has parameter \\$timestamp with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setMissing\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setMissing\\(\\) has parameter \\$missing with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setState\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:setState\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:sortStateTostate\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:sortStateTostate\\(\\) has parameter \\$sortState with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:stateToSortState\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:stateToSortState\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:toArray\\(\\) has parameter \\$parent with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$className has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$duration has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$empty has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$missing has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$parents type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$sortStateToStateMap has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$stateNames has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Node\\:\\:\\$stateToSortStateMap has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Node.php + + - + message: "#^Parameter \\#1 \\$name of static method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:joinNodeName\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Icingadb/HostActions.php + + - + message: "#^Cannot access property \\$name on mixed\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Icingadb/ServiceActions.php + + - + message: "#^Parameter \\#2 \\$suffix of static method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:joinNodeName\\(\\) expects string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Icingadb/ServiceActions.php + + - + message: "#^Cannot access offset 'icingacli…' on mixed\\.$#" + count: 2 + path: library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php + + - + message: "#^Cannot access offset 'icingaweb…' on mixed\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ProvidedHook\\\\Icingadb\\\\ServiceDetailExtension\\:\\:init\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\ProvidedHook\\\\Icingadb\\\\ServiceDetailExtension\\:\\:\\$commandName \\(string\\) does not accept mixed\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Icingadb/ServiceDetailExtension.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ProvidedHook\\\\Monitoring\\\\DetailviewExtension\\:\\:init\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Monitoring/DetailviewExtension.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\ProvidedHook\\\\Monitoring\\\\DetailviewExtension\\:\\:\\$commandName \\(string\\) does not accept mixed\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Monitoring/DetailviewExtension.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ProvidedHook\\\\Monitoring\\\\HostActions\\:\\:getActionsForHost\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Monitoring/HostActions.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ProvidedHook\\\\Monitoring\\\\ServiceActions\\:\\:getActionsForService\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/ProvidedHook/Monitoring/ServiceActions.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Breadcrumb\\:\\:renderNode\\(\\) has parameter \\$path with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Breadcrumb.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Breadcrumb\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Breadcrumb.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:applyManualSorting\\(\\) has parameter \\$bpNodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:applyManualSorting\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createBadge\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createBadge\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createBadge\\(\\) has parameter \\$summary with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createBadgeGroup\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createBadgeGroup\\(\\) has parameter \\$state with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createBadgeGroup\\(\\) has parameter \\$summary with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:createUnboundParent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:getCurrentPath\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:getId\\(\\) has parameter \\$path with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:getNodeClasses\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:getPath\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:getUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:isBreadcrumb\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:renderStateBadges\\(\\) has parameter \\$summary with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:renderStateBadges\\(\\) has parameter \\$totalChildren with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:rendersImportedNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:setParentNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:setPath\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:setPath\\(\\) has parameter \\$path with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:sort\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:sort\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:\\$parent \\(Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\) does not accept Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|null\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:\\$path type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/Renderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:__construct\\(\\) has parameter \\$path with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:actions\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:addActionLinks\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:addActions\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:addDetailsActions\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:buildBaseNodeUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:getMainNodeUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:makeBpUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:\\$name has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:\\$node has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:\\$path has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TileRenderer\\\\NodeTile\\:\\:\\$renderer has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TileRenderer/NodeTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:actionIcon\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:actionIcon\\(\\) has parameter \\$icon with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:actionIcon\\(\\) has parameter \\$title with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:actionIcon\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:createEditAction\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:createInfoAction\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:createSimulationAction\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:getActionIcons\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:getNodeIcons\\(\\) has parameter \\$path with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:getOverriddenState\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:getOverriddenState\\(\\) has parameter \\$fakeState with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:getStateClassNames\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderAddNewNode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderAddNewNode\\(\\) has parameter \\$parent with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderBp\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderChild\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderChild\\(\\) has parameter \\$bp with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderChild\\(\\) has parameter \\$path with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderNode\\(\\) has parameter \\$path with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Parameter \\#1 \\$node of method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\Renderer\\:\\:getSourceUrl\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpNode, Icinga\\\\Module\\\\Businessprocess\\\\Node given\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Parameter \\#2 \\$parent of method Icinga\\\\Module\\\\Businessprocess\\\\Renderer\\\\TreeRenderer\\:\\:renderChild\\(\\) expects Icinga\\\\Module\\\\Businessprocess\\\\BpNode, Icinga\\\\Module\\\\Businessprocess\\\\Node given\\.$#" + count: 1 + path: library/Businessprocess/Renderer/TreeRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:__construct\\(\\) has parameter \\$object with no type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:getHostname\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:getServiceDescription\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:getUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:\\$className has no type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:\\$hostname has no type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\ServiceNode\\:\\:\\$service has no type specified\\.$#" + count: 1 + path: library/Businessprocess/ServiceNode.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:__construct\\(\\) has parameter \\$simulations with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:create\\(\\) has parameter \\$simulations with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:getNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:hasNode\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:remove\\(\\) has parameter \\$node with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:set\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:set\\(\\) has parameter \\$node with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:set\\(\\) has parameter \\$properties with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:setSimulations\\(\\) has parameter \\$simulations with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:simulations\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:\\$simulations \\(array\\) does not accept mixed\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Simulation\\:\\:\\$simulations type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Simulation.php + + - + message: "#^Cannot access property \\$hex_id on mixed\\.$#" + count: 8 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Cannot access property \\$id on mixed\\.$#" + count: 6 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\IcingaDbState\\:\\:apply\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\IcingaDbState\\:\\:handleDbRow\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\IcingaDbState\\:\\:handleDbRow\\(\\) has parameter \\$row with no type specified\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\IcingaDbState\\:\\:handleDbRow\\(\\) has parameter \\$type with no type specified\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\IcingaDbState\\:\\:reallyRetrieveStatesFromBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\IcingaDbState\\:\\:retrieveStatesFromBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Parameter \\#1 \\$msg of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:addError\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#" + count: 2 + path: library/Businessprocess/State/IcingaDbState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\MonitoringState\\:\\:apply\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/MonitoringState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\MonitoringState\\:\\:handleDbRow\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/MonitoringState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\MonitoringState\\:\\:handleDbRow\\(\\) has parameter \\$row with no type specified\\.$#" + count: 1 + path: library/Businessprocess/State/MonitoringState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\MonitoringState\\:\\:reallyRetrieveStatesFromBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/MonitoringState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\State\\\\MonitoringState\\:\\:retrieveStatesFromBackend\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/State/MonitoringState.php + + - + message: "#^Parameter \\#1 \\$msg of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:addError\\(\\) expects string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/State/MonitoringState.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:__construct\\(\\) has parameter \\$a with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:__construct\\(\\) has parameter \\$b with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:create\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:create\\(\\) has parameter \\$a with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:create\\(\\) has parameter \\$b with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:renderHtmlInline\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:renderHtmlSideBySide\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:renderTextContext\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:renderTextUnified\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:\\$a has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:\\$b has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:\\$diff has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\ConfigDiff\\:\\:\\$opcodes has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/ConfigDiff.php + + - + message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" + count: 5 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Cannot use array destructuring on array\\\\|false\\.$#" + count: 7 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:__construct\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:emptyHeader\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseDisplay\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseDisplay\\(\\) has parameter \\$line with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseError\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseError\\(\\) has parameter \\$msg with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseExtraLine\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseExtraLine\\(\\) has parameter \\$line with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseExtraLine\\(\\) has parameter \\$typeLength with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseFile\\(\\) has parameter \\$filename with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseFile\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseHeaderLine\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseHeaderLine\\(\\) has parameter \\$line with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseInfoUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseInfoUrl\\(\\) has parameter \\$line with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseLine\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseLine\\(\\) has parameter \\$line with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseStateOverrides\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseStateOverrides\\(\\) has parameter \\$line with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseString\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:parseString\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readHeaderString\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readHeaderString\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readMetadataFromFileHeader\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readMetadataFromFileHeader\\(\\) has parameter \\$filename with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readMetadataFromFileHeader\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readMetadataFromString\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readMetadataFromString\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:readMetadataFromString\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:reallyParseFile\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:reallyParseFile\\(\\) has parameter \\$filename with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:resolveMissingNodes\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:splitCommaSeparated\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:splitCommaSeparated\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Offset 0 does not exist on string\\|null\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#1 \\$array of function array_shift expects array, array\\\\|false given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|null given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#1 \\$name of method Icinga\\\\Module\\\\Businessprocess\\\\BpConfig\\:\\:getNode\\(\\) expects string, string\\|null given\\.$#" + count: 2 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#1 \\$stream of function fgets expects resource, resource\\|false given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|null given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|null given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Parameter \\#2 \\$subject of function preg_split expects string, string\\|null given\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:\\$missingNodes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigParser\\:\\:\\$name has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigParser.php + + - + message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigRenderer\\:\\:renderStateOverrides\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigRenderer.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigRenderer\\:\\:\\$config has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigRenderer.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyConfigRenderer\\:\\:\\$renderedNodes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyConfigRenderer.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:deleteProcess\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:getConfigDir\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:getFilename\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:getFilename\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:getSource\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:getSource\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:hasProcess\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:listAllProcessNames\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:listProcessNames\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:listProcesses\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:loadFromString\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:loadFromString\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:loadProcess\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\LegacyStorage\\:\\:prepareDefaultConfigDir\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/LegacyStorage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:deleteProcess\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:getInstance\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:hasProcess\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:init\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:listAllProcessNames\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:listProcessNames\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:listProcesses\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Storage\\\\Storage\\:\\:loadProcess\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Storage/Storage.php + + - + message: "#^Call to an undefined method Icinga\\\\Web\\\\Request\\:\\:shouldReceive\\(\\)\\.$#" + count: 1 + path: library/Businessprocess/Test/BaseTestCase.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Test\\\\BaseTestCase\\:\\:emptyConfigSection\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Test/BaseTestCase.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Test\\\\BaseTestCase\\:\\:makeLoop\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Test/BaseTestCase.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Test\\\\Bootstrap\\:\\:cli\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Test/Bootstrap.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Test\\\\Bootstrap\\:\\:cli\\(\\) has parameter \\$basedir with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Test/Bootstrap.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\ActionBar\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/ActionBar.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$attributes with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$description with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$icon with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$title with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:__construct\\(\\) has parameter \\$urlParams with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\BpDashboardTile\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/BpDashboardTile.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\Content\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/Content.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\Controls\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/Controls.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\Dashboard\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/Dashboard.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:__construct\\(\\) has parameter \\$attributes with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:__construct\\(\\) has parameter \\$description with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:__construct\\(\\) has parameter \\$icon with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:__construct\\(\\) has parameter \\$title with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:__construct\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:__construct\\(\\) has parameter \\$urlParams with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\DashboardAction\\:\\:\\$defaultAttributes type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/DashboardAction.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\RenderedProcessActionBar\\:\\:currentProcessParams\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/RenderedProcessActionBar.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Component\\\\WtfTabs\\:\\:render\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Component/WtfTabs.php + + - + message: "#^Access to an undefined property Zend_Controller_Action_HelperBroker\\:\\:\\$viewRenderer\\.$#" + count: 3 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Call to an undefined method Zend_Controller_Action_HelperBroker\\:\\:layout\\(\\)\\.$#" + count: 2 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:addTitle\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:addTitle\\(\\) has parameter \\$title with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:doNotRender\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:loadBpConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:loadForm\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:loadForm\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:loadModifiedBpConfig\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:session\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:setViewScript\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:setViewScript\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Controller\\:\\:singleTab\\(\\) has parameter \\$label with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, mixed given\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Parameter \\#2 \\$values of function vsprintf expects array\\, array\\ given\\.$#" + count: 1 + path: library/Businessprocess/Web/Controller.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\FakeRequest\\:\\:getBaseUrl\\(\\) has parameter \\$raw with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/FakeRequest.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\FakeRequest\\:\\:setConfiguredBaseUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/FakeRequest.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\FakeRequest\\:\\:setConfiguredBaseUrl\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/FakeRequest.php + + - + message: "#^Cannot call method addError\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 2 + path: library/Businessprocess/Web/Form/BpConfigBaseForm.php + + - + message: "#^Cannot call method getUsername\\(\\) on Icinga\\\\User\\|null\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/BpConfigBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\BpConfigBaseForm\\:\\:listAvailableBackends\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/BpConfigBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\BpConfigBaseForm\\:\\:prepareMetadata\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/BpConfigBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\BpConfigBaseForm\\:\\:setPreferredDecorators\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/BpConfigBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\CsrfToken\\:\\:getSessionId\\(\\) should return string but returns string\\|false\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/CsrfToken.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Element\\\\IplStateOverrides\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Element/IplStateOverrides.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Element\\\\IplStateOverrides\\:\\:getOptions\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Element/IplStateOverrides.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Element\\\\IplStateOverrides\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Element/IplStateOverrides.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Element\\\\IplStateOverrides\\:\\:registerAttributeCallbacks\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Element/IplStateOverrides.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Element\\\\IplStateOverrides\\:\\:setOptions\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Element/IplStateOverrides.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\Element\\\\IplStateOverrides\\:\\:\\$options type has no value type specified in iterable type array\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Element/IplStateOverrides.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\FormLoader\\:\\:load\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/FormLoader.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\FormLoader\\:\\:load\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/FormLoader.php + + - + message: "#^Parameter \\#1 \\$array of function array_pop expects array, array\\\\|false given\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/FormLoader.php + + - + message: "#^Cannot call method setDecorators\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Cannot call method setValue\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 2 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHidden\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHidden\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHidden\\(\\) has parameter \\$value with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHtml\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHtml\\(\\) has parameter \\$html with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHtml\\(\\) has parameter \\$options with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHtmlHint\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHtmlHint\\(\\) has parameter \\$html with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addHtmlHint\\(\\) has parameter \\$options with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addPrefixPathsForBusinessprocess\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:addPrefixPathsForModule\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:callZfConstructor\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:callZfConstructor\\(\\) has parameter \\$options with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:handleOptions\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:handleOptions\\(\\) has parameter \\$options with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:initializePrefixPaths\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:loadForm\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:loadForm\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:optionalEnum\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:optionalEnum\\(\\) has parameter \\$enum with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:optionalEnum\\(\\) has parameter \\$nullLabel with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:setIcingaModule\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:translate\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:translate\\(\\) has parameter \\$string with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:valueIsEmpty\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:valueIsEmpty\\(\\) has parameter \\$value with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:\\$hintCount has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickBaseForm\\:\\:\\$icingaModuleName has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickBaseForm.php + + - + message: "#^Cannot call method setHttpResponseCode\\(\\) on Zend_Controller_Response_Abstract\\|null\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Cannot call method setIgnore\\(\\) on Zend_Form_Element\\|null\\.$#" + count: 2 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addException\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addException\\(\\) has parameter \\$elementName with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addSimpleDisplayGroup\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addSimpleDisplayGroup\\(\\) has parameter \\$elements with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addSimpleDisplayGroup\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addSimpleDisplayGroup\\(\\) has parameter \\$options with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:addSubmitButtonIfSet\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:beforeSetup\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:beforeValidation\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:beforeValidation\\(\\) has parameter \\$data with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:createIdElement\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:detectName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getActionFromRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSentValue\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSentValue\\(\\) has parameter \\$default with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSentValue\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSubmitLabel\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSuccessMessage\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSuccessMessage\\(\\) has parameter \\$message with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:getSuccessUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:handleRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:hasBeenSent\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:hasBeenSubmitted\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:hasSubmitButton\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:isApiRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:notifyError\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:notifyError\\(\\) has parameter \\$message with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:notifySuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:notifySuccess\\(\\) has parameter \\$message with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:onFailure\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:onRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:onSetup\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:onSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:prepareElements\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:pressedButton\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:pressedButton\\(\\) has parameter \\$label with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:pressedButton\\(\\) has parameter \\$name with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:redirectAndExit\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:redirectAndExit\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:redirectOnSuccess\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:redirectOnSuccess\\(\\) has parameter \\$message with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:regenerateCsrfToken\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:removeCsrfToken\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setApiRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setApiRequest\\(\\) has parameter \\$isApiRequest with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setHttpResponseCode\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setHttpResponseCode\\(\\) has parameter \\$code with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setPreferredDecorators\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setRequest\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSubmitLabel\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSubmitLabel\\(\\) has parameter \\$label with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSuccessMessage\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSuccessMessage\\(\\) has parameter \\$message with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSuccessUrl\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSuccessUrl\\(\\) has parameter \\$params with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setSuccessUrl\\(\\) has parameter \\$url with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:setup\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Parameter \\#1 \\$array of function array_pop expects array, array\\\\|false given\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$deleteButtonName has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$didSetup has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$fakeSubmitButtonName has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$formName has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$hasBeenSent has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$hasBeenSubmitted has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$isApiRequest has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$request has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$submitButtonName has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$submitLabel has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Property Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Form\\\\QuickForm\\:\\:\\$successMessage has no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/QuickForm.php + + - + message: "#^Call to an undefined method Icinga\\\\Module\\\\Businessprocess\\\\BpNode\\|Icinga\\\\Module\\\\Businessprocess\\\\MonitoredNode\\:\\:addChild\\(\\)\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Validator/HostServiceTermValidator.php + + - + message: "#^Parameter \\#1 \\$label of method ipl\\\\Web\\\\FormElement\\\\TermInput\\\\Term\\:\\:setLabel\\(\\) expects string, string\\|null given\\.$#" + count: 1 + path: library/Businessprocess/Web/Form/Validator/HostServiceTermValidator.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Navigation\\\\Renderer\\\\ProcessProblemsBadge\\:\\:getBpConfigName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Navigation\\\\Renderer\\\\ProcessProblemsBadge\\:\\:setBpConfigName\\(\\) has no return type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php + + - + message: "#^Method Icinga\\\\Module\\\\Businessprocess\\\\Web\\\\Navigation\\\\Renderer\\\\ProcessProblemsBadge\\:\\:setBpConfigName\\(\\) has parameter \\$bpConfigName with no type specified\\.$#" + count: 1 + path: library/Businessprocess/Web/Navigation/Renderer/ProcessProblemsBadge.php diff --git a/phpstan.neon b/phpstan.neon index 9698adb..d4fbc54 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,8 @@ +includes: + - phpstan-baseline.neon + parameters: - level: 5 + level: max checkFunctionNameCase: true checkInternalClassCaseSensitivity: true From b1025c6745896ecb05cd8e90a98fb2ec52e70e97 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 23 Aug 2023 15:52:20 +0200 Subject: [PATCH 36/38] phpstan: Don't report errors that we do not acknowledge as errors --- phpstan.neon | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index d4fbc54..8197570 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -16,7 +16,11 @@ parameters: - vendor ignoreErrors: - - '#Unsafe usage of new static\(\)#' + - + messages: + - '#Unsafe usage of new static\(\)#' + - '#. but return statement is missing#' + reportUnmatched: false universalObjectCratesClasses: - Icinga\Web\View From 8e5c3d349fb910b277e368073395bbedcbffc58e Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Thu, 24 Aug 2023 13:38:01 +0200 Subject: [PATCH 37/38] phpstan: Analyze tests is not necessary --- phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index 8197570..8c09b51 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -15,6 +15,9 @@ parameters: scanDirectories: - vendor + excludePaths: + - library/Businessprocess/Test + ignoreErrors: - messages: From 36cd13ad295c13118b9da6c5d7ef54101385c957 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 30 Aug 2023 10:16:31 +0200 Subject: [PATCH 38/38] Github Action: Do not cancel further tests if one fails --- .github/workflows/php.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index eded62d..7171ae8 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -40,16 +40,16 @@ jobs: git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git vendor/icinga-php-thirdparty - name: PHP Lint - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: ./vendor/bin/phplint -n --exclude={^vendor/.*} -- . - name: PHP CodeSniffer - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: phpcs - name: PHPStan + if: ${{ ! cancelled() }} uses: php-actions/phpstan@v3 - if: success() || matrix.allow_failure test: name: Unit tests with php ${{ matrix.php }} on ${{ matrix.os }}