Skip to content

Commit e9dae13

Browse files
authored
GH Actions: PHP 8.4 has been released (#336)
* Builds against PHP 8.4 are no longer allowed to fail. * Add _allowed to fail_ build against PHP 8.5. Ref: https://www.php.net/releases/8.4/en.php Co-authored-by: jrfnl <[email protected]>
1 parent b1d7c85 commit e9dae13

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,24 @@ jobs:
3131
# - PHP 8.1 needs PHPCS 3.6.1+ to run without errors.
3232
# - PHP 8.2 needs PHPCS 3.6.1+ to run without errors.
3333
# - PHP 8.3 needs PHPCS 3.8.0+ to run without errors (though the errors don't affect this package).
34+
# - PHP 8.4 needs PHPCS 3.11.0+ to run without errors (though the errors don't affect this package).
3435
#
3536
# The matrix is set up so as not to duplicate the builds which are run for code coverage.
3637
php: ['5.5', '5.6', '7.0', '7.1', '7.2', '7.3']
3738
phpcs_version: ['3.5.6', 'dev-master']
3839

3940
include:
4041
# Make the matrix complete without duplicating builds run in code coverage.
42+
- php: '8.4'
43+
phpcs_version: '3.6.1'
44+
45+
- php: '8.3'
46+
phpcs_version: 'dev-master'
4147
- php: '8.3'
4248
phpcs_version: '3.6.1'
4349

50+
- php: '8.2'
51+
phpcs_version: 'dev-master'
4452
- php: '8.2'
4553
phpcs_version: '3.6.1'
4654

@@ -58,12 +66,12 @@ jobs:
5866
phpcs_version: 'dev-master'
5967

6068
# Experimental builds.
61-
- php: '8.4' # Nightly.
69+
- php: '8.5' # Nightly.
6270
phpcs_version: 'dev-master'
6371

6472
name: "Test: PHP ${{ matrix.php }} on PHPCS ${{ matrix.phpcs_version }}"
6573

66-
continue-on-error: ${{ matrix.php == '8.4' }}
74+
continue-on-error: ${{ matrix.php == '8.5' }}
6775

6876
steps:
6977
- name: Checkout code
@@ -97,15 +105,15 @@ jobs:
97105
# Install dependencies and handle caching in one go.
98106
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
99107
- name: Install Composer dependencies - normal
100-
if: ${{ matrix.php != '8.4' }}
108+
if: ${{ matrix.php != '8.5' }}
101109
uses: "ramsey/composer-install@v3"
102110
with:
103111
# Bust the cache at least once a month - output format: YYYY-MM.
104112
custom-cache-suffix: $(date -u "+%Y-%m")
105113

106114
# For the PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow it yet.
107115
- name: Install Composer dependencies - with ignore platform
108-
if: ${{ matrix.php == '8.4' }}
116+
if: ${{ matrix.php == '8.5' }}
109117
uses: "ramsey/composer-install@v3"
110118
with:
111119
composer-options: --ignore-platform-req=php
@@ -138,7 +146,7 @@ jobs:
138146
strategy:
139147
matrix:
140148
include:
141-
- php: '8.3'
149+
- php: '8.4'
142150
phpcs_version: 'dev-master'
143151
- php: '7.4'
144152
phpcs_version: '3.5.6'

0 commit comments

Comments
 (0)