Skip to content

Commit

Permalink
Ignore vendor from unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Feb 14, 2024
1 parent f89494c commit 26af70c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @Author: Roni Laukkarinen
# @Date: 2023-02-15 17:39:37
# @Last Modified by: Roni Laukkarinen
# @Last Modified time: 2024-02-14 17:07:55
# @Last Modified time: 2024-02-14 17:14:59
name: PHP

on: [push, pull_request]
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Run PHP_CodeSniffer
run: |
vendor/bin/phpcs -p . --extensions=php --ignore=node_modules,*/css/*,*/sass/* --standard=phpcs.xml
vendor/bin/phpcs -p . --extensions=php --ignore=vendor,node_modules,src,*/css/*,*/sass/* --standard=phpcs.xml
- name: Test PHP for syntax errors
run: find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l

0 comments on commit 26af70c

Please sign in to comment.