You’ve sat down to do a code review for a pull/merge request. How do you decide whether or not to accept the request? How do you agree amongst yourselves on that? And how to do train others to achieve a consistent level of quality for when they’re doing code reviews too?
In this talk, Stuart will show you a breakdown of PSR-2 - the PHP Community’s main official coding standard - and look at the parts of PSR-2 that directly affect code quality. From there, he’ll present a definition of what quality means, and how to go about writing your own in-house coding standards to achieve consistent quality across all your pull/merge requests.
Presented at Leeds PHP User Group, 20th March 2019.