Roardom
868ad35aa4
refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
...
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.
Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
Roardom
e4ac5caa30
fix: use bool for bot active instead of int
...
Also update docblocks. Related: #4085 .
2024-10-20 10:26:00 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
0ef7cc235a
fix: phpstan level 7 controller errors
2024-01-07 17:13:20 +00:00
Roardom
b4fd0afc26
refactor: use route model binding for staff bots
2023-07-07 03:18:13 +00:00
Roardom
5890ebc749
refactor: miscellaneous staff controller refactors
2023-07-07 00:28:47 +00:00
Roardom
738bc7f2d1
refactor: single line delete queries
2023-07-07 00:26:17 +00:00
Roardom
d2e36c368e
refactor: reduce temporary variables passed to views
2023-06-19 23:25:40 +00:00
Roardom
b5493c5642
refactor: swap where('id', '=', ) for find()
2023-06-19 23:18:40 +00:00
HDVinnie
f4ebee885c
update: lint
2023-02-03 22:23:00 -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
Roardom
f1d41ee5f0
refactor: move chat bot request to form request
2023-01-08 05:04:49 -06:00
HDVinnie
1dd60acb6d
PSR12 Linting
2023-01-07 04:44:46 +00:00
Roardom
54220dcfc8
remove: slugs
2023-01-06 16:05:53 -06:00
HDVinnie
2ca429c4ce
Revert "PSR12 Linting"
...
This reverts commit 7e65e1d589 .
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589
PSR12 Linting
2022-09-11 23:50:41 +00:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
50b2e4e278
fix: chat bots
2022-01-10 17:00:06 -05:00
HDVinnie
d3abd28925
update: type hints
2022-01-08 15:35:53 -05:00
HDVinnie
77ec35bea5
chore: apply the laravel code style linter
2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00
clandestine8
a737482e79
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
321847e067
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-05-16 02:41:53 +00: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
e92aabae41
update: phpdoc blocks
2020-12-02 21:27:04 -05:00
HDVinnie
5aac6a8f04
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-07-22 20:57:33 +00:00
HDVinnie
0733269867
update: phpdoc blocks
2020-07-22 16:57:13 -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
bf76798bd3
refactor: nullable compare to null
2020-04-24 11:31:12 -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
9a893662de
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
c8f2390c4d
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
d889971834
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
da30d2a706
(Update) CRUDDY PT.8 🚀
2019-10-29 20:26:54 -04:00