Open soderlind opened 8 years ago
I believe the intention of Code Climate is to focus on analysis and reporting. Modifications to the code being analyzed (to me) seems out of range, but I'm only a spectator in that regard.
That said, I think in order for this to work I could see two options:
In any case, my recommendation would be to only use PHPCBF on a local machine and a manual review of the changes be done before committing, as (in my experience) it does not always do the correct refactoring. Consequently, I don't think this is something I would recommend Code Climate supporting at present.
Since
phpcbf
is included, how about adding the optionautofix
to the config and have phpcbf fix many of the coding standard errors ?