Skip to content

Macros: Add missing support for DateTime type macro #294

Macros: Add missing support for DateTime type macro

Macros: Add missing support for DateTime type macro #294

Triggered via pull request January 9, 2025 11:24
Status Success
Total duration 1m 35s
Artifacts

phpstan.yml

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

Annotations

64 errors and 7 warnings
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/Hook/ExtensionHook/ObjectDetailExtensionHook.php#L1
Ignored error pattern #^Method Icinga\\Module\\Icingadb\\Hook\\ExtensionHook\\ObjectDetailExtensionHook\:\:loadExtensions\(\) should return array\<int, ipl\\Html\\ValidHtml\> but returns array\<int\|string, ipl\\Html\\HtmlElement\|ipl\\Html\\Text\>\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Hook/ExtensionHook/ObjectDetailExtensionHook.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icingadb/Setup/DbResourcePage.php#L73
Cannot call method addDecorator() on Zend_Form_Element|null.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest
Process completed with exit code 1.
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.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 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/Hook/ExtensionHook/ObjectDetailExtensionHook.php#L1
Ignored error pattern #^Method Icinga\\Module\\Icingadb\\Hook\\ExtensionHook\\ObjectDetailExtensionHook\:\:loadExtensions\(\) should return array\<int, ipl\\Html\\ValidHtml\> but returns array\<int\|string, ipl\\Html\\HtmlElement\|ipl\\Html\\Text\>\.$# in path /home/runner/work/icingadb-web/icingadb-web/library/Icingadb/Hook/ExtensionHook/ObjectDetailExtensionHook.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icingadb/Setup/DbResourcePage.php#L73
Cannot call method addDecorator() on Zend_Form_Element|null.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest
Process completed with exit code 1.
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.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 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 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
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 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 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