From 6d47a5281dea2c9e2d9bf05b79dabdbcad26a569 Mon Sep 17 00:00:00 2001 From: Paul Kevan Date: Wed, 22 May 2024 16:32:06 +0100 Subject: [PATCH] Revert "More PHPCS config" This reverts commit 73629422a3337300c9d29a4e38f19cc5cbe045b1. --- .github/workflows/ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea5829b..aff4eb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,16 +43,9 @@ jobs: composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH - - name: Install PHP_CodeSniffer + - name: Lint PHP run: | - curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar - php phpcs.phar --version - - - uses: thenabeel/action-phpcs@v8 - with: - files: "**.php" - phpcs_path: php phpcs.phar - standard: phpcs.xml + BASE_REF=${{ github.base_ref }} php .github/bin/phpcs-branch.php phpunit: name: PHP Unit Tests