Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/fix-cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ git diff --cached --name-only --diff-filter=ACMR HEAD -- '*.php' | while read li
echo " - Fixing: ${line}"
# PHP CS Fixer
PHP_CS_FIXER_IGNORE_ENV=1 php "${CURRENT_DIRECTORY}/run" ${PHP_CS_FIXER} fix --config=${PHP_CS_CONFIG} --verbose ${line};
git add "$line";
git diff "$line";

echo "NOTE: consider adding these changes to the commit with git add --patch $line; git commit --amend"
done

# shellcheck disable=SC2164
Expand Down
Loading