Created
March 19, 2018 07:52
-
-
Save gunjanpatel/63e6e0da65f801fbbb7c1953e5461ca1 to your computer and use it in GitHub Desktop.
Find php syntax error on current directory
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 . -type f -name "*.php" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v 'No syntax errors' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment