Skip to content

Fix browser timezone information being lost #172

Fix browser timezone information being lost

Fix browser timezone information being lost #172

Triggered via pull request April 28, 2025 13:51
Status Success
Total duration 3m 28s
Artifacts

phpstan.yml

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

Annotations

70 errors
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #2 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #1 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L48
Parameter #1 $app of class Icinga\Cli\Loader constructor expects Icinga\Application\ApplicationBootstrap, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L28
Parameter #2 $array of function implode expects array|null, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L24
Parameter #2 $haystack of function array_search expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #2 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #1 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L48
Parameter #1 $app of class Icinga\Cli\Loader constructor expects Icinga\Application\ApplicationBootstrap, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L28
Parameter #2 $array of function implode expects array|null, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L24
Parameter #2 $haystack of function array_search expects array, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/NavigationController.php#L0
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 / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L104
Parameter #1 $content of static method ipl\Html\Text::create() expects string, string|false|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L87
Method class@anonymous/application/controllers/IframeController.php:77::assemble() has no return type specified.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L80
Method class@anonymous/application/controllers/IframeController.php:77::setHash() has parameter $hash with no type specified.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L80
Method class@anonymous/application/controllers/IframeController.php:77::setHash() has no return type specified.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L78
Property class@anonymous/application/controllers/IframeController.php:77::$hash has no type specified.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L63
Call to an undefined method ipl\Web\Widget\Tabs::setHash().
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L26
Parameter #1 $url of static method Icinga\Web\Url::fromPath() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/IframeController.php#L0
Ignored error pattern #^Method Icinga\\Controllers\\IframeController\:\:indexAction\(\) has no return type specified\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/IframeController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/NavigationController.php#L0
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 / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L104
Parameter #1 $content of static method ipl\Html\Text::create() expects string, string|false|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L87
Method class@anonymous/application/controllers/IframeController.php:77::assemble() has no return type specified.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L80
Method class@anonymous/application/controllers/IframeController.php:77::setHash() has parameter $hash with no type specified.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L80
Method class@anonymous/application/controllers/IframeController.php:77::setHash() has no return type specified.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L78
Property class@anonymous/application/controllers/IframeController.php:77::$hash has no type specified.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L63
Call to an undefined method ipl\Web\Widget\Tabs::setHash().
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L26
Parameter #1 $url of static method Icinga\Web\Url::fromPath() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/IframeController.php#L0
Ignored error pattern #^Method Icinga\\Controllers\\IframeController\:\:indexAction\(\) has no return type specified\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/IframeController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: 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 / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #2 ...$args of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #1 $arr1 of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L48
Parameter #1 $app of class Icinga\Cli\Loader constructor expects Icinga\Application\ApplicationBootstrap, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L28
Parameter #2 $pieces of function implode expects array, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L24
Parameter #2 $haystack of function array_search expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #2 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #1 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L48
Parameter #1 $app of class Icinga\Cli\Loader constructor expects Icinga\Application\ApplicationBootstrap, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L28
Parameter #2 $array of function implode expects array|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L24
Parameter #2 $haystack of function array_search expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #2 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L62
Parameter #1 ...$arrays of function array_merge expects array, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L48
Parameter #1 $app of class Icinga\Cli\Loader constructor expects Icinga\Application\ApplicationBootstrap, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L28
Parameter #2 $array of function implode expects array|null, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/clicommands/AutocompleteCommand.php#L24
Parameter #2 $haystack of function array_search expects array, mixed given.