Skip to content

cleaner code with null safe #39850

cleaner code with null safe

cleaner code with null safe #39850

Triggered via pull request March 11, 2024 11:45
Status Failure
Total duration 12m 14s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
5m 57s
static-code-analysis
static-code-analysis-security
12m 0s
static-code-analysis-security
static-code-analysis-ocp
3m 38s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

13 errors
RedundantCondition: lib/private/Files/Cache/QuerySearchHelper.php#L198
lib/private/Files/Cache/QuerySearchHelper.php:198:24: RedundantCondition: Type array<array-key, mixed> for $<tmp coalesce var>7379 is never null (see https://psalm.dev/122)
TypeDoesNotContainNull: lib/private/Files/Cache/QuerySearchHelper.php#L198
lib/private/Files/Cache/QuerySearchHelper.php:198:78: TypeDoesNotContainNull: Cannot resolve types for $<tmp coalesce var>7379 - array<array-key, mixed> does not contain null (see https://psalm.dev/090)
static-code-analysis
Process completed with exit code 2.
TaintedHtml: apps/admin_audit/lib/Actions/Action.php#L63
apps/admin_audit/lib/Actions/Action.php:63:16: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: apps/files_external/lib/Config/ConfigAdapter.php#L75
apps/files_external/lib/Config/ConfigAdapter.php:75:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L246
apps/files_external/lib/Lib/Storage/SFTP.php:246:17: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L267
apps/files_external/lib/Lib/Storage/SFTP.php:267:19: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L412
apps/files_external/lib/Lib/Storage/SFTP.php:412:22: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedCookie: apps/files_sharing/lib/Controller/ShareController.php#L468
apps/files_sharing/lib/Controller/ShareController.php:468:35: TaintedCookie: Detected tainted cookie (see https://psalm.dev/257)
TaintedFile: apps/theming/lib/IconBuilder.php#L137
apps/theming/lib/IconBuilder.php:137:40: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/theming/lib/IconBuilder.php#L235
apps/theming/lib/IconBuilder.php:235:28: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedHeader: lib/base.php#L205
lib/base.php:205:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedHeader: lib/base.php#L287
lib/base.php:287:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)