Check PHP project against a ruleset