Closed (fixed)
Project:
Recurring Events
Version:
3.0.x-dev
Component:
Recurring Events (Main module)
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Oct 2024 at 07:01 UTC
Updated:
2 Jul 2025 at 09:34 UTC
Jump to comment: Most recent
Comments
Comment #2
divyansh.gupta commentedComment #4
divyansh.gupta commented@pfrenssen I have made changes in the classes requested and applied dependency injection and removed direct drupal calls and placed construct and create functions where ever needed and updated existing in some of them.
Please review this MR and let me know if there are any changes to be made from my side.
Comment #5
pfrenssenAwesome, thanks so much for working on this. I see there is a test failure, can you have a look? It looks like the introduction of the constructor in
WeeklyRecurringDateWidgetneeds to be adapted to match the parent class.Comment #6
divyansh.gupta commentedok I will make the changes accordingly and make the test pass.
Comment #7
divyansh.gupta commentedI removed the test failure which was due to mismatch of create function with its parent class.
Please review it and tell me if any changes are to be made
Comment #8
pfrenssenThanks for the work so far! I did an initial review, I found a few small issues.
Comment #9
navekshavj commentedComment #10
navekshavj commentedComment #11
navekshavj commentedLooked there were some phpcs errors. will update once fixed
Comment #12
navekshavj commentedComment #13
kul.pratap commentedThere are still some direct Drupal calls visible in the PHPStan pipeline.
Comment #14
divyansh.gupta commentedMade the changes requested, Please review.
Comment #15
ankitv18 commentedPlease fix the phpunit pipeline, also there are many warnings in the phpstan which needs to be taken care see: https://git.drupalcode.org/issue/recurring_events-3481021/-/jobs/3724042...
Comment #18
plopescMR replacing \Drupal calls reported by PHPStan (Remaining ones in PHP classes should still be there).
While I was there, fixed the outstanding PHPStan issues, so PHPStan pipeline is green now as well!
Comment #20
plopescMR merged