Skip to content

Only accept null values for nullable state columns #238

Only accept null values for nullable state columns

Only accept null values for nullable state columns #238

Triggered via pull request November 20, 2024 10:00
Status Success
Total duration 1m 22s
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.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.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.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 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 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.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.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.