Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Jan 2025 at 11:02 UTC
Updated:
10 Feb 2026 at 20:14 UTC
Jump to comment: Most recent
Comments
Comment #2
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 #3
avpadernoUsually, after reviewing a project, we allow the developer to opt projects into security advisory coverage. This project is too small for us and it doesn't contain enough PHP code to really assess your skills as developer.
Have you created any other project on drupal.org (module, theme, distribution) we could instead review? The project needs to have most of the commits (preferable all the commits) done by you.
Comment #4
sergey_gabrielyanHello @avpaderno! This is my first module. I'm using the tailwind-merge-php package and have added the tw_merge Twig function; for that reason, code is small. I have also created a patch for this module: https://www.drupal.org/project/smart_trim/issues/3334442 (not my module), but I don't have my own modules or themes besides Tailwind Merge Classes.
Comment #5
avpadernoI am changing priority as per Issue priorities.
Comment #6
avpadernoThis thread has been idle, in the needs work state with no activity for some months.
May you confirm you are still pursuing this application? If this is the case, and you made commits basing on what previously reported, or you can answer the questions previously asked, please change the status to Needs review.
Comment #7
sergey_gabrielyanHello @avpaderno, I’ve updated the tailwind_merge_classes module by adding a custom form, a service, and unit tests. All pipelines are passing successfully, and both phpcs and phpstan have been checked carefully. At this stage, can the project already have security advisory coverage?
Comment #8
sergey_gabrielyanComment #9
vishal.kadamComment #10
sergey_gabrielyanComment #11
sergey_gabrielyanComment #12
sergey_gabrielyanComment #13
vishal.kadam1. FILE: README.md
The README file is missing the required sections - Requirements, Installation, and Configuration.
2. FILE: src/Form/TailwindPrefixForm.php
With Drupal 10 and Drupal 11, there is no longer need to use #default_value for each form element, when the parent class is ConfigFormBase: It is sufficient to use #config_target, as in the following code.
Using that code, it is no longer needed to save the configuration values in the form submission handler: The parent class will take care of that.
For this change, it is necessary to require at least Drupal 10.3, but that is not an issue, since Drupal 10.2.x is no longer supported.
3. FILE: src/Form/TailwindPrefixForm.php
FILE: src/Twig/TailwindMergeClassesTwigExtension.php
New modules, which are compatible with Drupal 10 and higher versions are expected to include type declarations in property definitions, and use constructor property promotion.
Comment #14
sergey_gabrielyanThank you for the review and the detailed explanation @vishal.kadam
I just want to confirm whether updating the form to use #config_target (and removing #default_value and manual config saving) is required for this module, or if it would be acceptable to keep the current approach to allow compatibility with Drupal versions below 10.3.
Comment #15
vishal.kadamThis is not required. However, it is better if the module does not depend on Drupal versions that are no longer supported. Keeping the current approach is acceptable to maintain compatibility with versions below 10.3.
Comment #16
sergey_gabrielyanComment #17
sergey_gabrielyan@vishal.kadam Feedback addressed: README updated, forms use #config_target, typed properties and constructor promotion added, requires Drupal 10.3+. The same changes have been applied to the 2.x branch as well. Please let me know if a separate issue is needed for that version or if you'll review 2.x too.
Comment #18
sergey_gabrielyanComment #19
sergey_gabrielyan@vishal.kadam Since the module now requires Drupal 10.3+, I created release 1.1.0 instead of 1.0.2 to indicate the new Drupal version requirement.
Comment #20
sergey_gabrielyanComment #21
vishal.kadamSince a successful completion of the project application process results in the applicant being granted the necessary role to be able to opt projects into security advisory coverage, there is no need to take multiple applications through the process.
Reviewers do not review multiple branches. It would also be better not to create new branches, as reviewers may need to recheck all the files to understand what changes were made in the new branch.
Comment #22
vishal.kadamRest looks good to me.
Please wait for a Project Moderator to take a look and if everything goes fine, you will get the role.
Comment #23
sergey_gabrielyanI know not much time has passed, but I just wanted to check if there are any updates.
Comment #24
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 also all the reviewers for helping with these applications.
Comment #25
avpadernoComment #27
sergey_gabrielyanThank you @vishal.kadam and @avpaderno for your reviews and guidance. Much appreciated!