Skip to content
Snippets Groups Projects
Commit 431d5344 authored by Yash Rode's avatar Yash Rode Committed by Adam G-H
Browse files

Issue #3343889 by yash.rode, Wim Leers, phenaproxima, tedbow: Drop support for...

Issue #3343889 by yash.rode, Wim Leers, phenaproxima, tedbow: Drop support for end-of-life versions of Composer
parent 0d0911b8
No related branches found
No related tags found
5 merge requests!989Issue #3356804 by phenaproxima: Flag a warning during status check if the...,!726Issue #3343889: Local failure due to composer's newer versions in ComposerPatchesValidatorTest::testErrorDuringPreApply,!685Issue #3338667: [PP-1] Add build test to test cweaganscomposer-patches end-to-end,!548Issue #3310729: Incorrect documentation link in UI in case of Process error,!106Issue #3247479: Allow LockFileValidator results to carry multiple messages, and improve their text
......@@ -42,9 +42,19 @@ class ComposerInspector {
/**
* A semantic version constraint for the supported version(s) of Composer.
*
* Only versions supported by Composer are supported: the LTS and the latest
* minor version. Those are currently 2.2 and 2.5.
*
* @see https://endoflife.date/composer
*
* Note that Composer <= 2.2.11 is not supported anymore due to a security
* vulnerability.
*
* @see https://blog.packagist.com/cve-2022-24828-composer-command-injection-vulnerability/
*
* @var string
*/
final public const SUPPORTED_VERSION = '~2.2.12 || ^2.3.5';
final public const SUPPORTED_VERSION = '~2.2.12 || ^2.5';
/**
* Constructs a ComposerInspector object.
......
......@@ -183,9 +183,12 @@ class ComposerInspectorTest extends PackageManagerKernelTestBase {
*
* @testWith ["2.2.12", null]
* ["2.2.13", null]
* ["2.3.6", null]
* ["2.4.1", null]
* ["2.5.0", null]
* ["2.5.11", null]
* ["2.2.11", "<default>"]
* ["2.2.0-dev", "<default>"]
* ["2.3.6", "<default>"]
* ["2.4.1", "<default>"]
* ["2.3.4", "<default>"]
* ["2.1.6", "<default>"]
* ["1.10.22", "<default>"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment