From ea1de07fe527c90269101a7d0a06ab52325f8a26 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Tue, 12 Jan 2021 12:02:49 +0500 Subject: [PATCH] [CI] Fix non-working phpcompatibility job (#1928) --- .github/workflows/lint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c0dd3d92..e1f37170 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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