Fixed
Project:
Modal
Version:
5.1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2026 at 16:35 UTC
Updated:
6 Apr 2026 at 01:48 UTC
Jump to comment: Most recent
Fix all items listed to be fixed
Drupal BestPracices will be covered at [3583173]
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
renatog commentedComment #3
renatog commentedComment #4
renatog commentedComment #6
renatog commented@vinodhinie , I saw that you make your first commit
It's ready for review or still in progress?
Thanks for your contribution
Comment #8
vinodhini.e commentedHi @renatog,
Thanks for checking. I have created the MR and addressed the PHPCS and ESLint issues.
However, I am currently unable to run the pipeline to verify the changes. I’m not sure if this is due to a permission issue or something else.
Please let me know if anything needs checking from my side. Thanks.
Comment #9
vinodhini.e commentedComment #10
renatog commentedSeems good for me! Thanks a lot @vinodhinie
Comment #11
renatog commentedComment #13
vinodhini.e commentedHi @renatog,
Thanks for the update.
I have followed your suggestion and created a new branch from 5.1.x. The required fixes have been reapplied, and the coding standards issues have been addressed.
A new Merge Request has been created targeting the correct 5.1.x branch.
Could you please review the updated MR.
Thanks!
Comment #14
renatog commentedThank you so much @vinodhinie
:D
Now seems good
Comment #15
renatog commentedMerged into dev branch
@vinodhinie I saw that the fixes were applied only on JS (it's already valid)
However, do you know if on PHP codes we had issues on phpcs as well?
Comment #17
vinodhini.e commented@renatog,
Yes, I reviewed the PHP code as well and found several PHPCS issues. I have addressed those by applying fixes (mainly replacing \Drupal:: calls with dependency injection and resolving coding standard warnings).
I’ve now updated the code and provided a new MR with the PHPCS fixes.
Please review.. Thanks..
Comment #18
renatog commentedThank you so much @vinodhinie
I'll take a look on this
Really appreciated
Comment #19
renatog commentedThanks a lot for you contribution
Seem that still having issues:
Comment #20
renatog commentedCreated a separated issue to cover best practices, since it needs more attention on validation of dependency injection
#3583173: Fix Drupal Best Practices for Modal 5.1.x
On this one we can focus on coding standards
Comment #21
renatog commentedMoved to the dev branch
Comment #24
renatog commentedThank you so much for your contribution @vinodhinie
Released the new version and added a public thanks for you: https://www.drupal.org/project/modal_page/releases/5.1.11
Comment #25
renatog commented