Syntax check php files in folders: find ./foo ./bar \( -name "*.php" -or -name "*.phtml" \) -print0 | xargs -0 -n 1 php -l
Thanks!
I add
-P8
and parallelly check PHP syntax on CI.