e59992cc16
Fix checkGenericClassInNonGenericObjectType PHPStan errors
...
This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.
[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
94ac913aa3
Update nesbot/carbon
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
d5f6f63ebe
Use option filters instead of synchronization Woo email styles
...
With this change the Woo template editor will never overwrite Woo commerce settings,
but replace values of those settings using hooks.
[MAILPOET-3645]
2021-06-14 14:30:01 +02:00
90526362cc
Ignore PHPStan Carbon related error introduced after update to version 0.12.83
...
This commit ignores the following PHPStan error introduced after the update to version 0.12.83. It seems the error is caused by a problem in Carbon's documentation so there is not way for us to fix it for now. Carbon's constructor accepts an instance of DateTimeInterface, but its phpdoc block only mentions string or null.
```
------ ----------------------------------------------------------------------
Line lib/Entities/NewsletterEntity.php
------ ----------------------------------------------------------------------
283 Parameter #1 $time of class MailPoetVendor\Carbon\Carbon constructor
expects string|null, DateTimeInterface|null given.
------ ----------------------------------------------------------------------
```
[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
63db6737df
Only some statuses can be updated
...
We want to maintain the previous behaviour
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
50b98bd079
Only load queues after check passes
...
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
3ae3102f9c
Leave old task paused when activating newsletter
...
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
2dcf9a8a8f
Pause all scheduled tasks when pausing newsletter
...
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
06dca19738
Add magic getters for backward compatibility
...
[MAILPOET-3333]
2020-12-03 14:11:53 +01:00
b97dee0bfe
Refactor welcome newsletter scheduler to Doctrine
...
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
6438081476
Fix issues in Doctrine entities newly found by PHPStan
...
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
3479783588
Use WP currentTime when newsletter is duplicated
...
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
c68728670e
Remove using Idiorm from Newsletter::duplicate
...
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
a4dcec49c7
Add list of names for NewsletterOptionFieldEntity
...
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
fb238cd531
Fix errors discovered by doctrine-phpstan
...
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
489662c8b1
Use Doctrine's orphan removal for newsletter options
...
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
2242ef1a77
Use Doctrine's orphan removal for newsletter segments
...
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
63a2bed8bf
Apply safe to load association trait to all toOne associations
...
[MAILPOET-2818]
2020-04-08 15:06:07 +02:00
b39dac75d6
Autofix number of newlines between methods
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
4fe760f4b1
Improve NewslettersResponseBuilder
...
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
d0292f8624
Convert variable names to camel case in PHPDoc
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
25fe3aba54
Fix easy errors found by PHPStan
...
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
2c0f16b0dd
Fix tests and default values
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
a5dc30c4b6
Use Doctrine to create the newsletter
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
d5d2a183a9
Add entity validation constraints based on old models
...
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
48802e47c4
Use namespaced Doctrine annotations
...
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
ef79b7efbb
Add ga campaign to api response
...
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
3ccdd85b97
Change collection property types to ArrayCollection
...
[MAILPOET-2428]
2019-10-03 14:51:11 +01:00
c2072ec107
Use latest newsletter sending queue in API response
...
[MAILPOET-2428]
2019-10-03 14:51:11 +01:00
bf3adf6ef7
Fix Newsletter/SendingQueue association mapping
...
[MAILPOET-2428]
2019-10-03 14:51:11 +01:00
1dd8c7c1be
Add new newsletter type
...
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00
2b51b2f209
Check parent exists before returning it
...
[MAILPOET-2350]
2019-09-11 10:18:10 +01:00
91dd0aa910
Add Doctrine entities for sending queues and scheduled tasks
...
[MAILPOET-2216]
2019-08-23 15:31:11 -04:00
eb837c8e36
Add Doctrine entities for newsletters, options, and segments
...
[MAILPOET-2216]
2019-08-23 15:31:11 -04:00