...
Here are the standards, conventions and guidelines that we choose to follow as of May 10th, 2016 (for PrestaShop 1.6.1.5+ and PrestaShop 1.7):
- PHP : code
We keep PSR-1 and PSR-2, along with a few nice details from Symfony. - JavaScript : code
We choose to follow the Airbnb JavaScript Style Guide. - HTML & CSS : code
We choose to follow the Mark Otto's coding standards. Mark is the creator of the Bootstrap framework. - Smarty / Twig : code
Same standards as with HTML & CSS. - Commits & Pull-requests : conventions
We choose to formalize best practices. - SQL : same guidelines
Same as before.
About the code validator (PHP CodeSniffer)
...