Skip to content

feat: classify emails by importance based on subjects #5080

feat: classify emails by importance based on subjects

feat: classify emails by importance based on subjects #5080

Triggered via pull request December 18, 2024 18:01
Status Failure
Total duration 1m 31s
Artifacts

psalm-matrix.yml

on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
4s
static-psalm-analysis-summary
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
MismatchingDocblockReturnType: lib/Service/Classification/ImportanceClassifier.php#L220
lib/Service/Classification/ImportanceClassifier.php:220:13: MismatchingDocblockReturnType: Docblock has incorrect return type 'Rubix\ML\Estimator|null', should be 'OCA\Mail\Model\ClassifierPipeline|null' (see https://psalm.dev/142)
MismatchingDocblockReturnType: lib/Service/Classification/ImportanceClassifier.php#L261
lib/Service/Classification/ImportanceClassifier.php:261:13: MismatchingDocblockReturnType: Docblock has incorrect return type 'Rubix\ML\Estimator|null', should be 'OCA\Mail\Model\ClassifierPipeline|null' (see https://psalm.dev/142)
PossiblyUndefinedMethod: lib/Service/Classification/ImportanceClassifier.php#L475
lib/Service/Classification/ImportanceClassifier.php:475:15: PossiblyUndefinedMethod: Method Rubix\ML\Estimator::getExtractor does not exist (see https://psalm.dev/108)
PossiblyUndefinedMethod: lib/Service/Classification/ImportanceClassifier.php#L477
lib/Service/Classification/ImportanceClassifier.php:477:29: PossiblyUndefinedMethod: Method Rubix\ML\Estimator::getEstimator does not exist (see https://psalm.dev/108)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.
static-psalm-analysis dev-master
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636