Commit Graph

78 Commits

Author SHA1 Message Date
Rostislav Wolny
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
Rostislav Wolny
16a0d54a31 Remove unsecure string from error message
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
d13f63b3e2 Fix other minor type issues in libs
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
82f666c488 Fix type issues in Doctrine Driver
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
386f0c66b4 Don't use transactions for statements with implicit commit
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
12cc818f8b Fix required after optional parameter in doctrine config factory
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Pavel Dohnal
a751a2a459 Add custom Doctrine Driver
[MAILPOET-3150]
2020-11-16 09:41:13 +01:00
Pavel Dohnal
fcbfd6fb68 Refactor shortcode categories to doctrine
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
Pavel Dohnal
95cf33b176 Create a PSR cache for validator
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
Pavel Dohnal
e2d6fb77ce Create a PSR cache for validator
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
Pavel Dohnal
79d90514e2 Update symfony validator
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
Rostislav Wolny
2f1ea71e73 Fix Doctrine deprecation warnings in lib
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
Rostislav Wolny
bf7bd6d2d9 Fix other phpstan errors in lib
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
Rostislav Wolny
96f2bfaa20 Add entity lifecycle listener for emoji sanitisation
[MAILPOET-3196]
2020-10-06 17:36:44 +02:00
Rostislav Wolny
fab74d82dc Disable ONLY_FULL_GROUP_BY mode for db connection
[MAILPOET-3115]
2020-08-27 13:56:57 +02:00
Rostislav Wolny
a7650bf22c Keep ONLY_FULL_GROUP_BY restriction for plugin DB connection
[MAILPOET-2630]
2020-07-29 13:50:54 +02:00
Rostislav Wolny
a8d11bf045 Replace Newsletter delete,trash,replace by new bulkMethods
[MAILPOET-2898][MAILPOET-2758]
2020-06-17 14:37:06 +02:00
Pavel Dohnal
2371913473 Add more details to a json parse error
[MAILPOET-2935]
2020-06-08 15:37:07 +02:00
Jan Jakeš
e69188c5a0 Map bigint DB type to "int" (not as DBAL historically does to "string")
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Pavel Dohnal
489fe25fdd Make sure the values have correct types
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
Jan Jakeš
770a831d3d Add SafeToOneAssociationLoadTrait
[MAILPOET-2793]
2020-03-18 18:24:38 +01:00
Pavel Dohnal
521b473755 Sanitize database values before they are decoded
[MAILPOET-2674]
2020-03-11 16:38:52 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Rostislav Wolny
7568d57757 Introduce serialized_array type
[MAILPOET-2710]
2020-02-18 08:11:59 +00:00
Jan Jakeš
2ec85eee7b Fix mock naming and strings in integration tests
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
7a66366ab5 Convert property names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
25fe3aba54 Fix easy errors found by PHPStan
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
Jan Jakeš
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Pavel Dohnal
3a9a98b842 Annotate the method correctly
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
7a0eb82aad Use better code for transactions
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
6b338a14fc Use doctrine in stats notifications worker
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
c6c7320737 Use Doctrine in Scheduler
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Rostislav Wolny
152d4c6251 Convert empty string to null in json type property
[MAILPOET-2504]
2019-10-29 15:17:29 +00:00
Jan Jakeš
59480cdfb2 Move ValidationException under Validator namespace
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
2bdf8643fc Use factory to create Validator, reuse AnnotationReaderProvider
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
292a96953c Set MetadataCache read-only flag from AnnotationReaderProvider
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
68c1b62df5 Extract annotation reader setup to a provider class
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
0bfeaab160 Make MetadataCache compatible with both Doctrine and Validator
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
730f640cc3 Integrate symfony/validator with Doctrine entitites
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
48802e47c4 Use namespaced Doctrine annotations
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Amine Ben hammou
d43ae6d350 Remove usage of @ operator
[MAILPOET-2357]
2019-09-18 10:46:44 +02:00
Pavel Dohnal
10476ebd8f Create Feature Flags Repository
[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
Jan Jakeš
0aa1d65822 Auto-regenerate Doctrine metadata in dev mode
[MAILPOET-2298]
2019-08-23 15:34:10 -04:00