From 909667aaad1d07be242c7cddc0ec8e8449d88fee Mon Sep 17 00:00:00 2001 From: Korovitskyi Date: Tue, 27 Jul 2021 14:12:59 +0300 Subject: [PATCH 01/34] #33339: declare PHP 8 compatibility --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a7d3b1d..821631a 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~7.3.0||~7.4.0", + "php": "~7.3.0||~7.4.0||~8.0.0", "composer/composer": "^1.9 || ^2.0", "symfony/console": "~4.4.0" }, From 586dcd4b3c19959e0d0d40cc997af369bbfc93c4 Mon Sep 17 00:00:00 2001 From: Max Lesechko Date: Thu, 29 Jul 2021 21:49:20 -0500 Subject: [PATCH 02/34] Remove composer version --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 821631a..c1c999e 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,6 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.7.0", "license": [ "OSL-3.0", "AFL-3.0" From c7df3e30c4fd33f796e81d47035f353495a83a6f Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Mon, 2 Aug 2021 08:55:39 +0300 Subject: [PATCH 03/34] Run tests on GitHub Actions --- .github/workflows/php.yml | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..e1a18fc --- /dev/null +++ b/.github/workflows/php.yml @@ -0,0 +1,45 @@ +name: CI + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + php-version: + - "7.3" + - "7.4" + - "8.0" + dependencies: + - "lowest" + - "highest" + + name: Tests with PHP ${{ matrix.php-version }} and ${{ matrix.dependencies }} dependencies + + steps: + - uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Validate composer + run: composer validate + + - name: Composer install + uses: "ramsey/composer-install@v1" + with: + dependency-versions: "${{ matrix.dependencies }}" + composer-options: "${{ matrix.composer-options }}" + + - name: Run unit tests suite + run: vendor/bin/phpunit From 0b1c3da210b1d1d721729cf86997cf9e3431c030 Mon Sep 17 00:00:00 2001 From: Max Lesechko Date: Thu, 21 Oct 2021 13:43:55 -0500 Subject: [PATCH 04/34] Update the package version --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index c1c999e..f9686fb 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", + "version": "1.8.0-beta1", "license": [ "OSL-3.0", "AFL-3.0" From a82bddb38135e17b4274673e59d5a62c7d000dd7 Mon Sep 17 00:00:00 2001 From: silinmykola Date: Thu, 4 Nov 2021 13:46:44 +0100 Subject: [PATCH 05/34] add php81 compatibility --- .github/workflows/php.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e1a18fc..faef412 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,9 +13,9 @@ jobs: fail-fast: false matrix: php-version: - - "7.3" - "7.4" - "8.0" + - "8.1" dependencies: - "lowest" - "highest" diff --git a/composer.json b/composer.json index f9686fb..e2c42a0 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~7.3.0||~7.4.0||~8.0.0", + "php": "~7.4.0||~8.0.0||~8.1.0", "composer/composer": "^1.9 || ^2.0", "symfony/console": "~4.4.0" }, From b5ffbc9c8021885624f864bd8a484779b6713b41 Mon Sep 17 00:00:00 2001 From: Max Lesechko Date: Thu, 9 Dec 2021 18:31:48 -0600 Subject: [PATCH 06/34] Update the package version to 1.8.0-beta2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e2c42a0..4c34c08 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.8.0-beta1", + "version": "1.8.0-beta2", "license": [ "OSL-3.0", "AFL-3.0" From e48b1d74c80bc22ddb7b84ffc890c3f9d7fd2404 Mon Sep 17 00:00:00 2001 From: Max Lesechko Date: Thu, 13 Jan 2022 18:51:50 -0600 Subject: [PATCH 07/34] Update the package version to 1.8.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4c34c08..151e720 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.8.0-beta2", + "version": "1.8.0", "license": [ "OSL-3.0", "AFL-3.0" From a0cb0c6615df62895a78258c262f19d527f0e7ee Mon Sep 17 00:00:00 2001 From: Sergiy Vasiutynskyi Date: Fri, 11 Feb 2022 16:46:57 +0200 Subject: [PATCH 08/34] AC-2749 updated 'symfony/console' dependency to support 4.4v & 5.4v Symfony, removed PHP 8.0 compatibility --- .github/workflows/php.yml | 1 - composer.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index faef412..974af59 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,7 +14,6 @@ jobs: matrix: php-version: - "7.4" - - "8.0" - "8.1" dependencies: - "lowest" diff --git a/composer.json b/composer.json index 151e720..355a1af 100644 --- a/composer.json +++ b/composer.json @@ -8,9 +8,9 @@ "AFL-3.0" ], "require": { - "php": "~7.4.0||~8.0.0||~8.1.0", + "php": "~7.4.0||~8.1.0", "composer/composer": "^1.9 || ^2.0", - "symfony/console": "~4.4.0" + "symfony/console": "~4.4.0||~5.4.0" }, "require-dev": { "phpunit/phpunit": "^9" From 5d845c58672b22f534b252ffde4dc9b2f2b8f9ef Mon Sep 17 00:00:00 2001 From: Maksym Aposov Date: Tue, 21 Jun 2022 08:02:05 -0500 Subject: [PATCH 09/34] Update the package version to 1.9.0-beta1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 355a1af..b5db1fd 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.8.0", + "version": "1.9.0-beta1", "license": [ "OSL-3.0", "AFL-3.0" From 89bf1dd44aecac211360b7efc719c292f42d383f Mon Sep 17 00:00:00 2001 From: Maksym Aposov Date: Fri, 24 Jun 2022 13:25:31 -0500 Subject: [PATCH 10/34] AC-3684: Release magento components with symfony 5.4 support - exclude git related files from packaging --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index b5db1fd..f0160f5 100644 --- a/composer.json +++ b/composer.json @@ -19,5 +19,8 @@ "psr-4": { "Magento\\Composer\\": "src" } + }, + "archive": { + "exclude": [".github", ".gitignore"] } } From 3e77ea1c1e9b5214755ebac2162930fcdbd6d8ea Mon Sep 17 00:00:00 2001 From: Faizan Shaikh Date: Mon, 22 Aug 2022 17:31:30 +0530 Subject: [PATCH 11/34] AC-2841:PHP 7.4 compatibility removal from the codebase --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b5db1fd..2e9934c 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~7.4.0||~8.1.0", + "php": "~8.1.0", "composer/composer": "^1.9 || ^2.0", "symfony/console": "~4.4.0||~5.4.0" }, From 0f2737e81fb24979e691d3f9ebb50c072f9cae7a Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Thu, 8 Sep 2022 14:37:54 +0530 Subject: [PATCH 12/34] AC-3005::Investigate drop of composer 1.x support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b5db1fd..d28c0f1 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "require": { "php": "~7.4.0||~8.1.0", - "composer/composer": "^1.9 || ^2.0", + "composer/composer": "^2.0", "symfony/console": "~4.4.0||~5.4.0" }, "require-dev": { From f39ae18702d4b57ac6120e0756999ba67aa8eeb5 Mon Sep 17 00:00:00 2001 From: Faizan Shaikh Date: Mon, 12 Sep 2022 14:44:17 +0530 Subject: [PATCH 13/34] AC-2841:PHP 7.4 compatibility removal from the codebase --- .github/workflows/php.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 974af59..48567d1 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,7 +13,6 @@ jobs: fail-fast: false matrix: php-version: - - "7.4" - "8.1" dependencies: - "lowest" From 9f65430aa74a11feedd1630784c85f8a0fb70c30 Mon Sep 17 00:00:00 2001 From: Faizan Shaikh Date: Mon, 3 Oct 2022 12:41:06 +0530 Subject: [PATCH 14/34] AC-6646::Add PHP 8.2 Compatibility Support --- .github/workflows/php.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 48567d1..368effd 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,6 +14,7 @@ jobs: matrix: php-version: - "8.1" + - "8.2" dependencies: - "lowest" - "highest" diff --git a/composer.json b/composer.json index 2e9934c..c62979b 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~8.1.0", + "php": "~8.1.0||~8.2.0", "composer/composer": "^1.9 || ^2.0", "symfony/console": "~4.4.0||~5.4.0" }, From 1194c288685f6d7b8e375df6b4bd1289ff02c959 Mon Sep 17 00:00:00 2001 From: Faizan Shaikh Date: Mon, 14 Nov 2022 15:40:31 +0530 Subject: [PATCH 15/34] AC-2841: Reverted removal of PHP7.4 support --- .github/workflows/php.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 368effd..974af59 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,8 +13,8 @@ jobs: fail-fast: false matrix: php-version: + - "7.4" - "8.1" - - "8.2" dependencies: - "lowest" - "highest" diff --git a/composer.json b/composer.json index aad09cf..312303c 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~8.1.0||~8.2.0", + "php": "~7.4.0||~8.1.0||~8.2.0", "composer/composer": "^2.0", "symfony/console": "~4.4.0||~5.4.0" }, From 8e64e39fe773bcec6e8ba88edc449d8e24b95fa7 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Wed, 4 Jan 2023 12:02:44 -0600 Subject: [PATCH 16/34] 1.9.0-beta2 release --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 312303c..3abc791 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.9.0-beta1", + "version": "1.9.0-beta2", "license": [ "OSL-3.0", "AFL-3.0" From 71274ccec4abc54c42c5fc8f59d91401defbc99c Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Wed, 15 Feb 2023 14:41:53 -0600 Subject: [PATCH 17/34] 1.9.0 release --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3abc791..f465b15 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.9.0-beta2", + "version": "1.9.0", "license": [ "OSL-3.0", "AFL-3.0" From 365be62e01c66b2521e1ed735bdd592f24d812f5 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Mon, 18 Sep 2023 12:50:16 +0530 Subject: [PATCH 18/34] AC-9499::Update Symfony dependency packages to the latest LTS versions 6.4 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f465b15..aca2c0e 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require": { "php": "~7.4.0||~8.1.0||~8.2.0", "composer/composer": "^2.0", - "symfony/console": "~4.4.0||~5.4.0" + "symfony/console": "~5.4.0||~6.3.4" }, "require-dev": { "phpunit/phpunit": "^9" From fd5448fea7adfa57ffb795a6ad54efd4f04da186 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Thu, 21 Sep 2023 16:25:46 +0530 Subject: [PATCH 19/34] AC-9499::Update Symfony dependency packages to the latest LTS versions 6.4 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index aca2c0e..7407fbc 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require": { "php": "~7.4.0||~8.1.0||~8.2.0", "composer/composer": "^2.0", - "symfony/console": "~5.4.0||~6.3.4" + "symfony/console": "~4.4.0||~5.4.0||~6.3.0" }, "require-dev": { "phpunit/phpunit": "^9" From 49440199d17a9ae3acfb2cce0b01bc698910bf5c Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Tue, 10 Oct 2023 12:11:07 +0530 Subject: [PATCH 20/34] AC-9670::Adobe Commerce 2.4.7 core code is compatible with PHP 8.3 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7407fbc..0c5b430 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~7.4.0||~8.1.0||~8.2.0", + "php": "~7.4.0||~8.1.0||~8.2.0||~8.3.0", "composer/composer": "^2.0", "symfony/console": "~4.4.0||~5.4.0||~6.3.0" }, From f70dc8f5cd20aa2d654ab015cdf59a32e5d88863 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Thu, 7 Dec 2023 16:38:50 +0530 Subject: [PATCH 21/34] AC-9499::Update Symfony dependency packages to the latest LTS versions 6.4 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0c5b430..99545b0 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require": { "php": "~7.4.0||~8.1.0||~8.2.0||~8.3.0", "composer/composer": "^2.0", - "symfony/console": "~4.4.0||~5.4.0||~6.3.0" + "symfony/console": "~4.4.0||~5.4.0||~6.4.0" }, "require-dev": { "phpunit/phpunit": "^9" From 4597aef87d32018fe38c7853bca535cdc723d289 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Wed, 7 Feb 2024 15:08:16 -0600 Subject: [PATCH 22/34] 1.10.0-beta1 release --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 99545b0..f130fbf 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.9.0", + "version": "1.10.0-beta1", "license": [ "OSL-3.0", "AFL-3.0" From 04ee4edfbc9d3db314e649ddb20a981389092c21 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Wed, 7 Feb 2024 15:11:07 -0600 Subject: [PATCH 23/34] 1.10.0-beta1 release --- .github/workflows/php.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 974af59..a3e48b9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,6 +15,8 @@ jobs: php-version: - "7.4" - "8.1" + - "8.2" + - "8.3" dependencies: - "lowest" - "highest" From 98ec31d2d9878b611a2885a733502f12752505c1 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Wed, 3 Apr 2024 09:53:17 -0500 Subject: [PATCH 24/34] Update version to 1.10.0 in composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ddd1cf3..ddef3e9 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.10.0-beta1", + "version": "1.10.0", "license": [ "OSL-3.0", "AFL-3.0" From 0ce5f179b859c76234cd6b20bd490ae8dfd8f6ae Mon Sep 17 00:00:00 2001 From: Nishant Rana Date: Thu, 13 Jun 2024 17:48:13 +0530 Subject: [PATCH 25/34] AC-9749: PHPUnit 10 update --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ddd1cf3..2071479 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "symfony/console": "~4.4.0||~5.4.0||~6.4.0" }, "require-dev": { - "phpunit/phpunit": "^9" + "phpunit/phpunit": "^9 || ^10" }, "autoload": { "psr-4": { From 70585bd563b81c023bc3aa964da6f2470e8dc63d Mon Sep 17 00:00:00 2001 From: Nishant Rana Date: Fri, 14 Jun 2024 12:59:32 +0530 Subject: [PATCH 26/34] AC-9749: PHPUnit 10 update test fixes --- phpunit.xml.dist | 24 ++++++++++-------------- tests/Composer/InfoCommandTest.php | 2 +- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a6c40a9..dc7c76e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,27 +1,23 @@ - + bootstrap="vendor/autoload.php"> - + - ./tests/ - - - + + ./ - - ./tests - - - + + + ./tests + + diff --git a/tests/Composer/InfoCommandTest.php b/tests/Composer/InfoCommandTest.php index d5e664c..3cf7999 100644 --- a/tests/Composer/InfoCommandTest.php +++ b/tests/Composer/InfoCommandTest.php @@ -74,7 +74,7 @@ public function testRunInstalled() * * @return array */ - public function getCommandOutputDataProvider() + public static function getCommandOutputDataProvider() { return [ 'Package not installed' => [ From fdcb73de71ce618472df1961e5a748fe11c83c18 Mon Sep 17 00:00:00 2001 From: Nishant Rana Date: Fri, 14 Jun 2024 18:30:08 +0530 Subject: [PATCH 27/34] AC-9749: PHPUnit 10 fixes --- tests/Composer/MagentoComposerApplicationTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Composer/MagentoComposerApplicationTest.php b/tests/Composer/MagentoComposerApplicationTest.php index 113a1ff..742856c 100644 --- a/tests/Composer/MagentoComposerApplicationTest.php +++ b/tests/Composer/MagentoComposerApplicationTest.php @@ -34,7 +34,8 @@ class MagentoComposerApplicationTest extends \PHPUnit\Framework\TestCase protected function setUp(): void { - $this->composerApplication = $this->createMock(\Composer\Console\Application::class); + $this->composerApplication = $this->getMockBuilder('Composer\Console\Application') + ->getMock(); $this->inputFactory = $this->createMock(\Magento\Composer\ConsoleArrayInputFactory::class); $this->consoleOutput = $this->createMock(\Symfony\Component\Console\Output\BufferedOutput::class); From 194febd465e08759c1ef4530e59a269ae414e5d1 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Tue, 5 Nov 2024 14:45:02 +0530 Subject: [PATCH 28/34] AC-13307::PHP 8.4 Support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2071479..0f26e42 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~7.4.0||~8.1.0||~8.2.0||~8.3.0", + "php": "~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0", "composer/composer": "^2.0", "symfony/console": "~4.4.0||~5.4.0||~6.4.0" }, From ee4bef316e2e6984fd0dc749e058a6d6fa1e721c Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Date: Fri, 13 Dec 2024 09:15:09 +0530 Subject: [PATCH 29/34] PHP 8.4: deprecation fixes --- src/MagentoComposerApplication.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MagentoComposerApplication.php b/src/MagentoComposerApplication.php index ef9ce98..4e6defc 100644 --- a/src/MagentoComposerApplication.php +++ b/src/MagentoComposerApplication.php @@ -65,9 +65,9 @@ class MagentoComposerApplication public function __construct( $pathToComposerHome, $pathToComposerJson, - Application $consoleApplication = null, - ConsoleArrayInputFactory $consoleArrayInputFactory = null, - BufferedOutput $consoleOutput = null + ?Application $consoleApplication = null, + ?ConsoleArrayInputFactory $consoleArrayInputFactory = null, + ?BufferedOutput $consoleOutput = null ) { $this->consoleApplication = $consoleApplication ? $consoleApplication : new Application(); $this->consoleArrayInputFactory = $consoleArrayInputFactory ? $consoleArrayInputFactory From 65eb41125c41b83d314f870aca73766ffc147c4d Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Tue, 17 Dec 2024 12:52:05 +0530 Subject: [PATCH 30/34] Added PHP 8.4 support --- .github/workflows/php.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a3e48b9..0dbfc87 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,6 +17,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" dependencies: - "lowest" - "highest" From 8527ee3fb2e0c75774fb845fd3db52904297a644 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Wed, 18 Dec 2024 22:46:16 +0530 Subject: [PATCH 31/34] PHP 8.4 Automation build is failing with lower dependency --- .github/workflows/php.yml | 1 - composer.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 0dbfc87..57a6ad7 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,7 +13,6 @@ jobs: fail-fast: false matrix: php-version: - - "7.4" - "8.1" - "8.2" - "8.3" diff --git a/composer.json b/composer.json index 0f26e42..7f70da2 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "AFL-3.0" ], "require": { - "php": "~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0", + "php": "~8.1.0||~8.2.0||~8.3.0||~8.4.0", "composer/composer": "^2.0", "symfony/console": "~4.4.0||~5.4.0||~6.4.0" }, From 8afaf3f4e7f07668b6e044e3e66cdbd7450cf09a Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Fri, 20 Dec 2024 13:31:17 -0600 Subject: [PATCH 32/34] AC-13307: PHP 8.4 Support --- .github/workflows/php.yml | 1 + composer.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 57a6ad7..0dbfc87 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,6 +13,7 @@ jobs: fail-fast: false matrix: php-version: + - "7.4" - "8.1" - "8.2" - "8.3" diff --git a/composer.json b/composer.json index 7f70da2..c8c3fa0 100644 --- a/composer.json +++ b/composer.json @@ -8,12 +8,12 @@ "AFL-3.0" ], "require": { - "php": "~8.1.0||~8.2.0||~8.3.0||~8.4.0", - "composer/composer": "^2.0", + "php": "~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0", + "composer/composer": "^2.1.13", "symfony/console": "~4.4.0||~5.4.0||~6.4.0" }, "require-dev": { - "phpunit/phpunit": "^9 || ^10" + "phpunit/phpunit": "^9.5.10 || ^10" }, "autoload": { "psr-4": { From 55a792d3fb42e99d76cc4e167e2f34f0a347a6f4 Mon Sep 17 00:00:00 2001 From: Rajesh Kumar Date: Tue, 7 Jan 2025 22:23:56 +0530 Subject: [PATCH 33/34] Updated the composer version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c8c3fa0..7964507 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.10.0-beta1", + "version": "1.10.1-beta1", "license": [ "OSL-3.0", "AFL-3.0" From 5e2b8ceb42966adb278f48cb77525ec23c4c26fd Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Wed, 2 Apr 2025 17:24:25 -0500 Subject: [PATCH 34/34] Update composer.json version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7964507..c6d41cf 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magento/composer", "description": "Magento composer library helps to instantiate Composer application and run composer commands.", "type": "library", - "version": "1.10.1-beta1", + "version": "1.10.1", "license": [ "OSL-3.0", "AFL-3.0"