@@ -31,16 +31,24 @@ jobs:
31
31
# - PHP 8.1 needs PHPCS 3.6.1+ to run without errors.
32
32
# - PHP 8.2 needs PHPCS 3.6.1+ to run without errors.
33
33
# - 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).
34
35
#
35
36
# The matrix is set up so as not to duplicate the builds which are run for code coverage.
36
37
php : ['5.5', '5.6', '7.0', '7.1', '7.2', '7.3']
37
38
phpcs_version : ['3.5.6', 'dev-master']
38
39
39
40
include :
40
41
# 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'
41
47
- php : ' 8.3'
42
48
phpcs_version : ' 3.6.1'
43
49
50
+ - php : ' 8.2'
51
+ phpcs_version : ' dev-master'
44
52
- php : ' 8.2'
45
53
phpcs_version : ' 3.6.1'
46
54
@@ -58,12 +66,12 @@ jobs:
58
66
phpcs_version : ' dev-master'
59
67
60
68
# Experimental builds.
61
- - php : ' 8.4 ' # Nightly.
69
+ - php : ' 8.5 ' # Nightly.
62
70
phpcs_version : ' dev-master'
63
71
64
72
name : " Test: PHP ${{ matrix.php }} on PHPCS ${{ matrix.phpcs_version }}"
65
73
66
- continue-on-error : ${{ matrix.php == '8.4 ' }}
74
+ continue-on-error : ${{ matrix.php == '8.5 ' }}
67
75
68
76
steps :
69
77
- name : Checkout code
@@ -97,15 +105,15 @@ jobs:
97
105
# Install dependencies and handle caching in one go.
98
106
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
99
107
- name : Install Composer dependencies - normal
100
- if : ${{ matrix.php != '8.4 ' }}
108
+ if : ${{ matrix.php != '8.5 ' }}
101
109
uses : " ramsey/composer-install@v3"
102
110
with :
103
111
# Bust the cache at least once a month - output format: YYYY-MM.
104
112
custom-cache-suffix : $(date -u "+%Y-%m")
105
113
106
114
# For the PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow it yet.
107
115
- name : Install Composer dependencies - with ignore platform
108
- if : ${{ matrix.php == '8.4 ' }}
116
+ if : ${{ matrix.php == '8.5 ' }}
109
117
uses : " ramsey/composer-install@v3"
110
118
with :
111
119
composer-options : --ignore-platform-req=php
@@ -138,7 +146,7 @@ jobs:
138
146
strategy :
139
147
matrix :
140
148
include :
141
- - php : ' 8.3 '
149
+ - php : ' 8.4 '
142
150
phpcs_version : ' dev-master'
143
151
- php : ' 7.4'
144
152
phpcs_version : ' 3.5.6'
0 commit comments