Skip to content

Convert @psalm-* annotations to generic or @phpstan-* annotation #1485

Convert @psalm-* annotations to generic or @phpstan-* annotation

Convert @psalm-* annotations to generic or @phpstan-* annotation #1485

Triggered via pull request October 8, 2024 15:52
Status Failure
Total duration 2m 26s
Artifacts 2

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Static Analysis with Psalm (8.2)
Process completed with exit code 127.
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Aggregation.php#L29
Method Doctrine\ODM\MongoDB\Aggregation\Aggregation::__construct() has parameter $pipeline with no value type specified in iterable type array<int, mixed>.
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Aggregation.php#L29
PHPDoc tag @param for parameter $pipeline contains unresolvable type.
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Aggregation.php#L29
PHPDoc type for property Doctrine\ODM\MongoDB\Aggregation\Aggregation::$pipeline contains unresolvable type.
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L277
Method Doctrine\ODM\MongoDB\Aggregation\Builder::getPipeline() return type has no value type specified in iterable type array<int, mixed>.
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L702
Unable to resolve the template type T in call to method Doctrine\ODM\MongoDB\UnitOfWork::getDocumentPersister()
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L712
Unable to resolve the template type T in call to method Doctrine\ODM\MongoDB\UnitOfWork::getDocumentPersister()
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php#L1131
Unable to resolve the template type T in call to method Doctrine\ODM\MongoDB\UnitOfWork::getDocumentPersister()
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Stage/AbstractBucket.php#L94
Unable to resolve the template type T in call to method Doctrine\ODM\MongoDB\UnitOfWork::getDocumentPersister()
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Stage/AbstractReplace.php#L29
Unable to resolve the template type T in call to method Doctrine\ODM\MongoDB\UnitOfWork::getDocumentPersister()

Artifacts

Produced during runtime
Name Size
composer-lock-static-analysis-phpstan Expired
19.1 KB
composer-lock-static-analysis-psalm Expired
19.1 KB