Skip to content

fix: Don't crash if disabled user is missing in the database #49041

fix: Don't crash if disabled user is missing in the database

fix: Don't crash if disabled user is missing in the database #49041

Triggered via pull request September 19, 2024 14:39
Status Failure
Total duration 24m 33s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
5m 15s
static-code-analysis
static-code-analysis-security
18m 28s
static-code-analysis-security
static-code-analysis-ocp
2m 46s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

14 errors
UndefinedThisPropertyAssignment: lib/private/User/Manager.php#L71
lib/private/User/Manager.php:71:3: UndefinedThisPropertyAssignment: Instance property OC\User\Manager::$cache is not defined (see https://psalm.dev/040)
UndefinedThisPropertyFetch: lib/private/User/Manager.php#L129
lib/private/User/Manager.php:129:20: UndefinedThisPropertyFetch: Instance property OC\User\Manager::$cache is not defined (see https://psalm.dev/041)
UndefinedThisPropertyFetch: lib/private/User/Manager.php#L221
lib/private/User/Manager.php:221:20: UndefinedThisPropertyFetch: Instance property OC\User\Manager::$cache is not defined (see https://psalm.dev/041)
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#L51
apps/files_external/lib/Config/ConfigAdapter.php:51:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L384
apps/files_external/lib/Lib/Storage/SFTP.php:384:22: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedCookie: apps/files_sharing/lib/Controller/ShareController.php#L431
apps/files_sharing/lib/Controller/ShareController.php:431:35: TaintedCookie: Detected tainted cookie (see https://psalm.dev/257)
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)