Skip to content

add command to migrate from owncloud wnd external storage #32095

add command to migrate from owncloud wnd external storage

add command to migrate from owncloud wnd external storage #32095

Triggered via pull request October 4, 2023 16:12
Status Failure
Total duration 8m 39s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
2m 34s
static-code-analysis
static-code-analysis-security
8m 24s
static-code-analysis-security
static-code-analysis-ocp
1m 15s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

19 errors
ParseError: apps/files_external/lib/Command/MigrateOc.php#L108
apps/files_external/lib/Command/MigrateOc.php:108:3: ParseError: Syntax error, unexpected T_VARIABLE on line 108 (see https://psalm.dev/173)
ParseError: apps/files_external/lib/Command/MigrateOc.php#L110
apps/files_external/lib/Command/MigrateOc.php:110:3: ParseError: Syntax error, unexpected T_RETURN on line 110 (see https://psalm.dev/173)
UndefinedVariable: apps/files_external/lib/Command/MigrateOc.php#L165
apps/files_external/lib/Command/MigrateOc.php:165:4: UndefinedVariable: Cannot find referenced variable $output (see https://psalm.dev/024)
UndefinedVariable: apps/files_external/lib/Command/MigrateOc.php#L168
apps/files_external/lib/Command/MigrateOc.php:168:10: UndefinedVariable: Cannot find referenced variable $dryRun (see https://psalm.dev/024)
UndefinedVariable: apps/files_external/lib/Command/MigrateOc.php#L198
apps/files_external/lib/Command/MigrateOc.php:198:4: UndefinedVariable: Cannot find referenced variable $output (see https://psalm.dev/024)
InvalidArrayOffset: apps/files_external/lib/Command/MigrateOc.php#L200
apps/files_external/lib/Command/MigrateOc.php:200:38: InvalidArrayOffset: Cannot access value on variable $passwordRow using offset value of 'credentials', expecting int (see https://psalm.dev/115)
UndefinedVariable: apps/files_external/lib/Command/MigrateOc.php#L201
apps/files_external/lib/Command/MigrateOc.php:201:10: UndefinedVariable: Cannot find referenced variable $dryRun (see https://psalm.dev/024)
InvalidArgument: apps/files_external/lib/Command/MigrateOc.php#L202
apps/files_external/lib/Command/MigrateOc.php:202:35: InvalidArgument: Argument 1 of OCA\Files_External\Command\MigrateOc::setStorageCredentials expects array<array-key, mixed>, but string provided (see https://psalm.dev/004)
static-code-analysis
Process completed with exit code 2.
TaintedHtml: apps/admin_audit/lib/Actions/Action.php#L62
apps/admin_audit/lib/Actions/Action.php:62:16: TaintedHtml: Detected tainted HTML (see https://psalm.dev/245)
TaintedCallable: apps/files_external/lib/Config/ConfigAdapter.php#L74
apps/files_external/lib/Config/ConfigAdapter.php:74:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L247
apps/files_external/lib/Lib/Storage/SFTP.php:247:17: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L268
apps/files_external/lib/Lib/Storage/SFTP.php:268:19: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L413
apps/files_external/lib/Lib/Storage/SFTP.php:413: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)