PPI-1056 - Refactor payment handlers to AbstractPaymentHandlers #275
php.yml
on: pull_request
php-cs-fixer
3m 39s
validate-openapi-typescript
4m 51s
Matrix: phpstan
Annotations
10 errors
phpstan (trunk):
src/Checkout/CheckoutException.php#L15
Class like namespace "Swag\PayPal\Checkout\Exception" does not follow PSR-4 configuration in composer.json
|
phpstan (trunk):
src/Checkout/SalesChannel/CreateOrderRoute.php#L187
Call to deprecated method build() of class Shopware\Core\Checkout\Payment\Cart\AbstractPaymentTransactionStructFactory:
tag:v6.7.0 - will be abstract, implementation is in `PaymentTransactionStructFactory`
|
phpstan (trunk):
src/Webhook/Handler/VaultPaymentTokenCreated.php#L82
Call to deprecated method build() of class Shopware\Core\Checkout\Payment\Cart\AbstractPaymentTransactionStructFactory:
tag:v6.7.0 - will be abstract, implementation is in `PaymentTransactionStructFactory`
|
phpstan (trunk):
tests/Checkout/Card/ACDCValidatorTest.php#L43
Parameter #2 $transaction of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionEntity, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\Checkout\Payment\Cart\SyncPaymentTransactionStruct given.
|
phpstan (trunk):
tests/Checkout/Card/ACDCValidatorTest.php#L43
Parameter #3 $context of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Framework\Context, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\System\SalesChannel\SalesChannelContext given.
|
phpstan (trunk):
tests/Checkout/Card/ACDCValidatorTest.php#L56
Parameter #2 $transaction of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionEntity, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\Checkout\Payment\Cart\SyncPaymentTransactionStruct given.
|
phpstan (trunk):
tests/Checkout/Card/ACDCValidatorTest.php#L56
Parameter #3 $context of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Framework\Context, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\System\SalesChannel\SalesChannelContext given.
|
phpstan (trunk):
tests/Checkout/Card/ApplePayValidatorTest.php#L41
Parameter #2 $transaction of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionEntity, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\Checkout\Payment\Cart\SyncPaymentTransactionStruct given.
|
phpstan (trunk):
tests/Checkout/Card/ApplePayValidatorTest.php#L41
Parameter #3 $context of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Framework\Context, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\System\SalesChannel\SalesChannelContext given.
|
phpstan (trunk):
tests/Checkout/Card/ApplePayValidatorTest.php#L54
Parameter #2 $transaction of method Swag\PayPal\Checkout\Card\CardValidatorInterface::validate() expects Shopware\Core\Checkout\Order\Aggregate\OrderTransaction\OrderTransactionEntity, PHPUnit\Framework\MockObject\MockObject&Shopware\Core\Checkout\Payment\Cart\SyncPaymentTransactionStruct given.
|