[CI] Fix non-working phpcompatibility job (#1928)
This commit is contained in:
parent
2de5ce8387
commit
ea1de07fe5
1 changed files with 3 additions and 2 deletions
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
@ -30,5 +30,6 @@ jobs:
|
|||
- uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
tools: phpcs
|
||||
- run: phpcs . --standard=phpcompatibility.xml --warning-severity=0 --extensions=php -p
|
||||
- run: composer global require dealerdirect/phpcodesniffer-composer-installer
|
||||
- run: composer global require phpcompatibility/php-compatibility
|
||||
- run: ~/.composer/vendor/bin/phpcs . --standard=phpcompatibility.xml --warning-severity=0 --extensions=php -p
|
||||
|
|
Loading…
Reference in a new issue