Created
June 18, 2015 10:05
-
-
Save guillaumevoisin/e5aac2994bf170482c13 to your computer and use it in GitHub Desktop.
PHP-CS-Fixer on modified files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff --name-only --cached --diff-filter=ACMRTUXB | while read filename; do php-cs-fixer --level=symfony fix $filename; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment