Skip to content

[Shop] Fix paypal checkout when another payment method was selected during checkout #843

[Shop] Fix paypal checkout when another payment method was selected during checkout

[Shop] Fix paypal checkout when another payment method was selected during checkout #843

Triggered via pull request March 13, 2025 15:57
Status Failure
Total duration 2m 53s
Artifacts

build.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

52 errors
Sylius ~1.13.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.12.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.12.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.12.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter symfony_workflow: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter symfony_workflow: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.12.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.12.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.12.0, PHP 8.2, Symfony ^5.4.21, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.3, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.3, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.3, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.12.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.12.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.12.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.13.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.13.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.13.0, PHP 8.2, Symfony ^6.4, MySQL 8.0, State Machine Adapter symfony_workflow: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.
Sylius ~1.12.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Controller/CreatePayPalOrderFromCartAction.php#L121
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
Sylius ~1.12.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L37
Parameter #2 $factory (Sylius\Component\Resource\Factory\FactoryInterface) of method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() is not contravariant with parameter #2 $factory (Sylius\Resource\Factory\FactoryInterface) of method Sylius\Bundle\ResourceBundle\Controller\NewResourceFactoryInterface::create().
Sylius ~1.12.0, PHP 8.1, Symfony ^6.4, MySQL 8.0, State Machine Adapter winzou_state_machine: src/Factory/PayPalPaymentMethodNewResourceFactory.php#L42
Method Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory::create() should return Sylius\Component\Resource\Model\ResourceInterface but returns Sylius\Resource\Model\ResourceInterface.