Skip to content

Commit

Permalink
Fix PHPCS cs2pr setup
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 24, 2024
1 parent 5ad901f commit f22f9ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
tools: cs2pr
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest
- name: Run phpcs
run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr

0 comments on commit f22f9ed

Please sign in to comment.