Closed (fixed)
Project:
Menu Condition
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2018 at 09:39 UTC
Updated:
22 Oct 2018 at 09:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
deepanker_bhalla commentedFixed the coding standard.
Comment #3
joachim commentedThanks for the patch!
Looks good apart from this:
AFAIK inheritdoc is not used for classes, and I definitely know that it can't be combined with anything else in the docblock.
First line here should instead briefly describe the plugin.
Comment #4
deepanker_bhalla commented@joachim:
I think the module creator must describe the plugin perfectly. So we can left it to him.
Comment #5
msankhala commented@deepanker_bhalla, @joachim is this module's creator. You can add docblock something like:
As per suggested in https://www.drupal.org/docs/develop/standards/api-documentation-and-comment-standards#classes
Comment #6
dhirendra.mishra commentedworking on it.
Comment #7
dhirendra.mishra commenteduploading patch.
Comment #8
msankhala commentedRemove this {@inheritdoc}.
Comment #9
dhirendra.mishra commentedCorrection from #8. Please review it.
Comment #10
msankhala commented@dhirendra.mishra @deepanker_bhalla Good work. I can confirm the patch #9 is applying cleanly and fixing all the coding standard reported by the PHPCS. Here is the output:
PHPCS is reporting no coding standard warning after applying the patch #9 and its fixing concern reported in #3.
Comment #12
joachim commentedThanks everyone! I appreciate the attention to detail.