Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mi5t4n committed Dec 4, 2023
1 parent ed3a817 commit 862bdfc
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/phpcs_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

# Install composer dependencies in the workflow run.
- name: Composer install
run: composer install --no-dev --no-progress --no-interaction
run: composer install --no-progress --no-interaction

- name: Run PHPCS inspection with PHP 8.1
uses: rtCamp/action-phpcs-code-review@master
Expand All @@ -30,12 +30,3 @@ jobs:
# Add the phpcs path to pickup custom coding standard
# Ref: https://github.com/rtCamp/action-phpcs-code-review/#custom-coding-standards
PHPCS_FILE_PATH: vendor/bin/phpcs

# Remove this step once WordPress Coding Standards supports PHP 8.0+.
- name: Run PHPCS inspection with PHP 7.4
uses: rtCamp/action-phpcs-code-review@master
env:
SKIP_FOLDERS: "tests,.github,vendor"
PHPCS_PHP_VERSION: "7.4"
PHPCS_STANDARD_FILE_NAME: "phpcs.wpcs.xml"
GH_BOT_TOKEN: ${{ secrets.RTBOT_TOKEN }}

0 comments on commit 862bdfc

Please sign in to comment.