Skip to content

Commit fce3fab

Browse files
committed
fix: standard hard code
1 parent 8b8d5c2 commit fce3fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stubs/git-pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FILES=$(git diff --diff-filter=d --name-only HEAD | { grep '.php$' || true; })
44
for file in $FILES; do
5-
./vendor/bin/phpcs --extensions=php --standard=PSR12 "$file"
5+
./vendor/bin/phpcs --extensions=php --standard=phpcs.xml "$file"
66
./vendor/bin/phpmd "$file" text phpmd.xml --exclude vendor
77
done
88
# XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text --coverage-filter=app/ tests/

0 commit comments

Comments
 (0)