-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,3 @@ parameters: | |
|
||
# The level 9 is the highest level | ||
level: 9 | ||
|
||
checkGenericClassInNonGenericObjectType: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
|
||
namespace Basecom\FixturePlugin\Utils; | ||
|
||
use Shopware\Core\Content\Category\CategoryCollection; | ||
use Shopware\Core\Content\Category\CategoryEntity; | ||
use Shopware\Core\Framework\Context; | ||
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository; | ||
|
@@ -14,6 +15,9 @@ | |
|
||
readonly class CategoryUtils | ||
{ | ||
/** | ||
* @param EntityRepository<CategoryCollection> $categoryRepository | ||
Check failure on line 19 in src/Utils/CategoryUtils.php GitHub Actions / Psalm (8.2, lowest)TooManyTemplateParams
|
||
*/ | ||
public function __construct( | ||
Check failure on line 21 in src/Utils/CategoryUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
private EntityRepository $categoryRepository, | ||
Check failure on line 22 in src/Utils/CategoryUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
namespace Basecom\FixturePlugin\Utils; | ||
|
||
use Shopware\Core\Content\Cms\CmsPageCollection; | ||
use Shopware\Core\Content\Cms\CmsPageEntity; | ||
use Shopware\Core\Framework\Context; | ||
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository; | ||
|
@@ -13,6 +14,9 @@ | |
|
||
readonly class CmsUtils | ||
{ | ||
/** | ||
* @param EntityRepository<CmsPageCollection> $cmsPageRepository | ||
Check failure on line 18 in src/Utils/CmsUtils.php GitHub Actions / Psalm (8.2, lowest)TooManyTemplateParams
|
||
*/ | ||
public function __construct( | ||
Check failure on line 20 in src/Utils/CmsUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
private EntityRepository $cmsPageRepository, | ||
Check failure on line 21 in src/Utils/CmsUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,14 @@ | |
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository; | ||
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria; | ||
use Shopware\Core\Framework\DataAbstractionLayer\Search\Filter\EqualsFilter; | ||
use Shopware\Core\System\Salutation\SalutationCollection; | ||
use Shopware\Core\System\Salutation\SalutationEntity; | ||
|
||
readonly class CustomerUtils | ||
{ | ||
/** | ||
* @param EntityRepository<SalutationCollection> $salutationRepository | ||
Check failure on line 17 in src/Utils/CustomerUtils.php GitHub Actions / Psalm (8.2, lowest)TooManyTemplateParams
|
||
*/ | ||
public function __construct( | ||
Check failure on line 19 in src/Utils/CustomerUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
private EntityRepository $salutationRepository, | ||
Check failure on line 20 in src/Utils/CustomerUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,22 @@ | |
|
||
namespace Basecom\FixturePlugin\Utils; | ||
|
||
use Shopware\Core\Content\Media\Aggregate\MediaFolder\MediaFolderCollection; | ||
use Shopware\Core\Content\Media\Aggregate\MediaFolder\MediaFolderEntity; | ||
use Shopware\Core\Content\Media\File\FileFetcher; | ||
use Shopware\Core\Content\Media\File\FileSaver; | ||
use Shopware\Core\Content\Media\MediaCollection; | ||
use Shopware\Core\Framework\Context; | ||
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepository; | ||
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria; | ||
use Shopware\Core\Framework\DataAbstractionLayer\Search\Filter\EqualsFilter; | ||
|
||
readonly class MediaUtils | ||
{ | ||
/** | ||
* @param EntityRepository<MediaCollection> $mediaRepository | ||
Check failure on line 20 in src/Utils/MediaUtils.php GitHub Actions / Psalm (8.2, lowest)TooManyTemplateParams
|
||
* @param EntityRepository<MediaFolderCollection> $mediaFolderRepository | ||
Check failure on line 21 in src/Utils/MediaUtils.php GitHub Actions / Psalm (8.2, lowest)TooManyTemplateParams
|
||
*/ | ||
public function __construct( | ||
Check failure on line 23 in src/Utils/MediaUtils.php GitHub Actions / PHPStan (8.2, lowest)
Check failure on line 23 in src/Utils/MediaUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
private EntityRepository $mediaRepository, | ||
Check failure on line 24 in src/Utils/MediaUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
private EntityRepository $mediaFolderRepository, | ||
Check failure on line 25 in src/Utils/MediaUtils.php GitHub Actions / PHPStan (8.2, lowest)
|
||
|