Skip to content

Commit

Permalink
fixup! Automatic php-cs-fixer with commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Dec 4, 2023
1 parent 86b5243 commit 03f1dde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/phpcsfixer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
git diff --diff-filter=MA --name-only --merge-base "${DIFF_TARGET}" -- '***.php' > "${TMPFILE}"
RULESET_OPT="--standard=dev/setup/codesniffer/ruleset.xml"
ls -l ${TMPFILE} && cat ${TMPFILE}
[ -s ${TMPFILE} ] && exit 0
echo run php-cs-fixer
[ -s ${TMPFILE} ] && while read f; do php-cs-fixer fix "$f" ; done < ${TMPFILE}
echo run phpcbf
Expand Down

0 comments on commit 03f1dde

Please sign in to comment.