Avoid using dynamic properties of Icinga\Web\View
as arguments
#94
Annotations
10 errors
PHPStan:
application/controllers/ConfigController.php#L1
Ignored error pattern #^Parameter \#1 \$query of method Icinga\\Web\\Controller\:\:setupPaginationControl\(\) expects Icinga\\Data\\QueryInterface, null given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/ConfigController.php was not matched in reported errors.
|
PHPStan:
application/controllers/ErrorController.php#L131
Offset 1 on array{string, '', non-empty-string, non-empty-string}|array{string, non-empty-string} in isset() always exists and is not nullable.
|
PHPStan:
application/controllers/ListController.php#L1
Ignored error pattern #^Parameter \#1 \$query of method Icinga\\Web\\Controller\:\:setupPaginationControl\(\) expects Icinga\\Data\\QueryInterface, null given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/ListController.php was not matched in reported errors.
|
PHPStan:
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.
|
PHPStan:
application/controllers/RoleController.php#L1
Ignored error pattern #^Parameter \#1 \$query of method Icinga\\Web\\Controller\:\:setupPaginationControl\(\) expects Icinga\\Data\\QueryInterface, null given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/RoleController.php was not matched in reported errors.
|
PHPStan:
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.
|
PHPStan:
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.
|
PHPStan:
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.
|
PHPStan:
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.
|
PHPStan:
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.
|
Loading