File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -232,16 +232,13 @@ jobs:
232
232
PHP_CODESNIFFER_CBF : ' 1'
233
233
234
234
- name : ' PHPCS: check code style without cache, no parallel'
235
- if : ${{ matrix.custom_ini == false && matrix.php != '7.4' }}
236
- run : php "bin/phpcs" --no-cache --parallel=1
237
-
238
- - name : ' PHPCS: check code style to show results in PR'
239
- if : ${{ matrix.custom_ini == false && matrix.php == '7.4' }}
240
235
id : phpcs
241
- run : php "bin/phpcs" --no-cache --parallel=1 --report-full --report-checkstyle=./phpcs-report.xml
236
+ run : >
237
+ php "bin/phpcs" --no-cache --parallel=1
238
+ ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.4' && '--report-full --report-checkstyle=./phpcs-report.xml' || '' }}
242
239
243
240
- name : Show PHPCS results in PR
244
- if : ${{ always() && steps.phpcs.outcome == 'failure' && matrix.php == '7 .4' }}
241
+ if : ${{ always() && steps.phpcs.outcome == 'failure' && matrix.os == 'ubuntu-latest' && matrix. php == '8 .4' }}
245
242
run : cs2pr ./phpcs-report.xml
246
243
247
244
- name : Download the PHPCS phar
You can’t perform that action at this time.
0 commit comments