Skip to content

Support mute, unmute and notification suppression #449

Support mute, unmute and notification suppression

Support mute, unmute and notification suppression #449

Triggered via pull request July 4, 2024 14:18
Status Success
Total duration 1m 13s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

70 errors
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ChannelsController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ChannelsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ChannelsController.php#L183
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$name of method ipl\\Web\\Widget\\Tabs\:\:add\(\) expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/controllers/ConfigController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L53
Parameter #1 $name of method ipl\Web\Widget\Tabs::add() expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ContactGroupController.php#L36
Parameter #2 $value of static method ipl\Stdlib\Filter::equal() expects array|bool|float|int|string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ContactGroupController.php#L45
Parameter #1 $content of static method ipl\Html\Text::create() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ContactGroupController.php#L47
Parameter #1 $paginatable of method ipl\Web\Compat\CompatController::createPaginationControl() expects ipl\Stdlib\Contract\Paginatable, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ContactGroupController.php#L53
Parameter #1 $id of static method Icinga\Module\Notifications\Common\Links::contactGroupEdit() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ContactGroupController.php#L59
Parameter #1 $data of class Icinga\Module\Notifications\Widget\ItemList\ContactList constructor expects ipl\Orm\ResultSet|iterable<object>, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ContactGroupController.php#L62
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.