Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
3 Nov 2024 at 06:14 UTC
Updated:
22 Apr 2025 at 18:29 UTC
Jump to comment: Most recent
Comments
Comment #2
sillot commentedComment #3
avpadernoThank you for applying!
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
The important notes are the following.
Keep in mind that once the project is opted into security advisory coverage, only Security Team members may change coverage.
To the reviewers
Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.
The important notes are the following.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.
Comment #4
avpadernosrc/Controller/DabComponentController.php
Since that class does not use any method from the parent class, it does not need to use
ControllerBaseas parent class. Controllers do not need to have a parent class; as long as they implement\Drupal\Core\DependencyInjection\ContainerInjectionInterface, they are fine.src/Form/AddComponentForm.php
FormBasealready implementsContainerInjectionInterface; there is no need for a child class to define it implements it.src/Form/ConfirmationComponentForm.php
Since that is a confirm form class, its parent class should be
ConfirmFormBase.Comment #5
sillot commentedHi @avpaderno and thanks for the review !
I fixed what you listed in your comment on 1.x branch.
Comment #6
vishal.kadamComment #7
vishal.kadam1. FILE: dab.module
Drupal does not have primary and secondary hooks. Instead of that, it is preferable to use the usual description: Hook implementations for the [module name] module. where [module name] is the name of the module given in its .info.yml file.
2. FILE: src/Controller/DabComponentController.php
FILE: src/Controller/DabComponentListController.php
FILE: src/Form/AddComponentForm.php
FILE: src/Form/CacheClearForm.php
FILE: src/Form/ComponentFilterForm.php
FILE: src/Form/ConfirmationComponentForm.php
FILE: src/Plugin/Derivative/AtomicComponentMenuLinkDeriver.php
FILE: src/Service/ComponentFileManager.php
The documentation comment for constructors is not mandatory anymore, If it is given, the description should be Constructs a new [class name] object. where [class name] includes the class namespace.
Comment #8
sillot commentedHi @vishal.kadam,
Thanks for your review ! I made the changes your requested.
Comment #9
vishal.kadamRest looks fine to me.
Let’s wait for other reviewers to take a look.
Comment #10
rushikesh raval commentedI am changing priority as per Issue priorities.
Comment #11
avpadernoThank you for your contribution and for your patience with the review process!
I am going to update your account so you can opt into security advisory coverage any project you create, including the projects you already created.
These are some recommended readings to help you with maintainership:
You can find more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved!
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.
I thank the dedicated reviewers as well.
Comment #12
avpadernoComment #13
avpadernoComment #14
avpaderno