I suppose. I hate deleting spaces at the end of word-wrapped docblock comments. It makes it harder to re-wrap when you edit them. My IDE doesn't seem to have a docblock re-wrap function.
My editor removes trailing space by default to help follow coding standards, so it is a hassle when there is trailing space because ever patch includes un-related whitespace changes. The patch above, by the way, covers all trailing whitespace in Webform.
This makes it a little easier for me (note the dash after webform and the inclusion of the comment number).
I changed my editor to clean the whitespace ONLY from the lines I change. If your IDE has the same option, it might prevent you from suffering and still not induce suffering in others. Seems like the best of both worlds.
Comments
Comment #1
liam morlandComment #2
danchadwick commentedI suppose. I hate deleting spaces at the end of word-wrapped docblock comments. It makes it harder to re-wrap when you edit them. My IDE doesn't seem to have a docblock re-wrap function.
Comment #3
liam morlandMy editor removes trailing space by default to help follow coding standards, so it is a hassle when there is trailing space because ever patch includes un-related whitespace changes. The patch above, by the way, covers all trailing whitespace in Webform.
Comment #5
danchadwick commentedThanks, Liam. Committed to 7.x-4.x and 8.x.
One tiny suggestion: The patch naming convention is
This makes it a little easier for me (note the dash after webform and the inclusion of the comment number).
I changed my editor to clean the whitespace ONLY from the lines I change. If your IDE has the same option, it might prevent you from suffering and still not induce suffering in others. Seems like the best of both worlds.
Comment #6
liam morlandMy editor doesn't have that option. It's a good idea, however.
Thanks for pointing out the file naming convention.
Comment #8
liam morlandThe commit in #7 is for #2304047: PDO Exception: Duplicate entry for key 'nid_serial'.