Alternative to timezone_select() #12443
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 23s
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.
|