Skip to content

Introduce child options for service downtimes #202

Introduce child options for service downtimes

Introduce child options for service downtimes #202

Triggered via pull request November 12, 2024 13:17
Status Success
Total duration 1m 38s
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/clicommands/MigrateCommand.php#L512
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/MigrateCommand.php#L635
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/MigrateCommand.php#L786
Method Icinga\Module\Icingadb\Clicommands\MigrateCommand::readFromIni() should return Icinga\Application\Config but returns mixed.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/MigrateCommand.php#L512
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/MigrateCommand.php#L635
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/MigrateCommand.php#L786
Method Icinga\Module\Icingadb\Clicommands\MigrateCommand::readFromIni() should return Icinga\Application\Config but returns mixed.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Cannot call method getTimestamp\(\) on mixed\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Cannot call method getUsername\(\) on Icinga\\User\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Cannot cast mixed to int\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Parameter \#1 \$comment of method Icinga\\Module\\Icingadb\\Command\\Object\\WithCommentCommand\:\:setComment\(\) expects string, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L78
Ignored error pattern #^Call to an undefined method ipl\\Html\\Contract\\FormElement\:\:isChecked\(\)\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L83
Call to an undefined method Icinga\Module\Icingadb\Command\IcingaCommand::setForAllServices().
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Command/Object/ScheduleServiceDowntimeForm.php#L283
Parameter #1 $option of method Icinga\Module\Icingadb\Command\Object\ScheduleDowntimeCommand::setChildOption() expects 0|1|2, int given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/MigrateCommand.php#L512
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/MigrateCommand.php#L635
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/MigrateCommand.php#L786
Method Icinga\Module\Icingadb\Clicommands\MigrateCommand::readFromIni() should return Icinga\Application\Config but returns mixed.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/MigrateCommand.php#L512
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/MigrateCommand.php#L635
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/MigrateCommand.php#L786
Method Icinga\Module\Icingadb\Clicommands\MigrateCommand::readFromIni() should return Icinga\Application\Config but returns mixed.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/MigrateCommand.php#L512
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/MigrateCommand.php#L635
Parameter #1 $string of static method ipl\Web\Filter\QueryString::parse() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/MigrateCommand.php#L786
Method Icinga\Module\Icingadb\Clicommands\MigrateCommand::readFromIni() should return Icinga\Application\Config but returns mixed.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Cannot call method getTimestamp\(\) on mixed\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Cannot call method getUsername\(\) on Icinga\\User\|null\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Cannot cast mixed to int\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L1
Ignored error pattern #^Parameter \#1 \$comment of method Icinga\\Module\\Icingadb\\Command\\Object\\WithCommentCommand\:\:setComment\(\) expects string, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L78
Ignored error pattern #^Call to an undefined method ipl\\Html\\Contract\\FormElement\:\:isChecked\(\)\.$# in path /home/runner/work/icingadb-web/icingadb-web/application/forms/Command/Object/ScheduleHostDowntimeForm.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleHostDowntimeForm.php#L83
Call to an undefined method Icinga\Module\Icingadb\Command\IcingaCommand::setForAllServices().
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Command/Object/ScheduleServiceDowntimeForm.php#L283
Parameter #1 $option of method Icinga\Module\Icingadb\Command\Object\ScheduleDowntimeCommand::setChildOption() expects 0|1|2, int given.