Here’s a quickie - make sure every PHP file in your project parses correctly.

find . -name ‘*.php’ -exec php -l {} \; | grep “Errors parsing”