http://www.php-fig.org/psr/ • More about rule-sets: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml • Rule-set generator (I did not make this): http://edorian.github.io/php-coding-standard-generator/#phpcs
mental effort it takes you to read code you didn’t write, the better.* • Potential to reduce conflicts during code merges. • Potential to reduce size of code merges. • Expectations are set as a team • Expectations are enforced by a computer (automated build systems) * This is something you have to determine. There is no magic solution/silver bullet to find what is or isn't too much mental effort.