Prevent search index creation with dynamic: false
and empty fields
mapping
#1513
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Annotations
10 errors
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Aggregation.php#L29
Parameter $classMetadata of method Doctrine\ODM\MongoDB\Aggregation\Aggregation::__construct() has invalid type Doctrine\ODM\MongoDB\Mapping\ClassMetadata.
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Aggregation.php#L29
Property Doctrine\ODM\MongoDB\Aggregation\Aggregation::$classMetadata has unknown class Doctrine\ODM\MongoDB\Mapping\ClassMetadata as its type.
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L45
Property Doctrine\ODM\MongoDB\Aggregation\Builder::$class has unknown class Doctrine\ODM\MongoDB\Mapping\ClassMetadata as its type.
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L712
Access to property $name on an unknown class Doctrine\ODM\MongoDB\Mapping\ClassMetadata.
|
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#L81
Parameter $class of method Doctrine\ODM\MongoDB\Aggregation\Expr::__construct() has invalid type Doctrine\ODM\MongoDB\Mapping\ClassMetadata.
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php#L81
Property Doctrine\ODM\MongoDB\Aggregation\Expr::$class has unknown class Doctrine\ODM\MongoDB\Mapping\ClassMetadata as its type.
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php#L1131
Access to property $name on an unknown class Doctrine\ODM\MongoDB\Mapping\ClassMetadata.
|
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#L33
Parameter $class of method Doctrine\ODM\MongoDB\Aggregation\Stage\AbstractBucket::__construct() has invalid type Doctrine\ODM\MongoDB\Mapping\ClassMetadata.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
composer-lock-static-analysis-phpstan
Expired
|
19.1 KB |
|