Skip to content

fix(search): Use OCP constants for filters #17014

fix(search): Use OCP constants for filters

fix(search): Use OCP constants for filters #17014

Triggered via pull request November 16, 2023 16:08
Status Failure
Total duration 3m 26s
Artifacts

psalm.yml

on: pull_request
Nextcloud
51s
Nextcloud
Fit to window
Zoom out
Zoom in

Annotations

8 errors
UndefinedConstant: lib/Search/MessageSearch.php#L144
lib/Search/MessageSearch.php:144:34: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_SINCE is not defined (see https://psalm.dev/020)
UndefinedConstant: lib/Search/MessageSearch.php#L150
lib/Search/MessageSearch.php:150:34: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_UNTIL is not defined (see https://psalm.dev/020)
UndefinedConstant: lib/Search/MessageSearch.php#L156
lib/Search/MessageSearch.php:156:35: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_PERSON is not defined (see https://psalm.dev/020)
UndefinedConstant: lib/Search/MessageSearch.php#L275
lib/Search/MessageSearch.php:275:4: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_TERM is not defined (see https://psalm.dev/020)
UndefinedConstant: lib/Search/MessageSearch.php#L276
lib/Search/MessageSearch.php:276:4: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_SINCE is not defined (see https://psalm.dev/020)
UndefinedConstant: lib/Search/MessageSearch.php#L277
lib/Search/MessageSearch.php:277:4: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_UNTIL is not defined (see https://psalm.dev/020)
UndefinedConstant: lib/Search/MessageSearch.php#L278
lib/Search/MessageSearch.php:278:4: UndefinedConstant: Constant OCP\Search\IFilter::BUILTIN_PERSON is not defined (see https://psalm.dev/020)
Nextcloud
Process completed with exit code 2.