This is a part of the attempt to fix #2572645: [Meta] Fix 'Drupal.Commenting.FunctionComment' coding standard
Step 0: Reading
Read xjm's comment on the fixing type hints.
This issue is created to work on the sub-sniff
Drupal.Commenting.FunctionComment.MissingParamType
Remaining tasks
Enable the sniff and fix any remaining problems.
Completed
#3478225: Fix MissingParamType in include files
#3478172: Add MissingParamType for views
#3478175: Fix MissingParamType for Database related
#3478204: Fix MissingParamType in core/lib/Drupal/Core
#3478166: Add MissingParamType for form, form_state and form_id
#3478185: Fix MissingParamType for tests
#3478200: Fix MissingParamType in core/lib/Drupal/Component
#3478220: Fix MissingParamType in modules not views
| Comment | File | Size | Author |
|---|---|---|---|
| #49 | 3207949-nr-bot.txt | 20.61 KB | needs-review-queue-bot |
Issue fork drupal-3207949
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
quietone commentedThis patch includes work from #1800330: Add missing type hinting to System module docblocks, now closed as a duplicate. Credit to add, Lars Toomre, Mile23, naveenvalecha, prashantgoel, jhodgdon. Let me know if the credit is correct.
Comment #3
quietone commentedThis patch includes work from #2651280: Add missing type hinting to System module TEST docblocks, now closed as a duplicate. Credit to add, naveenvalecha. Let me know if the credit is correct.
Comment #4
quietone commentedThis patch includes work from #2651280: Add missing type hinting to System module TEST docblocks, now closed as a duplicate. Credit to add, Mile23, jhodgdon, naveenvalecha. Let me know if the credit is correct.
Comment #5
quietone commentedThis patch includes work from
#1800546: Add missing type hinting to Node module docblocks
#1801998: Add missing type hinting to Field module docblocks
#1802060: Add missing type hinting to Image module docblocks
#1807002: Add missing type hinting to Taxonomy module docblocks
#1807674: Add missing type hinting to Block module docblocks
#1811202: Add missing type hinting to Update module docblocks
all now closed as duplicates. Credit to add, Lars Toomre, Jalandhar, adci_contributor, ideb, suhel.rangnekar, seanr, Jeroen, mrjmd, willzyx , xjm, deepakaryan1988, shetpooja04. Let me know if the credit is correct.
Comment #6
quietone commentedAnother increment, this includes changes to all migrate related files.
Comment #7
quietone commentedComment #8
kapilv commentedComment #9
kapilv commentedfixed Coding standards.
Comment #10
kapilv commentedComment #11
kapilv commentedComment #12
quietone commented@KapilV Have a look at the instructions for running the coding standard checks locally so you can be sure the tests will run before uploading a patch. It also has the advantage of saving resources, including money, for the Drupal association. There are real costs for running the tests.
The latest patch does not have an interdiff. Can you make one against patch #6 and upload it.
Comment #13
kapilv commented@quietone Thank you for the suggestion. I have uploaded interdiff.
Comment #14
quietone commentedAdd reference to xjm's comment about the challenges of fixing documentation.
Comment #15
quietone commentedThe patch in #11 has out of scope changes, so I have skipped it for now.
Add changes from #2610064: Wrong @param and @return doc comment in file.api.php credit given to rakesh.gectcr
Add changes from #1807678: Add missing type hinting to Book module docblocks credit to Mile23, Lars Toomre, jhodgdon
Comment #16
quietone commentedAdd changes from #2933570: Clean up PHP doc @param and @return types for entity revision IDs credit given to plach
Add changes from #2863877: Coding standards problems in Schema.php credit given to adriancid, daffie,cilefen
Comment #17
quietone commentedAdd changes from #2210565: Docblock and code style improvements in core/includes/bootstrap.inc credit given to donquixote, sushyl
Comment #19
quietone commentedComment #21
quietone commentedUpdate patch and merge changes from #2607110: Comment doc missing @return type in Class ThemeRegistry and token.api.php, adding credit.
Comment #24
quietone commentedAdd changes from #2533234: Marginally improve docs for database system and adding credit to Mile23.
Comment #28
quietone commentedClosing #2795793: missing params and return docs for acceptExposedInput() and adding credit for that work to this issue,
Comment #30
quietone commentedClosed #1965626: theme.inc - PHP cleanup and Documentation updates. as a duplicate an adding credit.
I also updated the patch. This is not ready for testing.
Comment #34
quietone commentedUpdated the patch to 10.1.x.
Added changes from #3034944: Fix docblocks in Views filter plugins and adding credit,
Comment #35
quietone commentedWrong patch.
Comment #37
quietone commentedComment #38
quietone commentedComment #39
quietone commentedComment #40
quietone commentedComment #41
Anonymous (not verified) commentedComment #42
Anonymous (not verified) commentedComment #43
quietone commentedComment #44
quietone commentedComment #47
longwaveNot much left to do here to enable the sniff globally.
Inspectorneeded some code changes, I think these are OK to do here though as I can't see anyone overriding or extending this class.Comment #48
smustgrave commentedWoo! Excellent work
Remaining changes seem fine to me.
Comment #49
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #50
quietone commentedUpdate for recent commits
Comment #51
smustgrave commentedRebase seems good.
Comment #55
nod_Committed d1a4f6e and pushed to 11.x. Thanks!
Comment #57
xjmFixing attribution.