Forked from AlexChittock/findPHPFilesWithTrailingWhitespace.sh
Last active
September 8, 2015 21:36
-
-
Save abrcoelho/5244736d86ccdf70a1d8 to your computer and use it in GitHub Desktop.
Find PHP files with trailing whitespace
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
find . -name "*.php" | xargs grep -c -P '\s+$' | grep -v ':0$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment