Skip to content

Commit

Permalink
Exclude ./vendor from find
Browse files Browse the repository at this point in the history
  • Loading branch information
gocemitevski committed Apr 16, 2024
1 parent 68f0e82 commit b0b3c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:

- name: Run PHPCS checks
run: |
find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
./vendor/bin/phpcs -p -s -v -n . --ignore=./vendor/** --standard=./phpcs.xml --extensions=php
find -L . -path=./vendor -prune -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
./vendor/bin/phpcs -p -s -v -n . --ignore=./vendor --standard=./phpcs.xml --extensions=php

0 comments on commit b0b3c85

Please sign in to comment.