Commit Graph

36 Commits

Author SHA1 Message Date
a7fe876180 Fix PHPStan undefined property error introduced after update to version 0.12.83
This commit fixes the following PHPStan error what started happening
after the update to version 0.12.83. It seems that our model classes
work with properties using both snake_case and camelCase names, so that
is why the change made here doesn't affect the modified unit test.

```
 ------ ---------------------------------------------
  Line   tests/integration/Models/SubscriberTest.php
 ------ ---------------------------------------------
  740    Access to an undefined property
         MailPoet\Models\Subscriber::$deleted_at.
 ------ ---------------------------------------------
```

[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
54727ad9a2 Fix integration tests to work with updated codeception/verify
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
2428cf2d9d Remove old delete and trash tests in Subscriber
[MAILPOET-3033]
2020-10-07 14:26:54 +02:00
be4fb96dc5 Add tests to import for new properties
Fixes:#2968
[MAILPOET-2957]
2020-08-10 15:16:31 +02:00
wxa
637a56c92a Fix storing custom field dates in different formats [MAILPOET-2881] 2020-05-07 09:54:45 +02:00
94afd66325 Convert properties not caught by Code Sniffer to camel case
[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
wxa
cde877122a Fix various undefined variables and argument types [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
bd1a84c5c3 Fix types by casting [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
1d757e1374 Fix undefined properties in tests [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
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
40c87d50fe Remove old Setting model from integration tests
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
wxa
70c73295d7 Fix bulk trashing/deletion of subscribers with wp_user_id = 0 [MAILPOET-2489] 2019-11-06 16:22:37 +00:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
ab63bde9ed Add LinkTokens service
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
09db91bc33 Always use length of database link_token for token validation
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
1eecd65b3e Add unsubscribe token to new subscribers and newsletters 2019-07-31 16:50:44 -04:00
55b4635051 Update last_subscribed_at on a change
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
ae70f7ae9b Display subscribers with correct status
[MAILPOET-1944]
2019-04-29 06:52:36 -04:00
8b6fd78cfa [MAILPOET-1898] 2019-04-23 12:33:15 -04:00
wxa
7528f0f52b Move subscribe() method to a separate class an make it non-static [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
3a7ea60d3f Refactor MailPoet\Model to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
4c6e76dd44 Add SettingsController cache reset to integration tests
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
wxa
a4ff9822ad Add WooCommerce customers list [MAILPOET-1721] 2019-01-17 21:42:57 +03:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00