Skip to content

php: Split phpstan tests into a separate workflow #4

php: Split phpstan tests into a separate workflow

php: Split phpstan tests into a separate workflow #4

Triggered via pull request April 9, 2024 09:31
Status Success
Total duration 50s
Artifacts

phpstan.yml

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

Annotations

30 errors
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/HostsController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function urldecode expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/application/controllers/HostsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/HostsController.php#L26
Parameter #1 $str of function urldecode expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ServicesController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function urldecode expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/application/controllers/ServicesController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ServicesController.php#L24
Parameter #1 $str of function urldecode expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L1
Ignored error pattern #^Parameter \#1 \$separator of function explode expects non\-empty\-string, string given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/library/Graphite/Util/MacroTemplate.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L57
Property Icinga\Module\Graphite\Util\MacroTemplate::$template (array<string>) does not accept array<int, string>|false.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L58
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L61
Cannot access offset int on non-empty-array<int, string>|false.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L66
Parameter #1 $var of function count expects array|Countable, array<int, string>|false given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Graphite/Web/Controller/MonitoringAwareController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/library/Graphite/Web/Controller/MonitoringAwareController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/HostsController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function urldecode expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/application/controllers/HostsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/HostsController.php#L26
Parameter #1 $str of function urldecode expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ServicesController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function urldecode expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/application/controllers/ServicesController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ServicesController.php#L24
Parameter #1 $str of function urldecode expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L1
Ignored error pattern #^Parameter \#1 \$separator of function explode expects non\-empty\-string, string given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/library/Graphite/Util/MacroTemplate.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L57
Property Icinga\Module\Graphite\Util\MacroTemplate::$template (array<string>) does not accept array<int, string>|false.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L58
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L61
Cannot access offset int on non-empty-array<int, string>|false.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L66
Parameter #1 $var of function count expects array|Countable, array<int, string>|false given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Graphite/Web/Controller/MonitoringAwareController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/library/Graphite/Web/Controller/MonitoringAwareController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/HostsController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function urldecode expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/application/controllers/HostsController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/HostsController.php#L26
Parameter #1 $str of function urldecode expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ServicesController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function urldecode expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/application/controllers/ServicesController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ServicesController.php#L24
Parameter #1 $str of function urldecode expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L1
Ignored error pattern #^Parameter \#1 \$separator of function explode expects non\-empty\-string, string given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/library/Graphite/Util/MacroTemplate.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L57
Property Icinga\Module\Graphite\Util\MacroTemplate::$template (array<string>) does not accept array<int, string>|false.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L58
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L61
Cannot access offset int on non-empty-array<int, string>|false.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Graphite/Util/MacroTemplate.php#L66
Parameter #1 $var of function count expects array|Countable, array<int, string>|false given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Graphite/Web/Controller/MonitoringAwareController.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /home/runner/work/icingaweb2-module-graphite/icingaweb2-module-graphite/library/Graphite/Web/Controller/MonitoringAwareController.php was not matched in reported errors.