API page: https://api.drupal.org/api/drupal/core%21modules%21system%21core.api.php...
On this page, it looks like someone has used @code ... @endcode inside of paragraph text. Don't do that. @code...@endcode is for code *blocks*. It breaks up the flow of paragraphs.
So, this task is to remove this type of usage of @code ... @endcode.
Bonus if you notice any other places in the core.api.php file where this is done and take care of them too.
More detail: This is a good use of @code:
...
* mymodule.foo.yml with a call to:
* @code
* $config = \Drupal::config('mymodule.foo');
* @endcode
This is a bad usage of @code:
* The fourth argument of the @code set() @endcode method can be used to specify
It should just be:
* The fourth argument of the set() method can be used to specify
Comments
Comment #1
pushpinderchauhan commentedRemove incorrect usage of @code ... @endcode. Please review.
Comment #2
jhodgdonLooks good, thanks! I'm a bit concerned about:
though. Those things look like of like HTML tags. Can we replace with [prefix]:[suffix] instead?
Comment #3
pjbaertI couldn't find any other bad usages of @code.
Processed the remark by @jhodgdon in this patch
Comment #4
koence commentedThe remark mentioned by @jhodgdon has been implemented:
: has been replaced with [prefix]:[suffix] Did no longer find any @code usages.Comment #5
wim leersThis is my fault — I introduced those @code tags. Sorry.
Changes look good. :) Except for:
80 cols. This line needs to be re-balanced to 80 characters per line.
Comment #6
pjbaertRe-balanced that line to:
Comment #7
wim leersNow this line needs to be rebalanced too… sorry :P
P.S.: hi! :P Now I know the person behind the nickname!
Comment #8
pjbaertfixed.
Sent from the Trappistenhuis @ Gent ;)
Comment #10
pjbaert*burp*
Forgot the interdiff
Comment #11
wim leers:D :D Awesome! Have fun there :)
Comment #12
dom. commentedAlso RTBC here, but I was too slow ! ^^
Comment #13
jhodgdonMe three! :)
Comment #14
wim leers@jhodgdon: Hah :)
Comment #15
webchickCommitted and pushed to 8.0.x. Thanks!