diff --git a/.github/workflows/integrationtest.yml b/.github/workflows/integrationtest.yml index 2b7cb6e3..48be520e 100644 --- a/.github/workflows/integrationtest.yml +++ b/.github/workflows/integrationtest.yml @@ -54,11 +54,19 @@ jobs: # @link https://github.com/PHPCSStandards/composer-installer/pull/213 - php: '5.4' os: 'windows-latest' + # Composer 1.x is no longer supported and while Composer 2.2 is an LTS version, the LTS + # is only for critical bugs and security issues, not for supporting new PHP versions. + # In practice, this means that Composer 1.x and 2.2 are not compatible with PHP 8.4 and later. + # @link https://github.com/composer/composer/issues/10340 + - php: '8.4' + composer: 'v1' include: # Composer 2.3 drops support for PHP < 7.2, so for PHP 5.4 to 7.1, `v2` will install # Composer 2.2, for PHP 7.2 and up, `v2` will install Composer 2.3. - # These builds make sure the Composer 2.2 LTS version is 100% supported for PHP 7.2-8.x. + # These builds make sure the Composer 2.2 LTS version is 100% supported for PHP 7.2-8.3. + # Note: Composer 2.2 is not compatible with PHP 8.4 and it is unlikely that it will be + # made compatible with PHP 8.4. - php: '7.2' composer: '2.2' os: 'ubuntu-latest' @@ -80,9 +88,6 @@ jobs: - php: '8.3' composer: '2.2' os: 'ubuntu-latest' - - php: '8.4' - composer: '2.2' - os: 'ubuntu-latest' - php: '7.2' composer: '2.2' @@ -105,9 +110,6 @@ jobs: - php: '8.3' composer: '2.2' os: 'windows-latest' - - php: '8.4' - composer: '2.2' - os: 'windows-latest' # Also test against the dev version of Composer for early warning about upcoming changes. - php: 'latest'