OP-558 - update plugin to Sylius 2 - update README, composer.json and… #109
Annotations
5 errors and 1 warning
Run PHPStan:
src/Form/Rule/AutomaticBlacklistingRuleSettingsType.php#L32
Parameter #1 $type of class Symfony\Component\Validator\Constraints\Type constructor expects array<string>|string|null, array<string, array<int, string>|string> given.
|
Run PHPStan:
src/Validator/Constraints/AutomaticBlacklistingConfiguration/AddFraudSuspicionWithSettings.php#L33
Return type (array<string>) of method BitBag\SyliusBlacklistPlugin\Validator\Constraints\AutomaticBlacklistingConfiguration\AddFraudSuspicionWithSettings::getTargets() should be covariant with return type ('class'|'property'|array<'class'|'property'>) of method Symfony\Component\Validator\Constraint::getTargets()
|
Run PHPStan:
src/Validator/Constraints/BlacklistingRule/BlacklistingRuleCustomerGroups.php#L31
Return type (array<string>) of method BitBag\SyliusBlacklistPlugin\Validator\Constraints\BlacklistingRule\BlacklistingRuleCustomerGroups::getTargets() should be covariant with return type ('class'|'property'|array<'class'|'property'>) of method Symfony\Component\Validator\Constraint::getTargets()
|
Run PHPStan:
src/Validator/Constraints/Checkout/CheckoutAddressType.php#L31
Return type (array<string>) of method BitBag\SyliusBlacklistPlugin\Validator\Constraints\Checkout\CheckoutAddressType::getTargets() should be covariant with return type ('class'|'property'|array<'class'|'property'>) of method Symfony\Component\Validator\Constraint::getTargets()
|
Run PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading