-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Minor: remove duplicated lines #19537
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
Minor: remove duplicated lines #19537
Conversation
You could also switch max blank lines to 1 |
This comment was marked as outdated.
This comment was marked as outdated.
Oh yes... |
With symfony-docs/contributing/code/stack_trace.rst Lines 123 to 126 in 7a6096e
|
Lets keep it as is, we don't need to be too strict, one and two lines is ok |
This kind of changes might look unexciting ... but I love them because it makes the source of our docs look better ... and I think we should care about the internals as much as about the externals. Thanks Antoine! |
When upmerging there were a ton of conflicts... ... and now I see this when merging from 6.4 to 7.0: 847493b#diff-278a8e1908e2f0de9f2753d344b248e41eebde795a8e340569d2d0a3514cb29e Is that a merge error? |
I'm sorry to hear that :/
|
I searched for duplicated lines
^(.*)(\r?\n\1)+$
and found these "issues"This add more consistency and avoid copy/paste extra blank line