Fix broken UI when trying to resolve an undefined $macro$
#55
Annotations
10 errors
application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
|
application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
|
application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
|
library/Icinga/Application/Platform.php#L1
Ignored error pattern #^Cannot access offset 'name' on array\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/Application/Platform.php was not matched in reported errors.
|
library/Icinga/Application/Platform.php#L273
Cannot access offset 'name' on array{name: string, passwd: string, uid: int, gid: int, gecos: string, dir: string, shell: string}|false.
|
library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
|
library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset int\<0, max\> on array\<int\|string, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
|
library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_splice expects array, array\<int\|string, mixed\>\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
|
library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Parameter \#1 \$var of function count expects array\|Countable, array\<int\|string, mixed\>\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
|
library/Icinga/File/Storage/LocalFileStorage.php#L127
Parameter #1 $var of function count expects array|Countable, array<int, string>|false given.
|
This job succeeded
Loading