We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9a2de commit 657a650Copy full SHA for 657a650
phpcodesniffer
@@ -11,7 +11,7 @@ function exit_error
11
12
# Run PHP linter
13
14
-find src -type f -name "*.php" -print0 | while IFS= read -r -d $'\0' file; do
+find . -type f -iname "*.php" -not -path "./vendor/*" -print0 | while IFS= read -r -d $'\0' file; do
15
php -lf $file > /dev/null
16
[ $? -eq 0 ] || exit_error "$file needs to be fixed to continue"
17
done
0 commit comments