We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb2f68 commit 6daced3Copy full SHA for 6daced3
1 file changed
bin/fix-cs
@@ -17,7 +17,9 @@ git diff --cached --name-only --diff-filter=ACMR HEAD -- '*.php' | while read li
17
echo " - Fixing: ${line}"
18
# PHP CS Fixer
19
PHP_CS_FIXER_IGNORE_ENV=1 php "${CURRENT_DIRECTORY}/run" ${PHP_CS_FIXER} fix --config=${PHP_CS_CONFIG} --verbose ${line};
20
- git add "$line";
+ git diff "$line";
21
+
22
+ echo "NOTE: consider adding these changes to the commit with git add --patch $line; git commit --amend"
23
done
24
25
# shellcheck disable=SC2164
0 commit comments