File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 2929 <service id =" Sylius\PayPalPlugin\Form\Extension\PaymentMethodTypeExtension" >
3030 <tag name =" form.type_extension" />
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" />
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
You can’t perform that action at this time.
0 commit comments