Commit Graph

116 Commits

Author SHA1 Message Date
3845f400b1 Add parameter for php version to static analysis command
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
0ee843723e Enable unused ignoredErrors reporting for PHPStan
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
90eb894b72 Refactor acceptance tests splitting to respect coding style
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
9473579766 Fix type issues in tests
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
9e9063414f Ignore some PHPStan errors in libs only for PHP7
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
ec19b565f5 Update PHP Stan
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
c0c9b11c54 Add workaround for removed codeception/robo-paracept
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
a62ad4f70a Update robo and codeception and remove outdated deps
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
12cc818f8b Fix required after optional parameter in doctrine config factory
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
06dca19738 Add magic getters for backward compatibility
[MAILPOET-3333]
2020-12-03 14:11:53 +01:00
688755a9bf Handle WP source path config for different environments
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
24fa5bd6ca Adjust integration tests analysis configuration
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
8f73eb785b Load stuff that is needed in runtime during PHPStan analysis
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
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