Skip to content

Commit

Permalink
Codefixer: since v3 option --no-patch removed
Browse files Browse the repository at this point in the history
  • Loading branch information
vody105 authored and Milan Felix Šulc committed Oct 10, 2017
1 parent 973362e commit d2c2214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/codefixer
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ if [ -z "$1" ]; then
[ -d "app" ] && FOLDERS+=('app')
[ -d "src" ] && FOLDERS+=('src')
[ -d "tests" ] && FOLDERS+=('tests')
${DIR}/phpcbf --standard="${RULESET}" --ignore="${EXCLUDE_FOLDERS}" --extensions="${EXTENSIONS}" --colors --encoding=utf-8 --no-patch -nsp ${FOLDERS[*]}
${DIR}/phpcbf --standard="${RULESET}" --ignore="${EXCLUDE_FOLDERS}" --extensions="${EXTENSIONS}" --colors --encoding=utf-8 -nsp ${FOLDERS[*]}
else
# Run codefixer
${DIR}/phpcbf --standard="${RULESET}" --ignore="${EXCLUDE_FOLDERS}" --extensions="${EXTENSIONS}" --colors --encoding=utf-8 --no-patch -nsp $@
${DIR}/phpcbf --standard="${RULESET}" --ignore="${EXCLUDE_FOLDERS}" --extensions="${EXTENSIONS}" --colors --encoding=utf-8 -nsp $@
fi

0 comments on commit d2c2214

Please sign in to comment.