Closed (fixed)
Project:
Drupal Mega Menu
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Nov 2021 at 17:56 UTC
Updated:
4 Apr 2023 at 11:04 UTC
Jump to comment: Most recent
Comments
Comment #2
gabrieldaI will work on this today
Comment #4
gabrieldaComment #5
beatrizrodriguesSo, i did the review and when run phpcs command it not return any errors although it returns me a warning about use dependency injection. I don't know if it is a case of open another issue for this, or it must be resolved on that. I'll assume the second case and change to needs work, but if there is no need of that dependency injection being resolved in that issue, someone can tell me and I change to RTBC (or someone can change yourself).
Comment #6
vicheldt commentedI think the dependency injection warning should be another issue, it's not related to the code pattern, but there's no other issue open on this specific case. Thoughts?
Comment #7
lucienchalom commentedI'll try to work on the Dependency Injection.
Comment #8
lucienchalom commentedI did the last dependency injection and the
phpcs --standard=Drupal,DrupalPractice --extensions=php
returns clean.
I had to implement the ContainerFactoryPluginInterface as no parent for the BlockBase implements it.
Thank you
Comment #9
Matheus Macario commentedComment #10
Matheus Macario commentedI did the review and these were the steps performed :
- Installed module
- Code review on changes made on the commit (2076f7ae - 3247954- fixing DI)
- reviewed again, and nothing wrong was found.
Comment #13
rjjakes commentedMerged to 8.x-1.x