HDVinnie
428bf63910
add: base donation system
2024-09-12 13:03:38 -04:00
Roardom
a7a72c1807
update: only select necessary database records for console commands
2024-08-18 10:10:07 +00:00
Roardom
2b49384488
refactor: use early returns in console commands
...
Reducing indentation results in cleaner code and prevents bugs like #3802 .
2024-08-18 05:03:09 +00:00
Roardom
7af1a9963c
refactor: don't call ->toDateTimeString() on carbon instances
...
Eloquent already does this for us automatically by calling __toString() on Carbon instances with the default format being the same as the mysql timestamp format.
2024-08-17 09:20:08 +00:00
Roardom
e9fe52ac6d
update: use composite primary key for history
2024-07-23 06:24:57 +00:00
Roardom
14cb175a4e
update: save prewarned timestamp
...
Allows users to more easily see when they were prewarned in case they no longer have their notification.
It was decided to discard previous prewarn values and have the system prewarn users again if applicable.
It was decided that keeping the history of prewarn values wasn't valuable for this migration.
2024-06-23 23:52:22 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
99f5f33283
update: commands
2024-05-06 15:54:19 -04:00
HDVinnie
3240dd696a
update: notifications
2024-04-15 14:26:10 -04:00
HDVinnie
3f03214e39
PHP Style Change (Laravel Pint CI)
2023-11-07 23:54:38 +00:00
HDVinnie
88d114c526
PHP Style Change (Laravel Pint CI)
2023-08-30 09:39:04 +00:00
Roardom
8127734979
fix: various larastan command issues
2023-08-25 07:58:38 +00:00
Roardom
771994af31
fix: history updates
...
Only update the history updated_at column on announces
2023-05-04 07:57:46 +00:00
HDVinnie
f4ebee885c
update: lint
2023-02-03 22:23:00 -05: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
599730aa82
update: warning commands
2022-12-19 11:49:45 -05:00
HDVinnie
d21524f08b
Merge branch '6.x.x' into Warnings-System
2022-09-09 12:05:40 -04:00
HDVinnie
33494ca5ce
refactor: simplify pointless boolean expressions in ifs
2022-08-25 19:17:06 -04:00
StyleCI Bot
e292545306
Apply fixes from StyleCI
2022-05-31 22:06:07 +00:00
Shift
be2d37ed6e
Use Illuminate\Support\Carbon
2022-05-31 22:05:34 +00:00
HDVinnie
2f4406238f
Merge branch '6.x.x' into Warnings-System
2022-01-10 20:33:00 -05:00
HDVinnie
98521378d2
chore: phpdoc blocks
2022-01-10 17:46:43 -05:00
StyleCI Bot
b40e9a950d
Apply fixes from StyleCI
2022-01-10 16:14:26 +00:00
HDVinnie
38e4f6eea0
update: auto pre warnings
2022-01-10 06:11:25 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
Alkl58
c98e7eabf0
Fix Attempt to read property "size" on null in AutoPreWarning
2021-12-05 18:13:20 +01:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04: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
e7ccde0190
refactor: rename property to match type
2020-07-22 14:50:41 -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
408bfafc3e
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-03-05 15:47:30 +00:00
HDVinnie
4b9c006a05
chore: phpdoc blocks cleanup
2020-03-05 10:46:14 -05:00
HDVinnie
ad3ec8de19
tests: console commands
2020-02-25 13:01:48 -05:00
HDVinnie
605c337204
refactor: encapsed strings to sprintf
2020-02-17 13:52:20 -05:00
HDVinnie
c5214fd487
chore: styleci
2020-02-13 11:35:20 -05:00
HDVinnie
b275e9ba82
refactor: combine nested if statements
...
### `Combine If Rector`
Merges nested if statements
```diff
class SomeClass {
public function run()
{
- if ($cond1) {
- if ($cond2) {
- return 'foo';
- }
+ if ($cond1 && $cond2) {
+ return 'foo';
}
}
}
```
2020-02-13 11:26:54 -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
Innocente205
c04e862d01
Correct minor spelling
2019-11-13 11:59:39 +07:00
HDVinnie
d889971834
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
HDVinnie
b492c52ba5
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-06-20 01:15:38 +00:00
HDVinnie
e0e1aa924b
Apply fixes from StyleCI
2019-02-22 13:16:32 +00:00
HDVinnie
3c87845e54
(Update) Namespace models under App\Models 🚀
2019-02-22 08:15:41 -05:00
HDVinnie
0850390860
(Update) Standardize Where Expressions 🚀
...
- using `Model::where('download', '=', 1)` over`Model::where('download', 1)`
- decided is easier for new devs to understand.
- thanks to @werrpy for helping with the regex to mass update.
2018-12-16 18:32:58 -05:00