Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Sep 2018 at 12:41 UTC
Updated:
11 Oct 2018 at 15:39 UTC
Jump to comment: Most recent
Comments
Comment #2
avpadernoComment #3
avpadernoSince the class is implementing
ContainerInjectionInterfaceit should not use anyDrupalstatic methods. The necessary services should be created increate(). Alternatively, thecreate()method should pass the$containervariable to the class construction, and the services would be obtained with$this->container->get().Comment #4
avpadernoIn the second case (the container passed to the class constructor), the following interfaces/traits would be helpful.
ContainerAwareInterfaceContainerAwareTraitComment #5
oknateI have fixed the dependency injection. I added a new release https://www.drupal.org/project/paragraphs_toolbar/releases/8.x-1.2
Comment #6
oknateComment #7
avpadernoAs side note, there isn't any need to create a new release every time the code is fixed: You can just commit the code in the branch. I guess the documentation for the application process needs to be clearer about that.
Comment #8
oknateYeah, since it worked and there was nothing critical, I suppose I didn't need to do a new release. I'm new to maintaining a module.
Comment #9
avpadernoIt's OK, oknate.
You can work on the branch for all the time of the application, even if there is anything serious that is reported. The application should not change how often new releases are created. I just wanted to point that out, since the documentation was not really clear about that.
Comment #10
avpadernoSee the errors reported by PAReview.
Comment #11
oknateWhat a great tool. I have updated the module, so that it shows no errors on PAReview.
Comment #12
avpadernoComment #13
avpadernoPAReview doesn't report any issue. I will make a manual review tomorrow.
Comment #14
avpaderno@inheritdoc is not used with hooks, but if it would be used, it should be put between { and }.
The content of a file still need to be sanitized, when output with HTML markup.
I will approve the application this evening.
Comment #15
avpadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
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.
I thank all the dedicated reviewers as well.
Comment #16
oknateThank you for your help.