File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 4444 | ` Sylius\PayPalPlugin\EventListener\Workflow\CompletePayPalOrderListener ` | ` sylius_paypal.listener.workflow.complete_paypal_order ` |
4545 | ` Sylius\PayPalPlugin\EventListener\Workflow\RefundPaymentListener ` | ` sylius_paypal.listener.workflow.refund_payment ` |
4646 | ` Sylius\PayPalPlugin\Factory\PayPalPaymentMethodNewResourceFactory ` | ` sylius_paypal.factory.paypal_payment_method_new_resource ` |
47+ | ` Sylius\PayPalPlugin\Form\Extension\PaymentMethodTypeExtension ` | ` sylius_paypal.form.extension.payment_method ` |
4748 | ` Sylius\PayPalPlugin\Form\Type\PayPalConfigurationType ` | ` sylius_paypal.form.type.paypal_configuration ` |
4849 | ` Sylius\PayPalPlugin\Listener\PayPalPaymentMethodListener ` | ` sylius_paypal.listener.paypal_payment_method ` |
4950 | ` Sylius\PayPalPlugin\Payum\Action\AuthorizeAction ` | ` sylius_paypal.payum.action.authorize ` |
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ public function __construct(
5252 ),
5353 );
5454 }
55+
56+ trigger_deprecation (
57+ 'sylius/paypal-plugin ' ,
58+ '1.7 ' ,
59+ 'The fifth argument of the constructor in class "%s" is deprecated and will be renamed to "stateMachine" in 2.0. ' ,
60+ self ::class,
61+ );
5562 }
5663
5764 protected function configure (): void
Original file line number Diff line number Diff line change 2929 <service id =" Sylius\PayPalPlugin\Form\Extension\PaymentMethodTypeExtension" >
3030 <tag name =" form.type_extension" extended-type =" Sylius\Bundle\PaymentBundle\Form\Type\PaymentMethodType" />
3131 </service >
32+ <service id =" sylius_paypal.form.extension.payment_method" alias =" Sylius\PayPalPlugin\Form\Extension\PaymentMethodTypeExtension" />
3233
3334 <service id =" Sylius\PayPalPlugin\Form\Type\PayPalConfigurationType" >
3435 <tag name =" sylius.gateway_configuration_type" type =" sylius.pay_pal" label =" sylius.pay_pal.label" />
You can’t perform that action at this time.
0 commit comments