File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 53
53
- name : Setup ini config
54
54
id : set_ini
55
55
run : |
56
- if [ "${{ matrix.phpcs_version }}" == "lowest " ]; then
56
+ if [ "${{ contains( matrix.phpcs_version, 'dev') }}" == "false " ]; then
57
57
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> "$GITHUB_OUTPUT"
58
58
else
59
59
echo 'PHP_INI=error_reporting=-1, display_errors=On' >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change 98
98
phpcs_version : ' 4.x-dev'
99
99
- php : ' 7.1'
100
100
phpcs_version : ' 4.x-dev'
101
+ # Also exclude the 7.2 build as that's run in code coverage, no need to duplicate.
102
+ - php : ' 7.2'
103
+ phpcs_version : ' 4.x-dev'
101
104
102
105
include :
103
106
- php : ' 5.6'
@@ -116,6 +119,10 @@ jobs:
116
119
phpcs_version : ' dev-master'
117
120
risky : false
118
121
experimental : true
122
+ - php : ' 8.5'
123
+ phpcs_version : ' 4.x-dev'
124
+ risky : false
125
+ experimental : true
119
126
120
127
# Run risky tests separately.
121
128
- php : ' 5.4'
@@ -161,7 +168,7 @@ jobs:
161
168
- name : Setup ini config
162
169
id : set_ini
163
170
run : |
164
- if [[ "${{ matrix.phpcs_version }}" != " dev-master" && "${{ matrix.phpcs_version }}" != "4.x-dev" ] ]; then
171
+ if [ "${{ contains( matrix.phpcs_version, ' dev') }}" == "false" ]; then
165
172
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> "$GITHUB_OUTPUT"
166
173
else
167
174
echo 'PHP_INI=error_reporting=-1, display_errors=On' >> "$GITHUB_OUTPUT"
@@ -294,7 +301,7 @@ jobs:
294
301
- name : Setup ini config
295
302
id : set_ini
296
303
run : |
297
- if [[ "${{ matrix.phpcs_version }}" != " dev-master" && "${{ matrix.phpcs_version }}" != "4.x-dev" ] ]; then
304
+ if [ "${{ contains( matrix.phpcs_version, ' dev') }}" == "false" ]; then
298
305
echo 'PHP_INI=error_reporting=E_ALL & ~E_DEPRECATED, display_errors=On' >> "$GITHUB_OUTPUT"
299
306
else
300
307
echo 'PHP_INI=error_reporting=-1, display_errors=On' >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments