Rodrigo Primo
963da3bf16
Refactor the method processTaskStrategy() of some SimpleWorker child classes
...
This commit refactors the method processTaskStrategy() of some
SimpleWorker child classes to use Doctrine instead of Paris. In this
commit are included all the classes that it was only necessary to change
the method signature as they were receiving a ScheduledTask object as
the first parameter but didn't use it. Now they receive a
ScheduledTaskEntity object as the first param.
[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
57c80ea763
Change SimpleWorker::prepareTaskStrategy() to use Doctrine
...
This commit changes the method prepareTaskStrategy() in the class
SimpleWorker and all its child classes to use ScheduledTaskEntity
instead of ScheduledTask.
[MAILPOET-2996]
2021-10-04 13:25:44 +02:00
Jan Lysý
c9004553c3
Remove phpstan errors from integration Cron tests
...
[MAILPOET-3235]
2021-01-18 14:39: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
wxa
6ed3915b1a
Use a wrapped function for current_time [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
wxa
dec7bc24a5
Fix undefined properties in models [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
wxa
ce719433e8
Fix constructors [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
Amine Ben hammou
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
a8f1cd15bf
Fix Migration worker tests
...
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
0e964de6d4
Move nesbot/carbon to vendor-prefixed
...
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Jan Jakeš
60889c53f4
Add Idiorm to MailPoetVendor namespace
...
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
382df5e034
Pass cron worker timer in process() method instead of a constructor
...
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ac794aaca2
Use processTaskStrategy() instead of custom logic in Migration worker
...
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
cd93940940
Make static methods in cron workers non-static
...
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
40c87d50fe
Remove old Setting model from integration tests
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
1b5b9d89ff
Autofix namespace declaration spacing
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Pavel Dohnal
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
b9af15e19f
Enforce array trailling commas
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Ján Mikláš
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
4c6e76dd44
Add SettingsController cache reset to integration tests
...
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
Amine Ben hammou
a46d98ec44
Refactor WPFunctions to be injectable with DI
2018-12-12 16:43:52 +01:00
wxa
87e515b89d
Move current unit tests to integration tests
2018-10-29 17:57:47 +03:00