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 db6e00d commit 14244a4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/phpcs_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# Setup PHP with the required version and add extensions if needed any for composer install.
# Ref: https://github.com/shivammathur/setup-php#heavy_plus_sign-php-extension-support
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
coverage: none
tools: composer

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

- name: Run PHPCS inspection with PHP 8.1
uses: rtCamp/action-phpcs-code-review@master
env:
Expand Down

0 comments on commit 14244a4

Please sign in to comment.