Creating Coding Standards

I've been tasked with coming up with a written document of coding standards after getting fairly frustrated with myself about having an internal set of rules, but not being able to effectively communicate them.  It creates a fairly tense atmosphere where I've become known as the code Nazi, a.k.a. a dick. Researching effective standards has resulted in an interesting discovery.  My code isn't that great! The code I write is pretty good, but in looking at models like PSR, I find that it's not always consistent. Maybe there's more to this whole…