feat: select field type #33
psalm.yml
on: pull_request
static-psalm-analysis
28s
Annotations
4 errors and 1 warning
|
static-psalm-analysis
Process completed with exit code 2.
|
|
InvalidArgument:
lib/Service/FieldDefinitionValidator.php#L50
lib/Service/FieldDefinitionValidator.php:50:32: InvalidArgument: Argument 1 of OCA\ProfileFields\Service\FieldDefinitionValidator::requireString expects array{active?: bool, admin_only?: bool, field_key?: string, initial_visibility?: string, label?: string, sort_order?: int, type?: string, user_editable?: bool, user_visible?: bool}, but array{active?: bool, admin_only?: bool, field_key?: string, initial_visibility?: string, label?: string, options?: list<string>, sort_order?: int, type?: string, user_editable?: bool, user_visible?: bool} with additional array shape fields (options) was provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/Service/FieldDefinitionValidator.php#L49
lib/Service/FieldDefinitionValidator.php:49:33: InvalidArgument: Argument 1 of OCA\ProfileFields\Service\FieldDefinitionValidator::requireString expects array{active?: bool, admin_only?: bool, field_key?: string, initial_visibility?: string, label?: string, sort_order?: int, type?: string, user_editable?: bool, user_visible?: bool}, but array{active?: bool, admin_only?: bool, field_key?: string, initial_visibility?: string, label?: string, options?: list<string>, sort_order?: int, type?: string, user_editable?: bool, user_visible?: bool} with additional array shape fields (options) was provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/Service/FieldDefinitionValidator.php#L44
lib/Service/FieldDefinitionValidator.php:44:36: InvalidArgument: Argument 1 of OCA\ProfileFields\Service\FieldDefinitionValidator::requireString expects array{active?: bool, admin_only?: bool, field_key?: string, initial_visibility?: string, label?: string, sort_order?: int, type?: string, user_editable?: bool, user_visible?: bool}, but array{active?: bool, admin_only?: bool, field_key?: string, initial_visibility?: string, label?: string, options?: list<string>, sort_order?: int, type?: string, user_editable?: bool, user_visible?: bool} with additional array shape fields (options) was provided (see https://psalm.dev/004)
|
|
static-psalm-analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|