Commit Graph

87 Commits

Author SHA1 Message Date
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
f6c301f38f Add remaining found errors to PHPStan baseline
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
27a842b037 Exclude error on expect() function
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
d44fef7528 Exclude new PHPStan level 6 for now
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
ff7c63f0b3 Upgrade PHPUnit5CompatExtension
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
4a12051e81 Fix PHPStan paths
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
f142bd6695 Upgrade PHPStan to 0.12
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
wxa
f9ec25213d Always fetch styles from WooCommerce [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
d3ce76f88d Use instance of checks for detecting WCProduct
[MAILPOET-2586]
2019-12-19 18:08:26 +00:00
07fc94f046 Fix Carbon-related problems reported by PHPStan
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
8fb58450ed Use inferPrivatePropertyTypeFromConstructor
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
16db49cfa3 Mark constant as dynamic
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
wxa
393b377437 Fix colors and font sizes, add default logo, remove CTA button [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
01eb608303 Remove no longer present errors from PHPStan baseline
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
1b3a74ace1 Run PHPStan on level 7
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00