Commit Graph

94 Commits

Author SHA1 Message Date
f77392ade4 Workaround doctrine serialisation issue in integration tests
Doctrine uses a default ProxyClassNameResolver but it is implemented
as an anonymous class and can not be serialised. This commit adds a custom
ProxyClassNameResolver that copies the anonymous one so that we avoid using the
anonymous fallback.
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
ff42762f93 Remove custom PDO driver
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
8af9b412ad Switch to built in PDO driver
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
c9603b76dc Update doctrine packages and fix metadata cache
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
ea1a946a7b Use WP connection db port if missing in config
[MAILPOET-3580]
2021-05-24 13:23:41 +02:00
8060a513ad Fix hitting metadata cache for proxy's interfaces
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
abca6729e8 Turn off ansi quotes directive
[MAILPOET-3579]
2021-04-28 09:36:01 +02:00
5af29f8aac Use Carbon::instance method in DateTimeTzToStringType
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
4631fb7320 Add SubscriberIP entity and repository
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
wxa
e55fa5e0b8 Remove unused imports
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
2360fe0a5a Check existence panels shen creating debugger
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
5045dd6aa7 Skip setting created at when is not empty in TimestampListener
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
fd5a9904c0 Add listener for updating lastSubscribedAt
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
7b893dfb51 Move multi insert functionality to a special repository
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
78d87120f3 Add method for multi insert or update to Repository
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
4390a1932d Remove phpstan errors from the rest of the code
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
35a25e119f Remove unnecessary type checks
These were added during initial testing of php8 compatibility using PHPStan and were false positive due PHPStan issues.
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
16a0d54a31 Remove unsecure string from error message
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
d13f63b3e2 Fix other minor type issues in libs
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
82f666c488 Fix type issues in Doctrine Driver
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
386f0c66b4 Don't use transactions for statements with implicit commit
[MAILPOET-3926]
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
a751a2a459 Add custom Doctrine Driver
[MAILPOET-3150]
2020-11-16 09:41:13 +01:00
fcbfd6fb68 Refactor shortcode categories to doctrine
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
95cf33b176 Create a PSR cache for validator
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
e2d6fb77ce Create a PSR cache for validator
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
79d90514e2 Update symfony validator
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
2f1ea71e73 Fix Doctrine deprecation warnings in lib
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
bf7bd6d2d9 Fix other phpstan errors in lib
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
96f2bfaa20 Add entity lifecycle listener for emoji sanitisation
[MAILPOET-3196]
2020-10-06 17:36:44 +02:00
fab74d82dc Disable ONLY_FULL_GROUP_BY mode for db connection
[MAILPOET-3115]
2020-08-27 13:56:57 +02:00
a7650bf22c Keep ONLY_FULL_GROUP_BY restriction for plugin DB connection
[MAILPOET-2630]
2020-07-29 13:50:54 +02:00
a8d11bf045 Replace Newsletter delete,trash,replace by new bulkMethods
[MAILPOET-2898][MAILPOET-2758]
2020-06-17 14:37:06 +02:00
2371913473 Add more details to a json parse error
[MAILPOET-2935]
2020-06-08 15:37:07 +02:00
e69188c5a0 Map bigint DB type to "int" (not as DBAL historically does to "string")
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
489fe25fdd Make sure the values have correct types
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
770a831d3d Add SafeToOneAssociationLoadTrait
[MAILPOET-2793]
2020-03-18 18:24:38 +01:00
521b473755 Sanitize database values before they are decoded
[MAILPOET-2674]
2020-03-11 16:38:52 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
7568d57757 Introduce serialized_array type
[MAILPOET-2710]
2020-02-18 08:11:59 +00:00
2ec85eee7b Fix mock naming and strings in integration tests
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
7a66366ab5 Convert property names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
3bbc8ea2af Convert variable names to camel case in strings
[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
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00