Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Nov 2023 at 21:16 UTC
Updated:
7 Feb 2024 at 17:24 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.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
avpadernoI am changing status as per Issue priorities.
To the reviewers: Please set the status back to Normal after a review.
Comment #4
nikral commentedThank you for applying!
I have three suggestions:
- media_power_bi/src/Plugin/Validation/Constraint/MediaPowerBiConstraintValidator.php
This method is static, but you call it with $this
$pattern = $this->getUrlRegexPattern();You can also call it with
self::but I don't know what is the best practice- media_power_bi/src/Form/MediaPowerBiMediaForm.php
$media = $this->createMediaFromValue($media_type, $media_storage, $source_field_name, $url);As you use
declare(strict_types=1);Can you declare
$mediato/** @var \Drupal\media\MediaInterface $media */- media_power_bi/media_power_bi.module hook_theme()
function media_power_bi_theme($existing, $type, $theme, $path)I think you can remove all unused params
$existing, $type, $theme, $pathComment #5
minirobot commentedThanks for your review @nikral. I've made the suggested changes in the 1.0.x branch.
I used
self::getUrlRegexPattern()as you suggested. SincegetUrlRegexPatternis a static memberselfis correct.Comment #6
nikral commentedComment #7
trigve hagen commentedGood clean code, a clear README, Coder returns 0 errors, PARreview looks good.
I just need to test your code out. Is there a way that we could team meet and you can walk through the installation and set up? I do not have a school or business email that I can set up a Microsoft Power BI account with. You might want to record it and put it on YouTube for the next reviewers to see. Then I can mark you as RTBC. Thanks.
Comment #8
vishal.kadam@Trigve Hagen Comments in this queue are required to review the project files and report what needs to be changed. We do not debug projects.
Comment #9
trigve hagen commentedOk. Sounded by RTBC that we tested the code too to make sure it works. So we do not test the code? If that's the case I would set the code to RTBC unless you object. Thanks.
Comment #10
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 #11
avpaderno