-
-
Notifications
You must be signed in to change notification settings - Fork 726
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
Switch to auto formatted code #314
Comments
VSCode? Did you mean ESLint / Prettier / PHPStan / PHPCS? |
@nelson6e65 My bad, I looked. I'm using @ondras what do you think? |
I am not sure this is going to solve a problem I am having. To address your arguments:
In what sense? I do not recall dismissing a PR due to it being "unclean".
There is no work being mandated with respect to formatting. Obviously becoming consistent with the "code style status quo" is useful. I am okay with a PR that somewhat normalizes whitespace (as long as it does not introduce style changes incompatible with my own coding style). But I do not plan on applying that manually and/or automatically to my further code base adjustments. |
Ok, when I used the word clean, what I meant was Reading to understand by itself is work :) And the latest commit was only removing 5 lines, but there was another extra 16 additions and deletions (probably due to some auto formating of tabs to spaces etc) It's just a suggestion, but would require core collaborators to stick to using the auto formatter, otherwise it would not bring any benefits. Thank you. |
Right, but the related functionality has been implemented and merged separately. Also, in #254 (comment), I mentioned that I would welcome a separate white-space normalizing commit. This still holds.
Yep. Is this is problem? |
Ok, let me file a PR using the auto formatter Thanks! |
Ok, I have done it, removes all white-spaces + auto format, the tools used are also listed. |
Sorry for not replying earlier. I just accepted the PR. Thanks! |
No worries, thanks! Now I can based my other PRs off this :) |
Hi,
Can I suggest we use VSCode to auto format the codes? There are many benefits to this, namely:
I'm happy to file a PR.
The text was updated successfully, but these errors were encountered: