Add missing Admin SyliusUI import #271
Annotations
16 errors and 1 warning
Run PHPStan:
src/Fixture/Factory/AddressExampleFactory.php#L25
PHPDoc tag @param for parameter $addressFactory contains generic type Sylius\Component\Resource\Factory\FactoryInterface<FluxSE\SyliusEUVatPlugin\Entity\VATNumberAwareInterface&Sylius\Component\Core\Model\AddressInterface> but interface Sylius\Component\Resource\Factory\FactoryInterface is not generic.
|
Run PHPStan:
src/Fixture/Factory/AddressExampleFactory.php#L25
PHPDoc tag @param for parameter $countryRepository contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\CountryInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
|
Run PHPStan:
src/Fixture/Factory/AddressExampleFactory.php#L25
PHPDoc tag @param for parameter $customerRepository contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Core\Model\CustomerInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
|
Run PHPStan:
src/Fixture/Factory/EuropeanChannelExampleFactory.php#L31
PHPDoc type for property FluxSE\SyliusEUVatPlugin\Fixture\Factory\EuropeanChannelExampleFactory::$countryRepository contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\CountryInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
|
Run PHPStan:
src/Fixture/Factory/EuropeanChannelExampleFactory.php#L35
PHPDoc type for property FluxSE\SyliusEUVatPlugin\Fixture\Factory\EuropeanChannelExampleFactory::$zoneRepository contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\ZoneInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
|
Run PHPStan:
tests/Unit/Checker/ChannelEligibilityCheckerTest.php#L25
PHPDoc tag @var for property Tests\FluxSE\SyliusEUVatPlugin\Unit\Checker\ChannelEligibilityCheckerTest::$zoneRepositoryMock contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\ZoneInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
|
Run PHPStan:
tests/Unit/Checker/ChannelEligibilityCheckerTest.php#L33
PHPDoc tag @var for property Tests\FluxSE\SyliusEUVatPlugin\Unit\Checker\ChannelEligibilityCheckerTest::$zoneMemberFactory contains generic type Sylius\Component\Resource\Factory\FactoryInterface<Sylius\Component\Addressing\Model\ZoneMemberInterface> but interface Sylius\Component\Resource\Factory\FactoryInterface is not generic.
|
Run PHPStan:
tests/Unit/Checker/ChannelEligibilityCheckerTest.php#L66
Call to an undefined method object::setCode().
|
Run PHPStan:
tests/Unit/Checker/ChannelEligibilityCheckerTest.php#L67
Call to an undefined method object::addMember().
|
Run PHPStan:
tests/Unit/Checker/ChannelEligibilityCheckerTest.php#L75
Call to an undefined method object::getMembers().
|
Run Psalm:
src/Fixture/Factory/AddressExampleFactory.php#L21
src/Fixture/Factory/AddressExampleFactory.php:21:15: TooManyTemplateParams: Sylius\Component\Resource\Factory\FactoryInterface<Sylius\Component\Core\Model\AddressInterface&FluxSE\SyliusEUVatPlugin\Entity\VATNumberAwareInterface> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run Psalm:
src/Fixture/Factory/AddressExampleFactory.php#L22
src/Fixture/Factory/AddressExampleFactory.php:22:15: TooManyTemplateParams: Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\CountryInterface> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run Psalm:
src/Fixture/Factory/AddressExampleFactory.php#L23
src/Fixture/Factory/AddressExampleFactory.php:23:15: TooManyTemplateParams: Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Core\Model\CustomerInterface> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run Psalm:
src/Fixture/Factory/EuropeanChannelExampleFactory.php#L31
src/Fixture/Factory/EuropeanChannelExampleFactory.php:31:9: TooManyTemplateParams: Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\CountryInterface> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run Psalm:
src/Fixture/Factory/EuropeanChannelExampleFactory.php#L35
src/Fixture/Factory/EuropeanChannelExampleFactory.php:35:9: TooManyTemplateParams: Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Addressing\Model\ZoneInterface> has too many template params, expecting 0 (see https://psalm.dev/184)
|
Run Psalm
Process completed with exit code 2.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading