Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Feb 2023 at 15:50 UTC
Updated:
19 Mar 2023 at 09:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vishal.kadamThank you for applying! Reviewers will review the project files, describing what needs to be changed.
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.
To reviewers: Please read How to review security advisory coverage applications, What to cover in an application review, and Drupal.org security advisory coverage application workflow.
While this application is open, only the user who opened the application can make commits to the project used for the application.
Reviewers only describe what needs to be changed; they don't provide patches to fix what reported in a review.
Comment #3
vishal.kadamComment #4
vishal.kadam1. It seems you have missed working on the coding standards. You can use the PHPCS tool for checking and resolving issues.
2. googlereviews.info.yml
core_version_requirement: ^8 || ^9 || ^10Since Drupal 8 is now not supported, the core requirements should be changed.
3. src/Form/SettingsForm.php
If a class does not need those methods, there is no need to implement them.
Comment #5
vishal.kadamComment #6
ptitb commentedThanks for the feedback. I committed the recommended changes to the repository.
Comment #7
vishal.kadamHello @ptitb,
I have reviewed the changes, and they look fine to me.
Let’s wait for other reviewers to take a look and if everything goes fine, you will get the role.
Thanks
Comment #8
avpadernoComment #9
avpadernosrc/GetGoogleData.php
$this->stringTranslation->translate()should not be used to translate strings, as its documentation says.For exceptions, the function used to log them should be
watchdog_exception(), or code similar to that should be used.googlereviews.info.yml
Modules should avoid to use that value for package.
Comment #10
ptitb commentedThanks @apaderno! Took your recommendations and fixed and committed them.
I now see I was a bit too early with replacing watchdog_exception().
Comment #11
ptitb commentedI started development on some new features in the module and would like to create a 1.1.0 branch and tag. Do you want me to change the title of this issue to reflect this new branch?
Comment #12
avpadernoWe already started reviewing this branch. You can create a new branch, but we will continue with this.
Comment #13
ptitb commentedOkay, thanks!
Comment #14
andrei.vesterliHi @ptib
Nice module and good job!
I did a smoke review and there are already some mentioned things above. What can I add is:
getGoogleReviews()should return the type:array$api_url = 'https://maps.googleapis.com/maps/api/place/details/json';inside thegetGoogleReviews()method. From how I see it, it's better to keep it as a config, so, you'll be able to change it when is necessary.administer googlereviews configurationwas used in thegooglereviews.routing.ymlfile but there is no such defined permission in your module. You should probably add thegooglereviews.permissions.ymlfile and define it.Comment #15
vishal.kadamComment #16
ptitb commentedThanks @andrei.vesterli! Good points.
Fixed and committed the changes.
Comment #17
ptitb commentedComment #18
andrei.vesterli@ptitb
Nice job!
For me, all is fine now. Let's see what others will say.
Regards,
Andrei
Comment #19
jitesh_1Comment #20
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 Slack #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 reviewers.
Comment #21
avpaderno