mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
More PHPCS config
This commit is contained in:
parent
1decb77332
commit
73629422a3
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -43,9 +43,16 @@ jobs:
|
||||||
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
|
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
|
||||||
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Lint PHP
|
- name: Install PHP_CodeSniffer
|
||||||
run: |
|
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:
|
phpunit:
|
||||||
name: PHP Unit Tests
|
name: PHP Unit Tests
|
||||||
|
|
Loading…
Reference in a new issue