Sylius resource view layer #107
Annotations
27 errors and 3 warnings
phpstan-tests:
tests/bundle/EventListener/Shop/ProductIndexListenerTest.php#L24
Property Netgen\Bundle\LayoutsSyliusBundle\Tests\EventListener\Shop\ProductIndexListenerTest::$taxonRepositoryMock with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/bundle/Templating/Twig/Runtime/SyliusRuntimeTest.php#L24
Property Netgen\Bundle\LayoutsSyliusBundle\Tests\Templating\Twig\Runtime\SyliusRuntimeTest::$productRepositoryMock with generic interface Sylius\Component\Product\Repository\ProductRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/bundle/Templating/Twig/Runtime/SyliusRuntimeTest.php#L26
Property Netgen\Bundle\LayoutsSyliusBundle\Tests\Templating\Twig\Runtime\SyliusRuntimeTest::$taxonRepositoryMock with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/bundle/Templating/Twig/Runtime/SyliusRuntimeTest.php#L28
Property Netgen\Bundle\LayoutsSyliusBundle\Tests\Templating\Twig\Runtime\SyliusRuntimeTest::$channelRepositoryMock with generic interface Sylius\Component\Channel\Repository\ChannelRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/lib/Item/ValueLoader/ProductValueLoaderTest.php#L18
Property Netgen\Layouts\Sylius\Tests\Item\ValueLoader\ProductValueLoaderTest::$productRepositoryMock with generic interface Sylius\Component\Product\Repository\ProductRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/lib/Layout/Resolver/ConditionType/ChannelTest.php#L25
Property Netgen\Layouts\Sylius\Tests\Layout\Resolver\ConditionType\ChannelTest::$channelRepositoryMock with generic interface Sylius\Component\Channel\Repository\ChannelRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/lib/Layout/Resolver/Form/ConditionType/Mapper/ChannelTest.php#L18
Property Netgen\Layouts\Sylius\Tests\Layout\Resolver\Form\ConditionType\Mapper\ChannelTest::$channelRepository with generic interface Sylius\Component\Channel\Repository\ChannelRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/lib/Layout/Resolver/TargetType/ProductTest.php#L20
Property Netgen\Layouts\Sylius\Tests\Layout\Resolver\TargetType\ProductTest::$repositoryMock with generic interface Sylius\Component\Product\Repository\ProductRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/lib/Layout/Resolver/TargetType/TaxonProductTest.php#L22
Property Netgen\Layouts\Sylius\Tests\Layout\Resolver\TargetType\TaxonProductTest::$repositoryMock with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface does not specify its types: T
|
phpstan-tests:
tests/lib/Layout/Resolver/TargetType/TaxonTest.php#L20
Property Netgen\Layouts\Sylius\Tests\Layout\Resolver\TargetType\TaxonTest::$repositoryMock with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface does not specify its types: T
|
InvalidArgument:
bundle/Templating/Twig/Extension/SyliusExtension.php#L21
bundle/Templating/Twig/Extension/SyliusExtension.php:21:17: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
bundle/Templating/Twig/Extension/SyliusExtension.php#L25
bundle/Templating/Twig/Extension/SyliusExtension.php:25:17: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
bundle/Templating/Twig/Extension/SyliusExtension.php#L29
bundle/Templating/Twig/Extension/SyliusExtension.php:29:17: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
bundle/Templating/Twig/Extension/SyliusExtension.php#L33
bundle/Templating/Twig/Extension/SyliusExtension.php:33:17: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
MissingTemplateParam:
lib/Doctrine/ORM/ProductRepository.php#L12
lib/Doctrine/ORM/ProductRepository.php:12:13: MissingTemplateParam: Netgen\Layouts\Sylius\Doctrine\ORM\ProductRepository has missing template params when extending Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository, expecting 1 (see https://psalm.dev/182)
|
MissingTemplateParam:
lib/Doctrine/ORM/ProductRepositoryInterface.php#L11
lib/Doctrine/ORM/ProductRepositoryInterface.php:11:46: MissingTemplateParam: Netgen\Layouts\Sylius\Doctrine\ORM\ProductRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductRepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
psalm
Process completed with exit code 2.
|
phpstan:
bundle/EventListener/Shop/ProductIndexListener.php#L18
Method Netgen\Bundle\LayoutsSyliusBundle\EventListener\Shop\ProductIndexListener::__construct() has parameter $taxonRepository with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface but does not specify its types: T
|
phpstan:
bundle/Templating/Twig/Runtime/SyliusRuntime.php#L23
Method Netgen\Bundle\LayoutsSyliusBundle\Templating\Twig\Runtime\SyliusRuntime::__construct() has parameter $channelRepository with generic interface Sylius\Component\Channel\Repository\ChannelRepositoryInterface but does not specify its types: T
|
phpstan:
bundle/Templating/Twig/Runtime/SyliusRuntime.php#L23
Method Netgen\Bundle\LayoutsSyliusBundle\Templating\Twig\Runtime\SyliusRuntime::__construct() has parameter $productRepository with generic interface Sylius\Component\Product\Repository\ProductRepositoryInterface but does not specify its types: T
|
phpstan:
bundle/Templating/Twig/Runtime/SyliusRuntime.php#L23
Method Netgen\Bundle\LayoutsSyliusBundle\Templating\Twig\Runtime\SyliusRuntime::__construct() has parameter $taxonRepository with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface but does not specify its types: T
|
phpstan:
lib/Collection/QueryType/Handler/LatestProductsHandler.php#L25
Method Netgen\Layouts\Sylius\Collection\QueryType\Handler\LatestProductsHandler::__construct() has parameter $taxonRepository with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface but does not specify its types: T
|
phpstan:
lib/Collection/QueryType/Handler/TaxonProductsHandler.php#L25
Method Netgen\Layouts\Sylius\Collection\QueryType\Handler\TaxonProductsHandler::__construct() has parameter $taxonRepository with generic interface Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface but does not specify its types: T
|
phpstan:
lib/Doctrine/ORM/ProductRepository.php#L12
Class Netgen\Layouts\Sylius\Doctrine\ORM\ProductRepository extends generic class Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository but does not specify its types: T
|
phpstan:
lib/Doctrine/ORM/ProductRepositoryInterface.php#L11
Interface Netgen\Layouts\Sylius\Doctrine\ORM\ProductRepositoryInterface extends generic interface Sylius\Component\Core\Repository\ProductRepositoryInterface but does not specify its types: T
|
phpstan:
lib/Item/ValueLoader/ProductValueLoader.php#L14
Method Netgen\Layouts\Sylius\Item\ValueLoader\ProductValueLoader::__construct() has parameter $productRepository with generic interface Sylius\Component\Product\Repository\ProductRepositoryInterface but does not specify its types: T
|
phpstan:
lib/Layout/Resolver/Form/ConditionType/Mapper/Channel.php#L13
Method Netgen\Layouts\Sylius\Layout\Resolver\Form\ConditionType\Mapper\Channel::__construct() has parameter $channelRepository with generic interface Sylius\Component\Channel\Repository\ChannelRepositoryInterface but does not specify its types: T
|
phpstan-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|