File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -69,18 +69,16 @@ jobs:
6969 composer remove roots/wordpress-no-content inpsyde/php-coding-standards vimeo/psalm --dev --no-update
7070 composer require "roots/wordpress-no-content:~${{ matrix.wp-ver }}.0" --dev --no-update
7171
72+ - name : Remove modern dev tools for legacy PHP
73+ if : matrix.php-ver == '7.4' || matrix.php-ver == '8.0'
74+ run : |
75+ composer remove syde/phpcs vimeo/psalm --dev --no-update
76+
7277 - name : Install dependencies
7378 uses : ramsey/composer-install@v3
7479 with :
7580 dependency-versions : ${{ matrix.dependency-versions }}
76- composer-options : >-
77- ${{
78- (
79- (matrix.php-ver == '7.4' || matrix.php-ver == '8.0')
80- && '--no-dev --ignore-platform-req=php'
81- || ''
82- )
83- }} ${{ matrix.composer || '' }}
81+ composer-options : ${{ matrix.composer || '' }}
8482
8583 - name : Run unit tests
8684 run : ./vendor/bin/phpunit --no-coverage
You can’t perform that action at this time.
0 commit comments