Skip to content

[stable28] fix: improve checks for moving shares/storages into other mounts #53659

[stable28] fix: improve checks for moving shares/storages into other mounts

[stable28] fix: improve checks for moving shares/storages into other mounts #53659

Triggered via pull request January 24, 2025 12:44
Status Failure
Total duration 9m 46s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
4m 27s
static-code-analysis
static-code-analysis-security
9m 34s
static-code-analysis-security
static-code-analysis-ocp
2m 48s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

15 errors
InvalidArgument: lib/private/Files/View.php#L831
lib/private/Files/View.php:831:92: InvalidArgument: Argument 1 of OC\Files\View::targetIsNotShared expects OCP\Files\Storage\IStorage, but null|string provided (see https://psalm.dev/004)
InvalidArgument: lib/private/Files/View.php#L841
lib/private/Files/View.php:841:92: InvalidArgument: Argument 1 of OC\Files\View::targetIsNotShared expects OCP\Files\Storage\IStorage, but null|string provided (see https://psalm.dev/004)
static-code-analysis
Process completed with exit code 2.
static-code-analysis
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
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#L414
apps/files_external/lib/Lib/Storage/SFTP.php:414:22: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedCookie: apps/files_sharing/lib/Controller/ShareController.php#L463
apps/files_sharing/lib/Controller/ShareController.php:463: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#L204
lib/base.php:204:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedHeader: lib/base.php#L286
lib/base.php:286:12: TaintedHeader: Detected tainted header (see https://psalm.dev/256)
TaintedFile: lib/private/App/InfoParser.php#L66
lib/private/App/InfoParser.php:66:51: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: lib/private/App/InfoParser.php#L69
lib/private/App/InfoParser.php:69:51: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
static-code-analysis-security
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/