Add support for Doctrine ORM 3 #3827
Annotations
31 errors and 11 warnings
PHP 8.3, Symfony ^7.1, ORM
Process completed with exit code 255.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got '(Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)|Doctrine\ORM\EntityRepository<object>' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping>' cannot be assigned type 'non-empty-array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping|array{type: int}>' (see https://psalm.dev/145)
|
PHP 8.3, Symfony ^7.1, ORM 3.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got '(Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)|Doctrine\ORM\EntityRepository<object>' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping>' cannot be assigned type 'non-empty-array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping|array{type: int}>' (see https://psalm.dev/145)
|
PHP 8.2, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got 'Doctrine\ORM\EntityRepository<object>|(Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, array{cache?: array<array-key, mixed>, cascade: array<array-key, string>, declared?: class-string, fetch: mixed, fieldName: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isOnDeleteCascade?: bool, isOwningSide: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' cannot be assigned type 'non-empty-array<string, array{cache?: array<array-key, mixed>, cascade?: array<array-key, string>, declared?: class-string, fetch?: mixed, fieldName?: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy?: null|string, isCascadeDetach?: bool, isCascadeMerge?: bool, isCascadePersist?: bool, isCascadeRefresh?: bool, isCascadeRemove?: bool, isOnDeleteCascade?: bool, isOwningSide?: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy?: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity?: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity?: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' (see https://psalm.dev/145)
|
PHP 8.2, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got '(Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)|Doctrine\ORM\EntityRepository<object>' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping>' cannot be assigned type 'non-empty-array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping|array{type: int}>' (see https://psalm.dev/145)
|
PHP 8.3, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got 'Doctrine\ORM\EntityRepository<object>|(Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, array{cache?: array<array-key, mixed>, cascade: array<array-key, string>, declared?: class-string, fetch: mixed, fieldName: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isOnDeleteCascade?: bool, isOwningSide: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' cannot be assigned type 'non-empty-array<string, array{cache?: array<array-key, mixed>, cascade?: array<array-key, string>, declared?: class-string, fetch?: mixed, fieldName?: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy?: null|string, isCascadeDetach?: bool, isCascadeMerge?: bool, isCascadePersist?: bool, isCascadeRefresh?: bool, isCascadeRemove?: bool, isOnDeleteCascade?: bool, isOwningSide?: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy?: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity?: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity?: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' (see https://psalm.dev/145)
|
PHP 8.3, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got 'Doctrine\ORM\EntityRepository<object>|(Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, array{cache?: array<array-key, mixed>, cascade: array<array-key, string>, declared?: class-string, fetch: mixed, fieldName: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isOnDeleteCascade?: bool, isOwningSide: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' cannot be assigned type 'non-empty-array<string, array{cache?: array<array-key, mixed>, cascade?: array<array-key, string>, declared?: class-string, fetch?: mixed, fieldName?: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy?: null|string, isCascadeDetach?: bool, isCascadeMerge?: bool, isCascadePersist?: bool, isCascadeRefresh?: bool, isCascadeRemove?: bool, isOnDeleteCascade?: bool, isOwningSide?: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy?: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity?: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity?: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' (see https://psalm.dev/145)
|
PHP 8.2, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got '(Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)|Doctrine\ORM\EntityRepository<object>' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping>' cannot be assigned type 'non-empty-array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping|array{type: int}>' (see https://psalm.dev/145)
|
PHP 8.2, Symfony ^7.1, ORM 3.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got 'Doctrine\ORM\EntityRepository<object>|(Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, array{cache?: array<array-key, mixed>, cascade: array<array-key, string>, declared?: class-string, fetch: mixed, fieldName: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isOnDeleteCascade?: bool, isOwningSide: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' cannot be assigned type 'non-empty-array<string, array{cache?: array<array-key, mixed>, cascade?: array<array-key, string>, declared?: class-string, fetch?: mixed, fieldName?: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy?: null|string, isCascadeDetach?: bool, isCascadeMerge?: bool, isCascadePersist?: bool, isCascadeRefresh?: bool, isCascadeRemove?: bool, isOnDeleteCascade?: bool, isOwningSide?: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy?: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity?: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity?: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' (see https://psalm.dev/145)
|
PHP 8.3, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>&Doctrine\ORM\EntityRepository' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got 'Doctrine\ORM\EntityRepository<object>|(Doctrine\Persistence\ObjectRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, array{cache?: array<array-key, mixed>, cascade: array<array-key, string>, declared?: class-string, fetch: mixed, fieldName: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy: null|string, isCascadeDetach: bool, isCascadeMerge: bool, isCascadePersist: bool, isCascadeRefresh: bool, isCascadeRemove: bool, isOnDeleteCascade?: bool, isOwningSide: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' cannot be assigned type 'non-empty-array<string, array{cache?: array<array-key, mixed>, cascade?: array<array-key, string>, declared?: class-string, fetch?: mixed, fieldName?: string, id?: bool, indexBy?: string, inherited?: class-string, inversedBy?: null|string, isCascadeDetach?: bool, isCascadeMerge?: bool, isCascadePersist?: bool, isCascadeRefresh?: bool, isCascadeRemove?: bool, isOnDeleteCascade?: bool, isOwningSide?: bool, joinColumnFieldNames?: array<string, string>, joinColumns?: array<array-key, array{columnDefinition?: string, fieldName?: string, name: string, nullable?: bool, onDelete?: string, quoted?: bool, referencedColumnName: string, unique?: bool}>, joinTable?: array<array-key, mixed>, joinTableColumns?: list<mixed>, mappedBy?: null|string, orderBy?: array<array-key, mixed>, originalClass?: class-string, originalField?: string, orphanRemoval?: bool, relationToSourceKeyColumns?: array<array-key, mixed>, relationToTargetKeyColumns?: array<array-key, mixed>, sourceEntity?: class-string, sourceToTargetKeyColumns?: array<string, string>, targetEntity?: class-string, targetToSourceKeyColumns?: array<string, string>, type: int, unique?: bool}>' (see https://psalm.dev/145)
|
PHP 8.1, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
|
InvalidReturnType:
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php#L41
src/Bundle/Doctrine/ORM/ContainerRepositoryFactory.php:41:88: InvalidReturnType: The declared return type 'Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>' for Sylius\Bundle\ResourceBundle\Doctrine\ORM\ContainerRepositoryFactory::getRepository is incorrect, got '(Doctrine\ORM\EntityRepository<T:fn-doctrine\orm\repository\repositoryfactory::getrepository as object>)|Doctrine\ORM\EntityRepository<object>' (see https://psalm.dev/011)
|
InvalidPropertyAssignmentValue:
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php#L90
src/Bundle/EventListener/ORMMappedSuperClassSubscriber.php:90:25: InvalidPropertyAssignmentValue: $metadata->associationMappings with declared type 'array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping>' cannot be assigned type 'non-empty-array<string, Doctrine\ORM\Mapping\ManyToManyInverseSideMapping|Doctrine\ORM\Mapping\ManyToManyOwningSideMapping|Doctrine\ORM\Mapping\ManyToOneAssociationMapping|Doctrine\ORM\Mapping\OneToManyAssociationMapping|Doctrine\ORM\Mapping\OneToOneInverseSideMapping|Doctrine\ORM\Mapping\OneToOneOwningSideMapping|array{type: int}>' (see https://psalm.dev/145)
|
PHP 8.1, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
|
PHP 8.3, Symfony ^7.1, ORM
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.3, Symfony ^7.1, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.2, Symfony ^6.4, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.2, Symfony ^7.1, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.3, Symfony ^6.4, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.3, Symfony ^6.4, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.2, Symfony ^6.4, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.2, Symfony ^7.1, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.3, Symfony ^7.1, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.1, Symfony ^6.4, ORM 2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.1, Symfony ^6.4, ORM 3.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|