brodkinca / BCA-Laravel-Inspect

Inspect your code via the Artisan CLI using industry-standard tools.
MIT License
50 stars 8 forks source link

Hide wall of "No syntax errors detected in..." ? #11

Closed carcinocron closed 9 years ago

carcinocron commented 9 years ago

Pretty much the only reason I don't use the lint feature of this repo is because it's just easier to copy this command from my notepad.

find ~/www/InstanceOfMichael/app -name '*.php' -exec php -l {} \; | grep -v "No syntax errors detected in"

I don't really see how useful it is to know that 300 files have "no syntax errors" when you're trying to find the 1 or 2 that do.

brodkin commented 9 years ago

Newer versions of PHP have changed the output to be more in line with the request of this PR. Closing since this PR is no longer needed.