[CI] Fix non-working phpcompatibility job (#1928)

This commit is contained in:
Eugene Molotov 2021-01-12 12:02:49 +05:00 committed by GitHub
parent 2de5ce8387
commit ea1de07fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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