Skip to content

Hide unreachable parents in root problems #259

Hide unreachable parents in root problems

Hide unreachable parents in root problems #259

Triggered via pull request December 11, 2024 07:50
Status Success
Total duration 1m 26s
Artifacts

phpstan.yml

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

Annotations

70 errors and 7 warnings
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 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 7.3 on ubuntu-latest: application/controllers/RedundancygroupController.php#L50
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$groupId (string) does not accept mixed.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/RedundancygroupController.php#L64
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$group (Icinga\Module\Icingadb\Model\RedundancyGroup) does not accept ipl\Orm\Model|null.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/RedundancygroupController.php#L78
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$groupSummary (Icinga\Module\Icingadb\Model\RedundancyGroupSummary) does not accept ipl\Orm\Model|null.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/RedundancygroupController.php#L80
Parameter #2 $summary of class Icinga\Module\Icingadb\Widget\Detail\RedundancyGroupHeader constructor expects Icinga\Module\Icingadb\Model\RedundancyGroupSummary, ipl\Orm\Model|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/RedundancygroupController.php#L189
Parameter #2 $value of method Icinga\Web\UrlParams::set() expects string, true given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/RedundancygroupController.php#L322
Method Icinga\Module\Icingadb\Controllers\RedundancygroupController::fetchCommandTargets() has no return type specified.
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 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 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.2 on ubuntu-latest: application/controllers/RedundancygroupController.php#L50
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$groupId (string) does not accept mixed.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/RedundancygroupController.php#L64
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$group (Icinga\Module\Icingadb\Model\RedundancyGroup) does not accept ipl\Orm\Model|null.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/RedundancygroupController.php#L78
Property Icinga\Module\Icingadb\Controllers\RedundancygroupController::$groupSummary (Icinga\Module\Icingadb\Model\RedundancyGroupSummary) does not accept ipl\Orm\Model|null.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/RedundancygroupController.php#L80
Parameter #2 $summary of class Icinga\Module\Icingadb\Widget\Detail\RedundancyGroupHeader constructor expects Icinga\Module\Icingadb\Model\RedundancyGroupSummary, ipl\Orm\Model|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/RedundancygroupController.php#L189
Parameter #2 $value of method Icinga\Web\UrlParams::set() expects string, true given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/RedundancygroupController.php#L322
Method Icinga\Module\Icingadb\Controllers\RedundancygroupController::fetchCommandTargets() has no return type specified.
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.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.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636