Skip to content

feat(cardav): support result truncation for addressbook federation #53449

feat(cardav): support result truncation for addressbook federation

feat(cardav): support result truncation for addressbook federation #53449

Triggered via pull request January 21, 2025 13:15
Status Failure
Total duration 8m 30s
Artifacts

static-code-analysis.yml

on: pull_request
static-code-analysis
3m 50s
static-code-analysis
static-code-analysis-security
8m 13s
static-code-analysis-security
static-code-analysis-ocp
2m 17s
static-code-analysis-ocp
static-code-analysis-ncu
1m 11s
static-code-analysis-ncu
Fit to window
Zoom out
Zoom in

Annotations

12 errors
TooFewArguments: apps/dav/appinfo/v1/carddav.php#L53
apps/dav/appinfo/v1/carddav.php:53:19: TooFewArguments: Too few arguments for OCA\DAV\CardDAV\CardDavBackend::__construct - expecting logger to be passed (see https://psalm.dev/025)
TooFewArguments: apps/dav/appinfo/v1/carddav.php#L53
apps/dav/appinfo/v1/carddav.php:53:19: TooFewArguments: Too few arguments for OCA\DAV\CardDAV\CardDavBackend::__construct - expecting config to be passed (see https://psalm.dev/025)
TooManyArguments: apps/dav/lib/Server.php#L164
apps/dav/lib/Server.php:164:28: TooManyArguments: Class Sabre\DAV\Sync\Plugin has no __construct, but arguments were passed (see https://psalm.dev/026)
InvalidScalarArgument: apps/federation/lib/SyncFederationAddressBooks.php#L57
apps/federation/lib/SyncFederationAddressBooks.php:57:114: InvalidScalarArgument: Argument 6 of OCA\Federation\SyncFederationAddressBooks::syncTruncatedAddressBook expects int, but string provided (see https://psalm.dev/012)
InvalidScalarArgument: apps/federation/lib/SyncFederationAddressBooks.php#L85
apps/federation/lib/SyncFederationAddressBooks.php:85:121: InvalidScalarArgument: Argument 6 of OCA\DAV\CardDAV\SyncService::syncRemoteAddressBook expects string, but int provided (see https://psalm.dev/012)
InvalidScalarArgument: apps/federation/lib/SyncFederationAddressBooks.php#L87
apps/federation/lib/SyncFederationAddressBooks.php:87:122: InvalidScalarArgument: Argument 6 of OCA\DAV\CardDAV\SyncService::syncRemoteAddressBook expects string, but int provided (see https://psalm.dev/012)
static-code-analysis
Process completed with exit code 2.
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/Http/Dispatcher.php#L200
lib/private/AppFramework/Http/Dispatcher.php:200:37: TaintedCallable: Detected tainted text (see https://psalm.dev/243)
TaintedInclude: lib/private/Installer.php#L587
lib/private/Installer.php:587:12: TaintedInclude: Detected tainted code passed to include or similar (see https://psalm.dev/251)
TaintedFile: lib/private/L10N/L10N.php#L215
lib/private/L10N/L10N.php:215:41: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
TaintedInclude: lib/private/legacy/OC_App.php#L115
lib/private/legacy/OC_App.php:115:17: TaintedInclude: Detected tainted code passed to include or similar (see https://psalm.dev/251)