686ee18d16
Replace calls to assert() with Assert::assertInstanceOf()
...
Doing this as it was mentioned in the review process of the PR.
For more context see: https://wp.me/pcNwfB-wR
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
ccbdbd3e93
Refactor getNewsletterFromQueue() to use Doctrine instead of Paris
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
4ca656a217
Rename $queue to $sendingTask
...
Doing this for consistency and to make it more clear that $sendingTask
contains an instance of \MailPoet\Tasks\Sending and not an instance of
\MailPoet\Models\SendingQueue.
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
a7d0ad6568
Set the type of all the Newsletter parameters that use the Sending class
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
3b9a60c039
Rename NewsletterTest::queue to NewsletterTest::sendingTask
...
Doing this for consistency and to better makr that this property
contains an instance of \MailPoet\Tasks\Sending and not an instance
of \MailPoet\Models\SendingQueue.
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
9a92068d5b
Refactor Newsletter to use Doctrine instead of the Newsletter model
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
fd0acbd6cf
Refactor Newsletter to use Doctrine instead of the NewsletterSegment model
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
a4bb49852d
Replace Subscriber model with Doctrine in NewsletterTest
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
2137503e09
Replace NewsletterSegment model with Doctrine in NewsletterTest
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
9bf025874c
Replace SendingQueue model with Doctrine in NewsletterTest
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
cc43b25b7d
Replace most of the uses of Newsletter model with Doctrine in NewsletterTest
...
[MAILPOET-4363]
2022-09-21 16:03:21 +02:00
ac52f2af99
Introduce phpstan-type for MailerLog data
...
[MAILPOET-4122]
2022-03-21 10:17:37 +01:00
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00