I have just validated a process to have your code syntax automatically validated and even fixed when you write code for Dolibarr ERP CRM.
Take a look at the dedicated chapter (install pre-commit hook) on this page:
You can add if into your development process. It is recommended to every developer to follow this new tool. It will save everybody a lot of time…