Created
July 30, 2017 20:36
-
-
Save timneutkens/94743f6d1884ad2884ebfb9b8c67ffdf to your computer and use it in GitHub Desktop.
Use lint-staged with PHPcs fixer
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
for var in "$@" | |
do | |
./vendor/bin/php-cs-fixer fix --level=psr2 $var | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment