From 60c0a8dd5375485add21b8a43aa9fb91c9ccd388 Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Thu, 16 Sep 2021 14:50:44 +0200 Subject: [PATCH 1/2] [Maintenance] Create empty UPGRADE file for v1.1 --- UPGRADE-1.1.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 UPGRADE-1.1.md diff --git a/UPGRADE-1.1.md b/UPGRADE-1.1.md new file mode 100644 index 00000000..da966bfc --- /dev/null +++ b/UPGRADE-1.1.md @@ -0,0 +1 @@ +### UPGRADE FROM 1.0.X TO 1.1.0 From 825538786ec64a87815310dc2814c5a166d968e8 Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Fri, 17 Sep 2021 08:32:46 +0200 Subject: [PATCH 2/2] Fixes after ECS analysis --- src/DependencyInjection/Configuration.php | 3 --- src/Twig/OrderRefundsExtension.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 24954c36..13928cfc 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -18,9 +18,6 @@ final class Configuration implements ConfigurationInterface { - /** - * {@inheritdoc} - */ public function getConfigTreeBuilder(): TreeBuilder { return new TreeBuilder('sylius_refund_plugin'); diff --git a/src/Twig/OrderRefundsExtension.php b/src/Twig/OrderRefundsExtension.php index 932f16e6..c3933213 100644 --- a/src/Twig/OrderRefundsExtension.php +++ b/src/Twig/OrderRefundsExtension.php @@ -81,7 +81,7 @@ public function getFunctions(): array new TwigFunction( 'get_all_refund_payments_by_order', [$this, 'getAllRefundPaymentsByOrder'] - ) + ), ]; }