Closed divinity76 closed 2 years ago
just in case someone wants a quick'n dirty one-liner alternative, try
find . -iname "*.php" -print0 | xargs -0 --max-args=1 --max-procs=$(nproc) '-I{}' sh -c 'php --syntax-check {} || true' | grep --invert-match "^No syntax errors detected in"
just in case someone wants a quick'n dirty one-liner alternative, try