Skip to content

Commit

Permalink
More PHPCS config
Browse files Browse the repository at this point in the history
  • Loading branch information
pkevan committed May 22, 2024
1 parent 1decb77 commit 7362942
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,16 @@ jobs:
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
- name: Lint PHP
- name: Install PHP_CodeSniffer
run: |
BASE_REF=${{ github.base_ref }} php .github/bin/phpcs-branch.php
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

phpunit:
name: PHP Unit Tests
Expand Down

0 comments on commit 7362942

Please sign in to comment.