Fix CI #1238
Annotations
4 errors
Run a static analysis with vimeo/psalm:
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1852
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1852:16: InvalidReturnStatement: The inferred type 'array<string, array{alsoLoadFields?: list<string>, association: int, cascade?: list<string>|string, collectionClass?: class-string, criteria?: array<string, mixed>, declared?: class-string, defaultDiscriminatorValue?: string, discriminatorField?: string, discriminatorMap?: array<string, class-string>, embedded?: bool, fieldName: string, id?: bool, index?: bool, inherited?: string, inversedBy?: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isInverseSide: bool, isOwningSide: bool, limit?: int|null, lock?: bool, mappedBy?: null|string, name: string, notSaved?: bool, nullable?: bool, options?: array<string, mixed>, orphanRemoval?: bool, prime?: list<string>, reference?: bool, repositoryMethod?: null|string, skip?: int|null, sort?: array<string, int|string>, sparse?: bool, storeAs?: string, storeEmptyArray?: bool, strategy?: string, targetDocument: class-string|null, type?: string, unique?: bool, version?: bool}>' does not match the declared return type 'array<string, array{alsoLoadFields?: list<string>, association?: int, cascade?: list<string>|string, collectionClass?: class-string, criteria?: array<string, mixed>, declared?: class-string, defaultDiscriminatorValue?: string, discriminatorField?: string, discriminatorMap?: array<string, class-string>, embedded?: bool, enumType?: class-string<BackedEnum>, fieldName: string, id?: bool, index?: bool, inherited?: string, inversedBy?: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isInverseSide: bool, isOwningSide: bool, limit?: int|null, lock?: bool, mappedBy?: null|string, name: string, notSaved?: bool, nullable?: bool, options?: array<string, mixed>, orphanRemoval?: bool, prime?: list<string>, reference?: bool, repositoryMethod?: null|string, skip?: int|null, sort?: array<string, int|string>, sparse?: bool, storeAs?: string, storeEmptyArray?: bool, strategy?: string, targetDocument?: class-string|null, type: string, unique?: bool, version?: bool}>' for Doctrine\ODM\MongoDB\Mapping\ClassMetadata::getEmbeddedFieldsMappings (see https://psalm.dev/128)
|
Run a static analysis with vimeo/psalm:
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:0:0: UnusedBaselineEntry: Baseline for issue "InvalidReturnStatement" has 1 extra entry. (see https://psalm.dev/316)
|
Run a static analysis with vimeo/psalm:
tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/OperatorTest.php#L1
tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/OperatorTest.php:0:0: UnusedBaselineEntry: Baseline for issue "InternalClass" has 1 extra entry. (see https://psalm.dev/316)
|
Run a static analysis with vimeo/psalm
Process completed with exit code 2.
|
Loading