Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Jun 2024 at 23:11 UTC
Updated:
2 Sep 2024 at 21:44 UTC
Jump to comment: Most recent
Comments
Comment #2
vishal.kadamThank 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.
phpcs --standard=Drupal,DrupalPracticeon the project, which alone fixes most of what reviewers would report.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 #3
vishal.kadamComment #4
vishal.kadam1. Fix phpcs issues.
2. Remove README.txt file.
README.md file should follow the content and formatting described in README.md template.
3. FILE: sdc_styleguide.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.
4. FILE: src/SDCStyleguidePluginManager.php
FILE: src/Controller/StyleGuideController.php
FILE: src/Drush/Generators/SDCStyleguideDemoGenerator.php
FILE: src/Form/SDCDemoForm.php
FILE: src/Service/SDCDemoManager.php
The documentation comment for constructors is not mandatory anymore, If it is given, the description must be Constructs a new [class name] object. where [class name] includes the class namespace.
Comment #5
alemadleivishal.kadam, thank you for the feedback.
I've updated based on the PHPCS output and the other comments.
One thing though, regarding constructors using the namespace, on some instances this causes the line to go over 80 characters and it raises more PHPCS issues.
So I just used the class name instead.
Comment #6
vishal.kadamRest looks fine to me.
Let’s wait for a Code Review Administrator to take a look and if everything goes fine, you will get the role.
Comment #7
avpadernoPlease do not change the status to Reviewed & tested by the community after only checking what PHP_CodeSniffer reports.
That status does not mean I do not know what else I should review. It means I manually reviewed all the code and I found out the code does not have security issues, it correctly uses the Drupal API, and it follows the Drupal coding standards.
Comment #8
alemadleiUpping priority after 3 weeks.
Comment #9
alemadleiUpdating priority after 8 weeks.
Comment #10
avpadernoThank you for your contribution!
I updated your account so you can now opt into security advisory coverage for any project you created and every project you will create.
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!
Thank you 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 #11
avpaderno