Lint and score PHP files based on a simple ruleset