Advanced search: backend allows multiples terms to search #33103
static-code-analysis.yml
on: pull_request
static-code-analysis
4m 34s
static-code-analysis-security
11m 39s
static-code-analysis-ocp
1m 12s
Annotations
30 errors
InvalidDocblock:
lib/public/Search/Filter/BooleanFilter.php#L32
lib/public/Search/Filter/BooleanFilter.php:32:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/BooleanFilter.php#L35
lib/public/Search/Filter/BooleanFilter.php:35:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/BooleanFilter.php#L43
lib/public/Search/Filter/BooleanFilter.php:43:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/DateTimeFilter.php#L32
lib/public/Search/Filter/DateTimeFilter.php:32:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/DateTimeFilter.php#L35
lib/public/Search/Filter/DateTimeFilter.php:35:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/DateTimeFilter.php#L43
lib/public/Search/Filter/DateTimeFilter.php:43:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/FloatFilter.php#L32
lib/public/Search/Filter/FloatFilter.php:32:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/FloatFilter.php#L35
lib/public/Search/Filter/FloatFilter.php:35:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/FloatFilter.php#L42
lib/public/Search/Filter/FloatFilter.php:42:2: InvalidDocblock: PHPDoc is required for methods in OCP. (see https://psalm.dev/008)
|
InvalidDocblock:
lib/public/Search/Filter/GroupFilter.php#L34
lib/public/Search/Filter/GroupFilter.php:34:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
|
InvalidArrayOffset:
apps/dav/lib/CardDAV/CardDavBackend.php#L1178
apps/dav/lib/CardDAV/CardDavBackend.php:1178:4: InvalidArrayOffset: Cannot access value on variable $options using offset value of 'since', expecting 'types', 'escape_like_param', 'limit', 'offset' or 'wildcard' (see https://psalm.dev/115)
|
InvalidArrayOffset:
apps/dav/lib/CardDAV/CardDavBackend.php#L1179
apps/dav/lib/CardDAV/CardDavBackend.php:1179:7: InvalidArrayOffset: Cannot access value on variable $options using offset value of 'until', expecting 'types', 'escape_like_param', 'limit', 'offset' or 'wildcard' (see https://psalm.dev/115)
|
UnhandledMatchCondition:
apps/files/lib/Search/FilesSearchProvider.php#L165
apps/files/lib/Search/FilesSearchProvider.php:165:28: UnhandledMatchCondition: This match expression is not exhaustive - consider values 'max-size'|'mime'|'min-size'|'since'|'term'|'type'|'until'|mixed (see https://psalm.dev/236)
|
UndefinedClass:
core/Controller/UnifiedSearchController.php#L107
core/Controller/UnifiedSearchController.php:107:12: UndefinedClass: Class, interface or enum named OC\Search\InvalidFilter does not exist (see https://psalm.dev/019)
|
InvalidReturnStatement:
core/Controller/UnifiedSearchController.php#L109
core/Controller/UnifiedSearchController.php:109:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, array<never, never>, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200, array{cursor: int|null|string, entries: array<array-key, array{attributes: array<array-key, string>, icon: string, resourceUrl: string, rounded: bool, subline: string, thumbnailUrl: string, title: string}>, isPaginated: bool, name: string}, array<never, never>>|OCP\AppFramework\Http\DataResponse<400, null, array<never, never>>' for OC\Core\Controller\UnifiedSearchController::search (see https://psalm.dev/128)
|
InvalidDocblock:
lib/private/Search/FilterCollection.php#L37
lib/private/Search/FilterCollection.php:37:1: InvalidDocblock: @template-implements must include the name of an implemented class, got OC\Search\IteratorAggregate<string, OC\Search\IFilter> (see https://psalm.dev/008)
|
MethodSignatureMismatch:
lib/private/Search/FilterCollection.php#L37
lib/private/Search/FilterCollection.php:37:7: MethodSignatureMismatch: Method OC\Search\FilterCollection::get with return type 'OC\Search\IFilter|null' is different to return type 'OCP\Search\IFilter|null' of inherited method OCP\Search\IFilterCollection::get (see https://psalm.dev/042)
|
UndefinedDocblockClass:
lib/private/Search/FilterCollection.php#L41
lib/private/Search/FilterCollection.php:41:10: UndefinedDocblockClass: Docblock-defined class, interface or enum named OC\Search\IFilter does not exist (see https://psalm.dev/200)
|
UndefinedClass:
lib/private/Search/FilterCollection.php#L43
lib/private/Search/FilterCollection.php:43:30: UndefinedClass: Class, interface or enum named OC\Search\IFilter does not exist (see https://psalm.dev/019)
|
ConstructorSignatureMismatch:
lib/private/Search/FilterCollection.php#L43
lib/private/Search/FilterCollection.php:43:41: ConstructorSignatureMismatch: Argument 1 of OC\Search\FilterCollection::__construct has wrong type 'OC\Search\IFilter', expecting 'OCP\Search\IFilter' as defined by OCP\Search\IFilterCollection::__construct (see https://psalm.dev/231)
|
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)
|