Problem/Motivation
The sniff "Drupal.Commenting.DocComment.ParamNotFirst" is not enabled.
Steps to reproduce
Proposed resolution
Enable the run "Drupal.Commenting.DocComment.ParamNotFirst" in core/phpcs.xml.dist
Remaining tasks
Create a follow up to fix and then remove the two ignore lines added here.
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2937558-6.patch | 3.61 KB | jungle |
Issue fork drupal-2937558
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ivan berezhnov commentedComment #6
jungleSubmit an incomplete patch for further discussion
Comment #7
jungleIs it ok to change
@seetoSeefor the samples above? The context of them is not pointing to its function/method directly.Comment #8
idebr commentedThe @see tag can be used to define a reference to other Structural Elements or to an URI.https://docs.phpdoc.org/latest/references/phpdoc/tags/see.html
@see can point to URLs. If the URL should be displayed inline, you can convert them to use @link: https://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutori...
Comment #13
quietone commentedUn-assigning, it seem eltori created the issue but hasn't worked on it since.
Comment #17
quietone commentedComment #19
quietone commentedComment #20
longwaveThis needs a reroll but I think this is fine to go in as-is, not sure what there is to discuss (as per the OP).
Comment #21
quietone commentedComment #22
smustgrave commentedRebase seems good. Not sure what else to review, the rule being enabled showed everything and don't see anything off.
Comment #23
borisson_I had a question on the MR, but I don't feel strongly enough about it to un-rtbc this.
Comment #24
catchhmm I think @borisson_ is right - if we don't want to make that documentation compliant with the rule, then either the coding standard or the rule should change so it doesn't need to be ignored.
Comment #25
quietone commentedComment #26
borisson_#24 sounds very reasonable.
Comment #29
nod_question in MR
Comment #30
borisson_I think you closed the merge request, but yes, I think we should.
Comment #32
nod_ah yes sorry, was about to commit when i spotted it :),thx quietone
Comment #33
nod_thx for the update
Comment #36
nod_Committed 68bf822 and pushed to 11.x. Thanks!