Skip to content

Allow options to be provided to Doctrine #31297

Allow options to be provided to Doctrine

Allow options to be provided to Doctrine #31297

Re-run triggered September 19, 2023 07:22
Status Failure
Total duration 9m 23s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
3m 36s
static-code-analysis
static-code-analysis-security
9m 12s
static-code-analysis-security
static-code-analysis-ocp
2m 10s
static-code-analysis-ocp
Fit to window
Zoom out
Zoom in

Annotations

13 errors
MoreSpecificReturnType: lib/private/DB/ConnectionFactory.php#L140
lib/private/DB/ConnectionFactory.php:140:13: MoreSpecificReturnType: The declared return type 'OC\DB\Connection' for OC\DB\ConnectionFactory::getConnection is more specific than the inferred return type 'Doctrine\DBAL\Connection' (see https://psalm.dev/070)
LessSpecificReturnStatement: lib/private/DB/ConnectionFactory.php#L213
lib/private/DB/ConnectionFactory.php:213:10: LessSpecificReturnStatement: The type 'Doctrine\DBAL\Connection' is more general than the declared return type 'OC\DB\Connection' for OC\DB\ConnectionFactory::getConnection (see https://psalm.dev/129)
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#L85
apps/files_external/lib/Config/ConfigAdapter.php:85:50: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L237
apps/files_external/lib/Lib/Storage/SFTP.php:237:17: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L258
apps/files_external/lib/Lib/Storage/SFTP.php:258:19: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedFile: apps/files_external/lib/Lib/Storage/SFTP.php#L399
apps/files_external/lib/Lib/Storage/SFTP.php:399: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)