IUserPreferences #49876
static-code-analysis.yml
on: pull_request
static-code-analysis
3m 56s
static-code-analysis-security
12m 36s
static-code-analysis-ocp
3m 12s
Annotations
9 errors
UndefinedInterfaceMethod:
lib/private/AllConfig.php#L383
lib/private/AllConfig.php:383:53: UndefinedInterfaceMethod: Method OCP\UserPreferences\IUserPreferences::searchUsersByValueDeprecated does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
lib/private/AllConfig.php#L400
lib/private/AllConfig.php:400:53: UndefinedInterfaceMethod: Method OCP\UserPreferences\IUserPreferences::searchUsersByValueDeprecated does not exist (see https://psalm.dev/181)
|
InvalidDocblock:
lib/private/UserPreferences.php#L60
lib/private/UserPreferences.php:60:2: InvalidDocblock: Invalid string array<string, array<string, array<string, <'type', ValueType>|<'flags', int>> ['user_id' => ['app_id' => ['key' => ['type' => ValueType, 'flags' => bitflag]]] (see https://psalm.dev/008)
|
ImplementedReturnTypeMismatch:
lib/private/UserPreferences.php#L812
lib/private/UserPreferences.php:812:13: ImplementedReturnTypeMismatch: The inherited return type 'int' for OCP\UserPreferences\IUserPreferences::getValueFlags is different to the implemented return type for OC\UserPreferences::getvalueflags 'OCP\UserPreferences\ValueType' (see https://psalm.dev/123)
|
MismatchingDocblockReturnType:
lib/private/UserPreferences.php#L812
lib/private/UserPreferences.php:812:13: MismatchingDocblockReturnType: Docblock has incorrect return type 'OCP\UserPreferences\ValueType', should be 'int' (see https://psalm.dev/142)
|
InvalidOperand:
lib/private/UserPreferences.php#L1276
lib/private/UserPreferences.php:1276:4: InvalidOperand: Cannot perform a numeric operation with a non-numeric type OCP\UserPreferences\ValueType (see https://psalm.dev/058)
|
InvalidOperand:
lib/private/UserPreferences.php#L1279
lib/private/UserPreferences.php:1279:4: InvalidOperand: Cannot perform a numeric operation with a non-numeric type OCP\UserPreferences\ValueType (see https://psalm.dev/058)
|
static-code-analysis
Process completed with exit code 2.
|
TaintedFile:
lib/private/L10N/L10N.php#L215
lib/private/L10N/L10N.php:215:41: TaintedFile: Detected tainted file handling (see https://psalm.dev/255)
|