-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Refactor onCampaignTriggerActionUpdateLead to use batches #14495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 6.x #14495 +/- ##
=========================================
Coverage 64.03% 64.03%
- Complexity 34653 34667 +14
=========================================
Files 2287 2287
Lines 103717 103763 +46
=========================================
+ Hits 66418 66449 +31
- Misses 37299 37314 +15
|
@rohitpavaskar I would normally recommend a PHPSTAN ignore comment but since this is in multiple places I think it should be ignored in https://github.com/mautic/mautic/blob/6.x/phpstan.neon#L29. It's still good as new subscribers won't be using the deprecated event |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rohitp19
Code changes looks good to me, also i tested it on local env it is working as expected.
app/bundles/LeadBundle/Tests/EventListener/CampaignSubscriberFunctionalTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Rohit!
- New tests were added and the old ones were simplified with reducing duplicated code
- The phpstan baseline was regenerated as on event was marked as deprecated.
All good 👍
Description
📋 Steps to test this PR: