Skip to content

Commit

Permalink
Merge pull request #219 from PHPCSStandards/feature/ghactions-test-ph…
Browse files Browse the repository at this point in the history
…p-8.4-only-against-latest

GH Actions: stop testing with PHP 8.4 against Composer < current
  • Loading branch information
Potherca committed May 6, 2024
2 parents 94d27f7 + ca25bcd commit a737e79
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/integrationtest.yml
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit a737e79

Please sign in to comment.