Enable rule checkGenericClassInNonGenericObjectType in psalm #193
Annotations
22 errors
TooManyTemplateParams:
src/Utils/CategoryUtils.php#L19
src/Utils/CategoryUtils.php:19:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Category\CategoryCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/CmsUtils.php#L18
src/Utils/CmsUtils.php:18:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Cms\CmsPageCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/CustomerUtils.php#L17
src/Utils/CustomerUtils.php:17:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\Salutation\SalutationCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/MediaUtils.php#L20
src/Utils/MediaUtils.php:20:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Media\MediaCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/MediaUtils.php#L21
src/Utils/MediaUtils.php:21:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Media\Aggregate\MediaFolder\MediaFolderCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/PaymentMethodUtils.php#L18
src/Utils/PaymentMethodUtils.php:18:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Checkout\Payment\PaymentMethodCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/SalesChannelUtils.php#L30
src/Utils/SalesChannelUtils.php:30:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\SalesChannel\SalesChannelCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/SalesChannelUtils.php#L31
src/Utils/SalesChannelUtils.php:31:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\Snippet\Aggregate\SnippetSet\SnippetSetCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/SalesChannelUtils.php#L32
src/Utils/SalesChannelUtils.php:32:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\Tax\TaxCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Utils/SalesChannelUtils.php#L33
src/Utils/SalesChannelUtils.php:33:15: TooManyTemplateParams: Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\Country\CountryCollection> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Psalm (8.3, lowest)
The job was canceled because "_8_2_lowest" failed.
|
Psalm (8.3, lowest)
The operation was canceled.
|
PHPStan (8.2, lowest):
src/Utils/CategoryUtils.php#L21
PHPDoc tag @param for parameter $categoryRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Category\CategoryCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/CategoryUtils.php#L22
PHPDoc type for property Basecom\FixturePlugin\Utils\CategoryUtils::$categoryRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Category\CategoryCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/CmsUtils.php#L20
PHPDoc tag @param for parameter $cmsPageRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Cms\CmsPageCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/CmsUtils.php#L21
PHPDoc type for property Basecom\FixturePlugin\Utils\CmsUtils::$cmsPageRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Cms\CmsPageCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/CustomerUtils.php#L19
PHPDoc tag @param for parameter $salutationRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\Salutation\SalutationCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/CustomerUtils.php#L20
PHPDoc type for property Basecom\FixturePlugin\Utils\CustomerUtils::$salutationRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\Salutation\SalutationCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/MediaUtils.php#L23
PHPDoc tag @param for parameter $mediaFolderRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Media\Aggregate\MediaFolder\MediaFolderCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/MediaUtils.php#L23
PHPDoc tag @param for parameter $mediaRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Media\MediaCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/MediaUtils.php#L24
PHPDoc type for property Basecom\FixturePlugin\Utils\MediaUtils::$mediaRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Media\MediaCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|
PHPStan (8.2, lowest):
src/Utils/MediaUtils.php#L25
PHPDoc type for property Basecom\FixturePlugin\Utils\MediaUtils::$mediaFolderRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\Content\Media\Aggregate\MediaFolder\MediaFolderCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
|