- Status changed to Needs work
almost 2 years ago 9:18am 16 January 2023 - @quietone opened merge request.
- Status changed to Needs review
almost 2 years ago 11:28am 23 January 2023 - Status changed to RTBC
almost 2 years ago 4:27pm 23 January 2023 - πΊπΈUnited States smustgrave
Tested this out by commenting out the phpcs line and running against the changes from the MR and got no errors.
- πΊπΈUnited States smustgrave
Went back and read the descriptions and they look good to me.
Though am curious why
* The strings wrapped in Drupal.t() and Drupal.formatPlural() are extracted * and inserted into the database.
didn't fail?
- π³πΏNew Zealand quietone
@smustgrave, Thanks for rechecking!
To answer your question, tt is because it is not a summary line. It is only the summary line that must fit in 80 chars, https://www.drupal.org/docs/develop/standards/php/api-documentation-and-... β
- Status changed to Needs work
almost 2 years ago 12:36am 25 January 2023 - πΊπΈUnited States xjm
Thanks for working on this. I added a number of suggestions to better match our documentation standards.
Remember, the one-line summary should:
- Be a summary describing the function/module/etc. out of context.
- Have the most important information first.
- Start with a third-person indicative verb, e.g. "Gets" (not "get"). (There are a few exceptions with their own pattern: hook definitions, update functions, render API callbacks, etc.)
- Be a complete, grammatically correct predicate (the part of a sentence after the verb).
- Not omit small, grammatically required words like "a", "the", "that", etc.
Reference: https://www.drupal.org/node/1354 β
Please review the suggestions as you work through them; I am not infallible. :)
- Status changed to Needs review
almost 2 years ago 10:03pm 28 January 2023 - Status changed to RTBC
almost 2 years ago 11:48pm 28 January 2023 - πΊπΈUnited States smustgrave
Changes look good,
14 is much easier to review then 96 haha
- Status changed to Needs work
almost 2 years ago 3:36pm 7 February 2023 - πΊπΈUnited States xjm
Added a couple more suggestions. "Test module" is not a helpful file docblock. One of the proposed docblocks also went against our coding standards by not having complete sentences.
Thanks!
- Status changed to Needs review
almost 2 years ago 6:10am 27 February 2023 - π³πΏNew Zealand quietone
I reviewed again and the one the uses 'implements' is a .module file with several hooks whereas the others have just one. So, the language changes make sense.
- Status changed to RTBC
almost 2 years ago 3:59pm 13 March 2023 - πΊπΈUnited States smustgrave
Taking another swing but the changes look fine to me. Would agree with the .module files as they be testing numerous things. Depends who's using them.
- π¬π§United Kingdom longwave UK
Committed and pushed 6629a1634d to 10.1.x and 94398eb858 to 10.0.x and cfd1219559 to 9.5.x. Thanks!
-
longwave β
committed 94398eb8 on 10.0.x
Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test...
-
longwave β
committed 94398eb8 on 10.0.x
-
longwave β
committed 6629a163 on 10.1.x
Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test...
-
longwave β
committed 6629a163 on 10.1.x
- Status changed to Fixed
over 1 year ago 3:31pm 12 April 2023 -
longwave β
committed cfd12195 on 9.5.x
Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test...
-
longwave β
committed cfd12195 on 9.5.x
Automatically closed - issue fixed for 2 weeks with no activity.