Skip to content

Commit 657a650

Browse files
committed
Scripts rework
1 parent ef9a2de commit 657a650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpcodesniffer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function exit_error
1111

1212
# Run PHP linter
1313

14-
find src -type f -name "*.php" -print0 | while IFS= read -r -d $'\0' file; do
14+
find . -type f -iname "*.php" -not -path "./vendor/*" -print0 | while IFS= read -r -d $'\0' file; do
1515
php -lf $file > /dev/null
1616
[ $? -eq 0 ] || exit_error "$file needs to be fixed to continue"
1717
done

0 commit comments

Comments
 (0)