File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ jobs:
1111 include :
1212 - operating-system : ' ubuntu-latest'
1313 php-version : ' 7.1'
14+ style-fix : ' none'
1415
1516 - operating-system : ' ubuntu-latest'
1617 php-version : ' 7.2'
18+ style-fix : ' none'
1719
1820 - operating-system : ' ubuntu-latest'
1921 php-version : ' 7.3'
22+ style-fix : ' none'
2023
2124 - operating-system : ' ubuntu-latest'
2225 php-version : ' 7.4'
6770 composer-${{ runner.os }}-
6871 composer-
6972
73+ - name : Remove php-cs-fixer if not needed
74+ run : composer remove --dev --no-update amphp/php-cs-fixer-config
75+ if : matrix.style-fix == 'none'
76+
7077 - name : Install dependencies
7178 uses : nick-invision/retry@v2
7279 with :
8289
8390 - name : Run style fixer
8491 run : vendor/bin/php-cs-fixer --diff --dry-run -v fix
92+ if : matrix.style-fix != 'none'
8593 env :
8694 PHP_CS_FIXER_IGNORE_ENV : 1
You can’t perform that action at this time.
0 commit comments