Skip to content

add persist methods in repositories #74

add persist methods in repositories

add persist methods in repositories #74

Triggered via pull request September 29, 2023 10:53
Status Failure
Total duration 42s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: Domain/Service/Repository/RepositoryInterface.php#L16
Generic type Doctrine\Common\Collections\Selectable<Ivoz\Core\Domain\Service\Repository\T> in PHPDoc tag @extends does not specify all template types of interface Doctrine\Common\Collections\Selectable: TKey, T
build: Domain/Service/Repository/RepositoryInterface.php#L16
PHPDoc tag @extends has invalid type Ivoz\Core\Domain\Service\Repository\T.
build: Domain/Service/Repository/RepositoryInterface.php#L16
PHPDoc tag @extends has invalid type Ivoz\Core\Domain\Service\Repository\T.
build: Domain/Service/Repository/RepositoryInterface.php#L16
Type Ivoz\Core\Domain\Service\Repository\T in generic type Doctrine\Common\Collections\Selectable<Ivoz\Core\Domain\Service\Repository\T> in PHPDoc tag @extends is not subtype of template type TKey of (int|string) of interface Doctrine\Common\Collections\Selectable.
build: Infrastructure/Persistence/Doctrine/Repository/DoctrineRepository.php#L22
Class Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository specifies template type T of interface Doctrine\Common\Collections\Selectable as EntityT of Ivoz\Core\Domain\Model\EntityInterface but it's already specified as mixed.
build: Infrastructure/Persistence/Doctrine/Repository/DoctrineRepository.php#L22
Class Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository specifies template type T of interface Doctrine\Common\Collections\Selectable as EntityT of Ivoz\Core\Domain\Model\EntityInterface but it's already specified as mixed.
build: Infrastructure/Persistence/Doctrine/Repository/DoctrineRepository.php#L22
Class Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository specifies template type T of interface Doctrine\Persistence\ObjectRepository as EntityT of Ivoz\Core\Domain\Model\EntityInterface but it's already specified as Ivoz\Core\Domain\Service\Repository\T.
build: Infrastructure/Persistence/Doctrine/Repository/DoctrineRepository.php#L22
Class Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository specifies template type T of interface Doctrine\Persistence\ObjectRepository as EntityT of Ivoz\Core\Domain\Model\EntityInterface but it's already specified as Ivoz\Core\Domain\Service\Repository\T.
build: Infrastructure/Persistence/Doctrine/Repository/DoctrineRepository.php#L22
Class Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository specifies template type TKey of interface Doctrine\Common\Collections\Selectable as int but it's already specified as Ivoz\Core\Domain\Service\Repository\T.
build: Infrastructure/Persistence/Doctrine/Repository/DoctrineRepository.php#L22
Class Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository specifies template type TKey of interface Doctrine\Common\Collections\Selectable as int but it's already specified as Ivoz\Core\Domain\Service\Repository\T.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/