Skip to content

Only accept null values for nullable state columns #196

Only accept null values for nullable state columns

Only accept null values for nullable state columns #196

Triggered via pull request October 31, 2024 15:43
Status Success
Total duration 2m 17s
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 7.2 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Common/StateBadges.php#L137
Parameter #2 $url of class ipl\Web\Widget\Link constructor expects ipl\Web\Url|string, ipl\Web\Url|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Data/CsvResultSet.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/CsvResultSet.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Data/VolatileCsvResults.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_values expects array, mixed given\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Data/VolatileCsvResults.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L34
Parameter #1 $name of method Icinga\Module\Icingadb\Model\Behavior\HasProblematicParent::isSelectableColumn() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Model/Behavior/HasProblematicParent.php#L41
Parameter #1 $alias of method ipl\Orm\Resolver::qualifyColumnAlias() expects string, mixed given.