Ignore some more non-php files.
Use sed for better picking of phpcs output.
Remove TMPFILE2 and count lines in the loop.
Add color.