From 1bd13e4c5e38e3e41cb4acf8b1e5042748ab512d Mon Sep 17 00:00:00 2001
From: Sivaram Manijeganathan <sivaramm@adobe.com>
Date: Mon, 8 Apr 2024 09:25:11 -0500
Subject: [PATCH 1/3] bump version 1.0.26

---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index af82866..a6412cf 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
     "name": "magento/magento-cloud-patches",
     "description": "Provides critical fixes for Magento 2 Enterprise Edition",
     "type": "magento2-component",
-    "version": "1.0.25",
+    "version": "1.0.26",
     "license": "OSL-3.0",
     "repositories": {
         "repo.magento.com": {

From e5c3c7e3b289709ff78e0806e4424cfaf581f8a4 Mon Sep 17 00:00:00 2001
From: Shambhu Kumar <83451160+glo72880@users.noreply.github.com>
Date: Tue, 21 May 2024 18:03:32 +0530
Subject: [PATCH 2/3] MCP Release 1.0.27 (#99)

* update template version

* update template

* update compatible versions

* Use abstract parent cest to fix tests

* Add abstract patchesDataProvider signature

* phpcs fix for missing doc (#101)

---------

Co-authored-by: Sivaram Manijeganathan <sivaramm@adobe.com>
Co-authored-by: Andrii Shevtsov <ashevtso@adobe.com>
Co-authored-by: Tom Reece <treece@adobe.com>
Co-authored-by: Tom Reece <tomreece@gmail.com>
---
 composer.json                                 | 21 ++++++++--------
 .../Acceptance/Acceptance82Cest.php           |  2 +-
 .../Acceptance/Acceptance83Cest.php           | 24 +++++++++++++++++++
 .../Functional/Acceptance/AcceptanceCest.php  | 13 ++++------
 .../Acceptance/PatchApplierCest.php           |  2 +-
 5 files changed, 41 insertions(+), 21 deletions(-)
 create mode 100644 src/Test/Functional/Acceptance/Acceptance83Cest.php

diff --git a/composer.json b/composer.json
index a6412cf..57b22cf 100644
--- a/composer.json
+++ b/composer.json
@@ -6,8 +6,8 @@
     "license": "OSL-3.0",
     "repositories": {
         "repo.magento.com": {
-            "type": "composer",
-            "url": "https://repo.magento.com/"
+          "type": "composer",
+          "url": "https://repo.magento.com/"
         }
     },
     "require": {
@@ -18,19 +18,18 @@
         "symfony/config": "^3.3||^4.4||^5.0||^6.0",
         "symfony/console": "^2.6||^4.0||^5.0||^6.0",
         "symfony/dependency-injection": "^3.3||^4.3||^5.0||^6.0",
-        "symfony/process": "^2.1||^4.1||^5.0||^6.0",
+        "symfony/process": "^2.1 || ^4.1 || ^5.1 || ^5.4 || ^6.4",
         "symfony/proxy-manager-bridge": "^3.3||^4.3||^5.0||^6.0",
         "symfony/yaml": "^3.3||^4.0||^5.0||^6.0",
-        "monolog/monolog": "^1.25||^2.3||^2.7",
-        "magento/quality-patches": "^1.1.0"
+        "monolog/monolog": "^1.25||^2.3||^2.7"
     },
     "require-dev": {
-        "codeception/codeception": "^4.1",
-        "codeception/module-asserts": "^1.2",
-        "codeception/module-db": "^1.0",
-        "codeception/module-phpbrowser": "^1.0",
-        "codeception/module-rest": "^1.2",
-        "consolidation/robo": "^1.2 || ^2.0",
+        "codeception/codeception": "^4.1 || ^5.1",
+        "codeception/module-asserts": "^1.2 || ^3.0",
+        "codeception/module-db": "^1.0 || ^3.0",
+        "codeception/module-phpbrowser": "^1.0 || ^3.0",
+        "codeception/module-rest": "^1.2 || ^3.0",
+        "consolidation/robo": "^1.2 || ^3.0",
         "phpmd/phpmd": "@stable",
         "phpunit/phpunit": "^8.5 || ^9.5",
         "squizlabs/php_codesniffer": "^3.0"
diff --git a/src/Test/Functional/Acceptance/Acceptance82Cest.php b/src/Test/Functional/Acceptance/Acceptance82Cest.php
index d9ea8d6..4433514 100644
--- a/src/Test/Functional/Acceptance/Acceptance82Cest.php
+++ b/src/Test/Functional/Acceptance/Acceptance82Cest.php
@@ -20,7 +20,7 @@ protected function patchesDataProvider(): array
         return [
             ['templateVersion' => '2.4.6', 'magentoVersion' => '2.4.6'],
             ['templateVersion' => '2.4.6', 'magentoVersion' => '2.4.6-p1'],
-            ['templateVersion' => '2.4.7-beta', 'magentoVersion' => null],
+            ['templateVersion' => '2.4.7', 'magentoVersion' => null],
         ];
     }
 }
diff --git a/src/Test/Functional/Acceptance/Acceptance83Cest.php b/src/Test/Functional/Acceptance/Acceptance83Cest.php
new file mode 100644
index 0000000..412ad87
--- /dev/null
+++ b/src/Test/Functional/Acceptance/Acceptance83Cest.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Copyright © Magento, Inc. All rights reserved.
+ * See COPYING.txt for license details.
+ */
+declare(strict_types=1);
+
+namespace Magento\CloudPatches\Test\Functional\Acceptance;
+
+/**
+ * @group php83
+ */
+class Acceptance83Cest extends AcceptanceCest
+{
+    /**
+     * @return array
+     */
+    protected function patchesDataProvider(): array
+    {
+        return [
+            ['templateVersion' => '2.4.7', 'magentoVersion' => '2.4.7'],
+        ];
+    }
+}
diff --git a/src/Test/Functional/Acceptance/AcceptanceCest.php b/src/Test/Functional/Acceptance/AcceptanceCest.php
index cedf47e..070482a 100644
--- a/src/Test/Functional/Acceptance/AcceptanceCest.php
+++ b/src/Test/Functional/Acceptance/AcceptanceCest.php
@@ -8,9 +8,11 @@
 namespace Magento\CloudPatches\Test\Functional\Acceptance;
 
 /**
- * @group php83
+ * Abstract AcceptanceCest
+ *
+ * @abstract
  */
-class AcceptanceCest extends AbstractCest
+abstract class AcceptanceCest extends AbstractCest
 {
     /**
      * @param \CliTester $I
@@ -46,10 +48,5 @@ public function testPatches(\CliTester $I, \Codeception\Example $data): void
     /**
      * @return array
      */
-    protected function patchesDataProvider(): array
-    {
-        return [
-            ['templateVersion' => '2.4.7-beta-test', 'magentoVersion' => '2.4.7-beta401'],
-        ];
-    }
+    abstract protected function patchesDataProvider(): array;
 }
diff --git a/src/Test/Functional/Acceptance/PatchApplierCest.php b/src/Test/Functional/Acceptance/PatchApplierCest.php
index abf4508..05a0990 100644
--- a/src/Test/Functional/Acceptance/PatchApplierCest.php
+++ b/src/Test/Functional/Acceptance/PatchApplierCest.php
@@ -21,7 +21,7 @@ public function _before(\CliTester $I): void
     {
         parent::_before($I);
 
-        $this->prepareTemplate($I, '2.4.7-beta-test');
+        $this->prepareTemplate($I, '2.4.7');
         $I->copyFileToWorkDir('files/debug_logging/.magento.env.yaml', '.magento.env.yaml');
     }
 

From e78a1367d18624657f7cf6f53dac197ca0bd207d Mon Sep 17 00:00:00 2001
From: Shambhu Kumar <83451160+glo72880@users.noreply.github.com>
Date: Tue, 21 May 2024 19:53:19 +0530
Subject: [PATCH 3/3] fix bump 1.0.27 (#104)

---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index 57b22cf..05fd2f8 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
     "name": "magento/magento-cloud-patches",
     "description": "Provides critical fixes for Magento 2 Enterprise Edition",
     "type": "magento2-component",
-    "version": "1.0.26",
+    "version": "1.0.27",
     "license": "OSL-3.0",
     "repositories": {
         "repo.magento.com": {
