Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Jul 2021 at 18:59 UTC
Updated:
5 Oct 2021 at 12:09 UTC
Jump to comment: Most recent
Comments
Comment #2
huzookaAbout the issues raised by PAreview:
The
migmag_missing_plugins.moduledoes not implementhook_help():Migmag Missing Plugins is a test module. I don't think it makes any sense to implement the help hook (and write help copy) for a test module. Or am I wrong?
CS issue in
RollbackableComponentEntityDisplayBase:The report points to a return statement at the end of a class method. I think (hope) that this is caused by the misinterpreted
[]language construct right before the statement.Comment #3
huzookaRe #2.2:
My suspicion was confirmed: changing
[]tolist()eliminated the reported CS error.Diff:
Comment #4
avpadernoThank you for applying!
Yes, implementing
hook_help()in a test module doesn't probably make sense. I personally give less importance to that hook when reviewing a project. I prefer a module that doesn't implement that hook to a module that implements it just to not have that reported from automatic review tools.As for the second point, that construct is perfectly correct. It's just the review tool that doesn't understand it, probably because it hasn't been updated to recognize some constructs recently introduced in PHP.
Comment #5
huzooka@apaderno, thanks for the swift response!
Comment #6
huzookaChanged target branch from 1.0.x to 1.1.x.
Explanation of the raised PAreview issues:
The migmag_missing_plugins.module does not implement hook_help().migmag_missing_pluginsis a test module. In #4, @apaderno and I agreed on that test modules don't have to implementhook_help.These are misinterpreted code examples wrapped by
@codeand@endcode.Misinterpreted
[]constructs.Misinterpreted
[]constructs.Misinterpreted
[]constructs.Comment #7
avpadernoI changed the issue priority as described on Review process for security advisory coverage: What to expect / Application Review Timelines.
To reviewers: Please change back the priority to Normal after reviewing the project.
Comment #8
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Comment #9
huzookaThanks for your trust!