Remove invalid service definition #339
Annotations
5 errors and 1 warning
Static analysis:
src/Fixture/Factory/PromotionExampleFactory.php#L158
src/Fixture/Factory/PromotionExampleFactory.php:158:54: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::all expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
|
Static analysis:
src/Fixture/Factory/PromotionExampleFactory.php#L160
src/Fixture/Factory/PromotionExampleFactory.php:160:60: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::findBy expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
|
Static analysis:
src/Repository/ProductRepositoryInterface.php#L9
src/Repository/ProductRepositoryInterface.php:9:46: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductRepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
Static analysis:
src/Repository/ProductVariantRepositoryInterface.php#L9
src/Repository/ProductVariantRepositoryInterface.php:9:53: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductVariantRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductVariantRepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
Static analysis
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading