Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/friendsofphp/php-cs-fixer/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/friendsofphp/php-cs-fixer/ci-integration.sh

#!/bin/sh
set -eu

IFS='
'
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRTUXB "${COMMIT_RANGE}")
if ! echo "${CHANGED_FILES}" | grep -qE "^(\\.php_cs(\\.dist)?|composer\\.lock)$"; then EXTRA_ARGS=$(printf -- '--path-mode=intersection\n--\n%s' "${CHANGED_FILES}"); else EXTRA_ARGS=''; fi
vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run --stop-on-violation --using-cache=no ${EXTRA_ARGS}