Skip to content

Commit 1b5e3e4

Browse files
committed
Merge branch '1.7' into 2.0
* 1.7: [Maintenance] Add new id for PaymentMethodTypeExtension
2 parents bdc49cb + bb5619d commit 1b5e3e4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

config/services.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
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" />

src/Console/Command/CompletePaidPaymentsCommand.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)