Skip to content

IUserPreferences #49515

IUserPreferences

IUserPreferences #49515

Triggered via pull request September 30, 2024 16:25
Status Failure
Total duration 15m 40s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
5m 9s
static-code-analysis
static-code-analysis-security
15m 22s
static-code-analysis-security
static-code-analysis-ocp
2m 54s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

16 errors
RedundantCast: lib/private/UserPreferences.php#L288
lib/private/UserPreferences.php:288:89: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
MoreSpecificReturnType: lib/private/UserPreferences.php#L366
lib/private/UserPreferences.php:366:13: MoreSpecificReturnType: The declared return type 'list<string>' for OC\UserPreferences::searchUsersByValueString is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/070)
LessSpecificReturnStatement: lib/private/UserPreferences.php#L370
lib/private/UserPreferences.php:370:10: LessSpecificReturnStatement: The type 'array<array-key, mixed>' is more general than the declared return type 'list<string>' for OC\UserPreferences::searchUsersByValueString (see https://psalm.dev/129)
MoreSpecificReturnType: lib/private/UserPreferences.php#L394
lib/private/UserPreferences.php:394:13: MoreSpecificReturnType: The declared return type 'list<string>' for OC\UserPreferences::searchUsersByValues is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/070)
LessSpecificReturnStatement: lib/private/UserPreferences.php#L398
lib/private/UserPreferences.php:398:10: LessSpecificReturnStatement: The type 'array<array-key, mixed>' is more general than the declared return type 'list<string>' for OC\UserPreferences::searchUsersByValues (see https://psalm.dev/129)
static-code-analysis
Process completed with exit code 2.
TaintedHtml: apps/admin_audit/lib/Actions/Action.php#L42
apps/admin_audit/lib/Actions/Action.php:42:16: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: apps/files_external/lib/Config/ConfigAdapter.php#L53
apps/files_external/lib/Config/ConfigAdapter.php:53:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/theming/lib/IconBuilder.php#L116
apps/theming/lib/IconBuilder.php:116:40: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/theming/lib/IconBuilder.php#L209
apps/theming/lib/IconBuilder.php:209:28: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedHeader: lib/base.php#L144
lib/base.php:144:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedHeader: lib/base.php#L226
lib/base.php:226:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedFile: lib/private/App/InfoParser.php#L38
lib/private/App/InfoParser.php:38:50: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedCallable: lib/private/AppFramework/Utility/SimpleContainer.php#L104
lib/private/AppFramework/Utility/SimpleContainer.php:104:33: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedHtml: lib/private/Config.php#L258
lib/private/Config.php:258:26: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedHeader: lib/private/EventSource.php#L54
lib/private/EventSource.php:54:11: TaintedHeader: Detected tainted header (see https://psalm.dev/256)