Skip to content

Alternative to timezone_select() #12443

Alternative to timezone_select()

Alternative to timezone_select() #12443

Re-run triggered March 11, 2025 12:07
Status Failure
Total duration 1m 33s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
1m 23s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP Static Analysis: system/Helpers/form_helper.php#L270
Function form_dropdown_timezone() has parameter $data with no value type specified in iterable type array.
PHP Static Analysis: system/Helpers/form_helper.php#L270
Function form_dropdown_timezone() has parameter $extra with no value type specified in iterable type array.
PHP Static Analysis: system/Helpers/form_helper.php#L270
Function form_dropdown_timezone() has parameter $selected with no value type specified in iterable type array.
PHP Static Analysis: system/Helpers/form_helper.php#L270
Function form_dropdown_timezone() has parameter $useOptgroups with no type specified.
PHP Static Analysis: system/Helpers/form_helper.php#L271
Only booleans are allowed in a negated boolean, int|null given.
PHP Static Analysis: system/Helpers/form_helper.php#L272
Only booleans are allowed in a ternary operator condition, string|null given.
PHP Static Analysis: system/Helpers/form_helper.php#L275
Only booleans are allowed in &&, string|null given on the left side.
PHP Static Analysis: system/Helpers/form_helper.php#L289
Short ternary operator is not allowed. Use null coalesce operator if applicable or consider using long ternary.
PHP Static Analysis: system/Helpers/form_helper.php#L303
Variable $group might not be defined.
PHP Static Analysis
Process completed with exit code 1.