Automatically convert our code base to use a consistent code style #9545
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Milestone
Goal of this issue is that Piwik sourcecode (PHP and ideally JS, CSS, HTML...) follows a coding standard. Ideally, the coding standard should be enforced in an automated fashion that does not take time from the developer (ie. fixes and suggestions are automatically applied by the computer rather than the human).
There are some tools available that can help us reformat our source code to be consistently styled:
Styleci
https://styleci.io/ (free for open source projects, StyleCI can automatically create a pull request with fixes applied)php-cs-fixer
with psr-2 level, as was suggested in fix core folder with php-cs-fixer for psr-2 #7956The text was updated successfully, but these errors were encountered: