Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
Umami demo
Priority:
Minor
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
15 Jun 2018 at 18:44 UTC
Updated:
5 Jul 2018 at 21:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andrewmacpherson commentedThis is a good first-time contributor issue, to learn how to make a patch for an issue.
Polite request: if you already know how to make a patch, please leave this for a first-time contributor.
Comment #3
vishalkhode commentedDone. Please review patch.
Comment #4
vishalkhode commentedComment #5
msankhala commentedI can confirm the patch #3 applies cleanly and fixes 80 character line length issue as per IS.
Comment #6
andrewmacpherson commentedPerfect, wraps the offending line at exactly 80 chars.
Comment #7
alexpottLet's take this opportunity to format the @todo as per the coding standards - https://www.drupal.org/docs/develop/coding-standards/api-documentation-a...
So it should be:
And the inline @see should be removed. See https://api.drupal.org/api/drupal/core%21profiles%21demo_umami%21demo_um... - the inline @see doesn't work.
Comment #8
andrewmacpherson commentedThanks @alexpott
I didn't realize the issue URL can go inline here.
So we're collapsing
@seeinto the@todo, so it's just one documentation tag.Comment #9
abhaypai commentedThough the patch is having 81 characters in second line according to the solution of @alexpott in comment #7
Here's the patch. Reference for creating patch taken from here
Comment #10
msankhala commented@paiabhay8 Thanks for your first d8 core patch. No, it isn't having 81 characters in the second line, It is having exactly 80 characters. When you put the cursor at the end of the line. The cursor is at the 81st position but the last character is at 80th position.
I can confirm the patch #9 applies cleanly and fixes the issue as per @alexpott suggestion in #7.
Comment #11
catchNeed to be careful with file permissions here - it should stay 644, but fixed that on commit.
Committed a4560fd and pushed to 8.6.x. Thanks!