Skip to content

GitHub Actions: Add PHPStan #2394

GitHub Actions: Add PHPStan

GitHub Actions: Add PHPStan #2394

Triggered via pull request August 23, 2023 10:14
Status Failure
Total duration 2m 26s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

60 errors
Static analysis for php 7.3 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Authentication/ObjectAuthorization)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Authentication\ObjectAuthorization::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatHost)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatHost::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatService)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatService::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Command/CommandForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Command\CommandForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Navigation/ActionForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Navigation\ActionForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Hook/TabHook)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Hook\TabHook::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Behavior/FlattenedObjectVars)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Host)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Host::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Service)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Service::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Authentication/ObjectAuthorization)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Authentication\ObjectAuthorization::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatHost)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatHost::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatService)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatService::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Command/CommandForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Command\CommandForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Navigation/ActionForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Navigation\ActionForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Hook/TabHook)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Hook\TabHook::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Behavior/FlattenedObjectVars)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Host)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Host::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Service)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Service::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Authentication/ObjectAuthorization)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Authentication\ObjectAuthorization::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatHost)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatHost::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatService)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatService::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Command/CommandForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Command\CommandForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Navigation/ActionForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Navigation\ActionForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Hook/TabHook)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Hook\TabHook::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Behavior/FlattenedObjectVars)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Host)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Host::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Service)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Service::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Authentication/ObjectAuthorization)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Authentication\ObjectAuthorization::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatHost)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatHost::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatService)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatService::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Command/CommandForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Command\CommandForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Navigation/ActionForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Navigation\ActionForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Hook/TabHook)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Hook\TabHook::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Behavior/FlattenedObjectVars)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Host)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Host::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Service)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Service::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Authentication/ObjectAuthorization)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Authentication\ObjectAuthorization::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatHost)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatHost::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatService)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatService::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Command/CommandForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Command\CommandForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Navigation/ActionForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Navigation\ActionForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Hook/TabHook)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Hook\TabHook::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Behavior/FlattenedObjectVars)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Host)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Host::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Service)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Service::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Authentication/ObjectAuthorization)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Authentication\ObjectAuthorization::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatHost)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatHost::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Compat/CompatService)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Compat\CompatService::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Command/CommandForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Command\CommandForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Forms/Navigation/ActionForm)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Forms\Navigation\ActionForm::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Hook/TabHook)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Hook\TabHook::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Behavior/FlattenedObjectVars)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Host)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Host::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Common/Auth.php (in context of class Icinga/Module/Icingadb/Model/Service)#L383
Parameter #1 $filterRule of method Icinga\Module\Icingadb\Model\Service::forceQueryOptimization() expects ipl\Stdlib\Filter\Rule, mixed given.