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 317cab5 commit 9f5da75Copy full SHA for 9f5da75
pre-commit
@@ -59,7 +59,7 @@ run_php_cs_fixer() {
59
# only for files that have changed since the last commit.
60
changed_files=$(git diff --staged --name-only --diff-filter=ACMRTUXB)
61
62
- if ! echo "${changed_files}" | grep -qE "^(laravel/)?(\\.php-cs-fixer(\\.dist)?|composer\\.lock)$"; then
+ if ! echo "${changed_files}" | grep -qE "^(laravel/)?(\\.php-cs-fixer(\\.dist)?\\.php|composer\\.lock)$"; then
63
extra_args=$(printf -- '--path-mode=intersection\n--\n%s' "${changed_files}")
64
else
65
extra_args=''
0 commit comments