New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/robo coding standards #6186
Feature/robo coding standards #6186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it 👍
Cool. Could this tool take care of updating the license header at the top of each file? |
Codecov Report
@@ Coverage Diff @@
## hotfix #6186 +/- ##
============================================
- Coverage 10.78% 10.78% -0.01%
- Complexity 42070 42076 +6
============================================
Files 3366 3367 +1
Lines 244586 244611 +25
============================================
+ Hits 26375 26376 +1
- Misses 218211 218235 +24 |
@pgorod That's definitely something i'll look at before finishing with this PR. We can do it through .php_cs.dist but I don't think that's the best approach; for the language files it makes sense to update them all at once but for core files there's no real point in updating them unless the file itself is changed. The php_cs can't really be customised in the way we would need to make it work well with Suite so i'll probably end up creating a more specific robotask. |
95988cf
to
00e0c44
Compare
I'm confused by "It can't work that way". Why not add the .dist file and only add the modules/files ready to cleaned up and kept clean? I know you working on cleaning up module by module. So you could just add those modules to the .dist file. |
This needs a rebase, also shouldn't we have travis fail on failed lints? |
…llon-Brown/SuiteCRM into feature/robo_coding_standards
Assessed 👍 |
Description
Adds a robo task for automatically fixing coding standard issues and a dist file for PhpCsFixer configurations.
How To Test This
Types of changes
Final checklist