From 320529d1a00e846b619d147c01bc5fbbe9b1a396 Mon Sep 17 00:00:00 2001 From: Artemenko Maksim Date: Sun, 17 May 2026 20:41:28 +0300 Subject: [PATCH 1/3] ZIG-203 increase payment url length fix client placeRequest return type --- .jeeves.yaml | 1 + Gateway/Http/Client/Client.php | 4 ++-- etc/db_schema.xml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.jeeves.yaml b/.jeeves.yaml index aa4e9c6..678b99b 100644 --- a/.jeeves.yaml +++ b/.jeeves.yaml @@ -61,6 +61,7 @@ Mygento: payment_url: type: varchar nullable: false + length: 255 comment: 'Payment Url' try: type: int diff --git a/Gateway/Http/Client/Client.php b/Gateway/Http/Client/Client.php index 25f6155..ed0085d 100644 --- a/Gateway/Http/Client/Client.php +++ b/Gateway/Http/Client/Client.php @@ -39,13 +39,13 @@ public function __construct( /** * @param \Magento\Payment\Gateway\Http\TransferInterface $transferObject - * @return null + * @return array * * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function placeRequest(\Magento\Payment\Gateway\Http\TransferInterface $transferObject) { - return null; + return []; } /** diff --git a/etc/db_schema.xml b/etc/db_schema.xml index 3df22f0..84ac406 100644 --- a/etc/db_schema.xml +++ b/etc/db_schema.xml @@ -21,7 +21,7 @@ - + From 08868544f74a63d4ff28b63a97f06bcdfbdd2136 Mon Sep 17 00:00:00 2001 From: Artemenko Maksim Date: Sun, 17 May 2026 20:43:10 +0300 Subject: [PATCH 2/3] ZIG-203 increase payment url length --- .jeeves.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jeeves.yaml b/.jeeves.yaml index 678b99b..7e8ed4d 100644 --- a/.jeeves.yaml +++ b/.jeeves.yaml @@ -61,7 +61,7 @@ Mygento: payment_url: type: varchar nullable: false - length: 255 + length: 512 comment: 'Payment Url' try: type: int From 3343cb60ffd4545b8e3584b64de7276d431a25be Mon Sep 17 00:00:00 2001 From: Artemenko Maksim Date: Sun, 17 May 2026 20:45:34 +0300 Subject: [PATCH 3/3] ZIG-203 fix autoload phpstan --- grumphp.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/grumphp.yml b/grumphp.yml index 4d38d11..1f0d358 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -16,6 +16,5 @@ grumphp: warning_severity: 0 xmllint: phpstan: - autoload_file: 'vendor/mygento/coding-standard/stan/autoload.php' ignore_patterns: ['Test'] level: 1