-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Milestone
Description
NPR used to have its own handcrafted PHP standards (briefly explained here), but last December we decided to adopt the Symfony2 coding standards and enforce them using PHP-CS-Fixer with a pre-commit hook in order to reduce the time spent during code reviews on pointing out standards violations. This practice has been very successful and is worth rolling out to our other codebases, particular open source ones like this one. It'd be great if we could similarly have our coding style enforced at commit time so that we don't even need to have a section on style in our CONTRIBUTING.md doc and can instead just assume that any commits to this codebase follow our standards.
Reactions are currently unavailable