Commit graph

203 commits

Author SHA1 Message Date
65abcea0b8 Fixup. 2021-05-16 06:27:21 +02:00
6ec42d61e5 Updated dependencies 2021-05-16 05:01:03 +02:00
7a344067d9 Now you can do $blog->setUser(User $user) instead of $blog->setUserId($user->getUserId), for example. 2021-05-07 00:37:11 +02:00
7706519a3b remove bad docblock. 2021-05-06 22:19:55 +02:00
c5f001f60d remove bad docblock. 2021-05-06 22:18:14 +02:00
803de579b7 Code Of Conduct. 2021-05-06 22:15:24 +02:00
a563e01b76 Working Collections. Targeting PHP8.0. 2021-05-06 22:15:01 +02:00
7391011edd Abstract classes shouldn't return self, but return the class on top. 2021-02-16 12:05:02 +01:00
d3e0b8457f Add helper functions to initialise transactions 2021-02-13 22:40:29 +01:00
3829a5576a php-cs-fixer says this is how it works now. 2021-01-24 22:08:26 +01:00
f0ea1058f0 Bugfixed getWhereOne functionality. 2021-01-24 00:02:16 +01:00
dc4222165c Add single-item lookup using a Laminas Where. 2021-01-23 23:56:13 +01:00
d3743c621a Fix whitespace 2021-01-23 23:55:55 +01:00
c0b2cf0cd7 phpstan says this isn't needed any more. 2021-01-22 07:49:13 +01:00
cc2e7031c9 php-cs-fixer doing its thing. 2021-01-22 05:20:21 +01:00
5654ffbf64 Set port default 2020-12-17 05:24:49 +01:00
2c00609f6a Improve return types to satisfy phpstan 2020-12-04 13:09:05 +01:00
c2499fa240 Make PHPStan Happy. 2020-12-03 11:53:06 +01:00
7bd76f7c87
Improving phpstan-happiness. 2020-11-27 21:41:53 +01:00
ad491d1ffe
Move some mysql connection setup to only occur IF the database connection is being demanded. 2020-11-27 10:43:45 +01:00
9b7618493b
Call __setUp on __post_load and __pre_save 2020-11-23 17:03:30 +01:00
2fe28de61d
Add __pre_load() and __post_load() functions 2020-11-23 13:12:19 +01:00
2d9ea847c4
make clean strikes again 2020-11-22 18:12:08 +01:00
6df3256c0f
Surpress warnings when a column has been added since the data was put into Redis. 2020-11-22 11:55:15 +01:00
2cac327dfc
Load bootstrap.php via composer.json instead of explicitly. 2020-11-22 08:41:01 +01:00
9953fd7e4a
dockerised mysql actually goes down briefly after startup the first time, so we need a double-wait. 2020-11-19 03:52:09 +01:00
d4cd6df886
Update to use our standard variables. 2020-11-19 03:30:43 +01:00
da492c940f
Add wait-for-mysql script. 2020-11-19 03:19:15 +01:00
dc7080f5dc
Getting closer... 2020-11-13 08:26:49 +01:00
4f7f39d8be
getManyByWhere and countByWhere implementation 2020-10-05 14:43:52 +02:00
16a2635f74
Improve cache code 2020-10-02 14:43:21 +02:00
0f8de863c9
Refactor to create getManyWhere 2020-10-02 14:41:35 +02:00
123c95f8f1
Remove now-redundent variable declaration 2020-10-02 14:12:22 +02:00
78652ecfb1
Improved docblocks + offset code 2020-10-02 14:02:56 +02:00
2e50238fde
Improved docblocks + offset code 2020-10-02 14:00:20 +02:00
56f9dd0c26
Improved caching behaviour 2020-10-02 11:28:31 +02:00
f72e996e3b Index as a bin is a pain in the ass right now. It can be a varchar32 for the meantime. 2020-09-28 20:27:14 +02:00
d687f96f18 Service tests pass now. 2020-09-28 20:01:07 +02:00
6c6e0c183b Fix pluralisation bug 2020-09-28 19:13:23 +02:00
d4fa0c3a4f Cleanup 2020-09-28 19:02:21 +02:00
576303f8ae Fix typo 2020-09-28 19:02:15 +02:00
235ee47d29 Turn database connections into singletons 2020-09-28 19:00:07 +02:00
b35f88ab52 fix issues returning datetimes (& nonsense) instead of carbons 2020-09-28 18:42:31 +02:00
ffaabf516e fix issues returning datetimes (& nonsense) instead of carbons 2020-09-28 18:36:12 +02:00
3b58791b78
Update cache check for multiple object storage. Improvement suggestions solicited. 2020-09-11 16:46:22 +02:00
0190fbe557 Make phpstan happier 2020-09-02 20:14:56 +02:00
3d837c6b22 Make phpstan happier 2020-09-01 18:52:53 +02:00
4200b04a9f Make phpstan happier 2020-09-01 18:31:46 +02:00
93b295d5da Make phpstan happier 2020-09-01 05:15:02 +02:00
13311415dd Make phpstan happier 2020-08-31 20:57:20 +02:00