Skip to content

Stop inflation of Indexer jobs #172

Stop inflation of Indexer jobs

Stop inflation of Indexer jobs #172

Triggered via pull request October 19, 2024 10:48
Status Cancelled
Total duration 1m 42s
Artifacts

psalm.yml

on: pull_request
Matrix: Nextcloud
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
InvalidReturnType: lib/BackgroundJobs/IndexerJob.php#L116
lib/BackgroundJobs/IndexerJob.php:116:43: InvalidReturnType: The declared return type 'int' for OCA\ContextChat\BackgroundJobs\IndexerJob::getMaxIndexingTime is incorrect, got 'string' (see https://psalm.dev/011)
InvalidReturnStatement: lib/BackgroundJobs/IndexerJob.php#L117
lib/BackgroundJobs/IndexerJob.php:117:10: InvalidReturnStatement: The inferred type 'string' does not match the declared return type 'int' for OCA\ContextChat\BackgroundJobs\IndexerJob::getMaxIndexingTime (see https://psalm.dev/128)
UndefinedConstant: lib/BackgroundJobs/IndexerJob.php#L117
lib/BackgroundJobs/IndexerJob.php:117:61: UndefinedConstant: Constant OCA\ContextChat\BackgroundJobs\IndexerJob::DEFAULT_MAX_INDEXING_TIME is not defined (see https://psalm.dev/020)
Nextcloud (8.3, dev-master)
Process completed with exit code 2.
InvalidReturnType: lib/BackgroundJobs/IndexerJob.php#L116
lib/BackgroundJobs/IndexerJob.php:116:43: InvalidReturnType: The declared return type 'int' for OCA\ContextChat\BackgroundJobs\IndexerJob::getMaxIndexingTime is incorrect, got 'string' (see https://psalm.dev/011)
InvalidReturnStatement: lib/BackgroundJobs/IndexerJob.php#L117
lib/BackgroundJobs/IndexerJob.php:117:10: InvalidReturnStatement: The inferred type 'string' does not match the declared return type 'int' for OCA\ContextChat\BackgroundJobs\IndexerJob::getMaxIndexingTime (see https://psalm.dev/128)
UndefinedConstant: lib/BackgroundJobs/IndexerJob.php#L117
lib/BackgroundJobs/IndexerJob.php:117:61: UndefinedConstant: Constant OCA\ContextChat\BackgroundJobs\IndexerJob::DEFAULT_MAX_INDEXING_TIME is not defined (see https://psalm.dev/020)
Nextcloud (8.1, dev-master)
Process completed with exit code 2.
Nextcloud (8.2, dev-master)
Canceling since a higher priority waiting request for 'psalm-fix/indexer-inflation' exists
Nextcloud (8.2, dev-master)
The operation was canceled.
Nextcloud (8.3, dev-master)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Nextcloud (8.1, dev-master)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/