Exclude folders not containing production or test PHP code

This PR modifies the sniffer to ignore folders which we do not enforce our code standards on, which includes the build (contains all of the sniffs) and docs (doesn't contain any PHP files) folders.