Skip to content

Phpstan: Fix deprecated function param types #158

Phpstan: Fix deprecated function param types

Phpstan: Fix deprecated function param types #158

Triggered via pull request January 17, 2024 15:34
Status Failure
Total duration 2m 41s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

70 errors
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $string of function bin2hex expects string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $string of function explode expects string, mixed given.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 8.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $data of function bin2hex expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $data of function bin2hex expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $string of function bin2hex expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $string of function explode expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $string of function bin2hex expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $string of function explode expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $data of function bin2hex expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L26
Method Icinga\Module\Director\Clicommands\BasketCommand::listAction() has no return type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L46
Method Icinga\Module\Director\Clicommands\BasketCommand::dumpAction() has no return type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L62
Method Icinga\Module\Director\Clicommands\BasketCommand::snapshotAction() has no return type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L67
Parameter #1 $string of function bin2hex expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L91
Method Icinga\Module\Director\Clicommands\BasketCommand::restoreAction() has no return type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L94
Parameter #2 $string of function explode expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has no return type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $force with no type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $objects with no type specified.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/BasketCommand.php#L105
Method Icinga\Module\Director\Clicommands\BasketCommand::purgeObjectTypes() has parameter $types with no value type specified in iterable type array.