Skip to content

Github Actions: Add Phpstan #647

Github Actions: Add Phpstan

Github Actions: Add Phpstan #647

Triggered via pull request November 16, 2023 12:48
@nilmergnilmerg
synchronize #105
phpstan
Status Failure
Total duration 54s
Artifacts

php.yml

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

Annotations

30 errors
Static analysis for php 7.2 on ubuntu-latest: application/forms/ChannelForm.php#L1
Ignored error pattern #^Parameter \#2 \$associative of function json_decode expects bool\|null, int given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/ChannelForm.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/forms/ChannelForm.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/ChannelForm.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/forms/ChannelForm.php#L215
Parameter #2 $assoc of function json_decode expects bool|null, int given.
Static analysis for php 7.2 on ubuntu-latest: application/forms/ChannelForm.php#L215
Parameter #2 ...$args of function array_merge expects array, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EntryForm.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/EntryForm.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EntryForm.php#L317
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EntryForm.php#L362
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/EscalationRecipientForm.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L87
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L145
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/forms/ChannelForm.php#L1
Ignored error pattern #^Parameter \#2 \$associative of function json_decode expects bool\|null, int given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/ChannelForm.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/forms/ChannelForm.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/ChannelForm.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/forms/ChannelForm.php#L215
Parameter #2 $assoc of function json_decode expects bool|null, int given.
Static analysis for php 7.3 on ubuntu-latest: application/forms/ChannelForm.php#L215
Parameter #2 ...$args of function array_merge expects array, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EntryForm.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/EntryForm.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EntryForm.php#L317
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EntryForm.php#L362
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/EscalationRecipientForm.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L87
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L145
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/forms/ChannelForm.php#L1
Ignored error pattern #^Parameter \#2 \$associative of function json_decode expects bool\|null, int given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/ChannelForm.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/forms/ChannelForm.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/ChannelForm.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/forms/ChannelForm.php#L215
Parameter #2 $assoc of function json_decode expects bool|null, int given.
Static analysis for php 7.4 on ubuntu-latest: application/forms/ChannelForm.php#L215
Parameter #2 ...$args of function array_merge expects array, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EntryForm.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/EntryForm.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EntryForm.php#L317
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EntryForm.php#L362
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/icinga-notifications-web/icinga-notifications-web/application/forms/EscalationRecipientForm.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L87
Parameter #2 $str of function explode expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/forms/EscalationRecipientForm.php#L145
Parameter #2 $str of function explode expects string, mixed given.