Roardom
005eb62d59
refactor: simplify UpdateLastAction middleware
...
Removes second return statement.
2025-06-18 04:45:47 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
8e1b51a263
fix: batch user last action updates with redis
...
If there are no users in the list, null is returned, so we have to check against null.
Since we cache users for 30 seconds, checking their last action time is pointless.
2023-07-20 05:02:46 +00:00
Roardom
01ef9e29ff
update: batch user last action updates with redis
2023-07-20 01:17:00 +00:00
HDVinnie
3650900c97
update: lint
...
- not_operator_with_space to false
2023-02-03 16:01:29 -05:00
HDVinnie
472c820f99
update: UNIT3D linting
...
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
HDVinnie
98521378d2
chore: phpdoc blocks
2022-01-10 17:46:43 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
HDVinnie
3407075214
refactor: better php8 usage
...
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
a975116218
refactor: preslash simple functions
...
- Add pre-slash to short named functions to improve performance by almost 30%
- @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
78608a4666
refactor: space after sole ! operators
...
- There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
780e0c1f0e
chore: update license block
2020-02-12 15:05:34 -05:00
HDVinnie
e47afe4ab4
chore: styleci
2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c
chore: update license block
...
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940
chore: update license block
2020-02-12 14:45:59 -05:00
HDVinnie
9a893662de
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
HDVinnie
73048dadb9
(Revert) UpdateLastAction Middleware ⏪
2019-08-01 13:15:43 -04:00
HDVinnie
ff8386ec6f
(Update) UpdateLastAction Middleware 🚀
2019-08-01 08:18:07 -04:00
Jack Price-Burns
de427bc728
(Fix) StyleCI
2019-06-17 19:27:37 +01:00
Jack Price-Burns
bd8f28d168
(Fix) Slow online users section on home page 🐛
2019-06-17 19:21:15 +01:00