docs(code): add docs on testing and cleanup

Simplifies PHP guidelines, mentions complexity