From 87d28efff682c72e285caa87fe9e3eae63ce67bb Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Mon, 22 Aug 2016 02:44:28 -0700 Subject: [PATCH] Ignore vendor directory when running phpcs --- tests/check_syntax.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/check_syntax.sh b/tests/check_syntax.sh index b62f25f..48b0e67 100755 --- a/tests/check_syntax.sh +++ b/tests/check_syntax.sh @@ -1 +1,5 @@ -phpcs --standard=PSR2 --extensions=php .. +phpcs \ + --extensions=php \ + --ignore="*/vendor/*" \ + --standard=PSR2 \ + ..