-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
- Loading branch information
There are no files selected for viewing
4 comments
on commit 290a66a
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.
Why adding more excludes instead of making the code conform to WP code style?
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 have the same question.
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.
@Aetles @wester97 : Simply because it's time consuming to keep up with new iterations of WP Coding Standards. I consider the rules that I have excluded as of little importance in relation to whether the code will run correctly. It's a source of frustration when a build fails because of a new rule that is added to the WP Coding Standards repo. Ideally, we should be able to fix build errors automatically with php sniffer on localhost before pushing to github. But it does not seem to me that phpsniffer are in sync with the WP Coding Standards ruleset. Feel free to help me fix this. There is currently an open pull request with a failed build (because of a new WP Coding Standard rule) which I have not had time to look at yet.
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.
Thanks for the explanation. I can see the struggle with build failures, a common problem and source of frustration in many other projects too, unfortunately. Still, I prefer consistent code (and other things like best practice for commit messages) but I'm not maintaining this project and that's my personal opinion and I'm free to fork and maintain whatever rules I like there.
This seems like a typo ...