Created
December 17, 2018 09:49
-
-
Save displaynone/1bf534840b69aeaf5ca1b8654f406816 to your computer and use it in GitHub Desktop.
Run PHPCS in uncommit 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
for i in $(git status -s | sed 's/^\s//' | cut -d " " -f2 | grep '.php'); do ./vendor/bin/phpcs "$i"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment