Commit Graph

103 Commits

Author SHA1 Message Date
36b5a279b9 Add constants needed during analysis
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
90d7e1804e Clean PHPStan bootstrap file - get rid of WP loading
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
4202faa40c Configure phpstan scan files and directories for libs analysis
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
ac1044eebb Remove mose of uses Idiorm from NewslettersTest
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
a15a74d94f Use doctrine instead of Idiom in test for PostNotification
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
f8bd946dc0 Check sent emails for products when schedulig an email
[MAILPOET-2335] [MAILPOET-2334]
2020-10-22 11:54:41 +02:00
e43819920d Update PHPStan
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
f16601e239 Update phpstan/phpunit extension
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
ba26e91f82 Update phpstan config for tests and fix errors in tests
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
1f58e63306 Update phpstan config for lib
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
8f7463b20d Update PHPStan Doctrine extension and PHPStan
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
0437236cf1 Refactor subscriber finder to use new repository
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
7c979c9b56 Move manage subscription page filter to proper class
[MAILPOET-1635]
2020-08-03 10:23:17 +02:00
wxa
a181afe646 Load PHPMailer conditionally to avoid deprecation notices in WP 5.5 [MAILPOET-3040] 2020-07-16 10:11:09 +02:00
85824ec268 Adjust changes to fix failed tests 2020-07-09 09:56:10 +02:00
c4628d4f78 Update usages of form factory
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
ccf5210dbd Add missing escaping to phpstan ignore pattern
[MAILPOET-2898]
2020-06-17 14:37:06 +02:00
0d4abd9bce Mark Newsletter trash,restore,delete as deprecated and use bulk methods instead
[MAILPOET-2898][MAILPOET-2758]
2020-06-17 14:37:06 +02:00
a8d11bf045 Replace Newsletter delete,trash,replace by new bulkMethods
[MAILPOET-2898][MAILPOET-2758]
2020-06-17 14:37:06 +02:00
6ee891a387 Add scheduled task subscriber entity and repository
[MAILPOET-2898]
2020-06-17 14:37:06 +02:00
fb238cd531 Fix errors discovered by doctrine-phpstan
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
f8d1439b31 Skip templates in PHPStan for now due to extreme slowness
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
f66a8d6af3 Check Doctrine entities by PHPStan
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
df6bf552b1 Prefix phpstan-doctrine for MailPoetVendor
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
fb2e1c707e Update phpstan and phpstan-doctrine
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
4862d42e8b Test all supported save fields
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
688338bcdf Refactor save controller tests, use Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
0e5e95310f Set newsletter segment data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
260b8931f7 Fix phpstan config
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
a873f9846c Move the MailChimp test to integration suite
[MAILPOET-2843]
2020-04-16 12:57:34 +02:00
dc55fb64cd Set even 30 days old newsletters as scheduled when reactivating an email
[MAILPOET-2709]
2020-04-01 16:49:27 +02:00
a0ee6dadba Ignore PHPStan error about EntityManager::getReference() type for now
PHPStan's Doctrine extension doesn't recognize our prefixed version of Doctrine.
We'll need to address this separately.

[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
72af35e2af Rewrite newsletter template model test to Doctrine repository test
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
cf88ada402 Rewrite old tests to NewslettersListingRepository tests
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
ecc1d68b5b Check if bounce sync is scheduled within 42 hours for all emails when sending
[MAILPOET-2705]
2020-02-20 17:34:07 +00:00
024ac52fb9 Add phpstan-doctrine extension
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
f980cb00d8 Update PHPStan
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
4be306230b Fix findOne() method annotation
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
8a17733698 Add WC_Session stub for PHPStan
[MAILPOET-2570]
2020-02-03 16:29:35 +01:00
053acbce23 Remove no longer needed PHPStan extension
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
wxa
0fa072b392 Clean up ignored PHPStan errors [MAILPOET-2577] 2020-01-23 12:46:52 +00:00
4e75bcd296 Implement API for Premium plugin installation and activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
edb07f03ac Convert variable names to camel case in PHPStan baseline files
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
wxa
ee4246eaf0 Ignore errors after fetching models with ORM and a few misc errors [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
17b578a09f Fix undefined classes and functions [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
091e17ce0c Add PHPStan to integration tests, fix a class name conflict [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00