Files
Document-Management-System-…/vendor/scrivo/highlight.php/.travis/hasGitChanges.sh
2021-04-07 19:25:18 -04:00

13 lines
225 B
Bash

#!/usr/bin/env bash
curl -L https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o php-cs-fixer
chmod +x php-cs-fixer
./php-cs-fixer fix
if ! git diff-index --quiet HEAD --; then
git --no-pager diff
exit 1
fi