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
bcea35be32
refactor: use mass assignment syntax in console commands
...
Cleaner code
2024-08-18 06:14:41 +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
64a60089d9
refactor: treat sprintf as native function
...
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +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
2e57262e97
fix: strict types phpstan errors
2024-05-23 15:38:35 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
3b550fad71
Merge pull request #3788 from HDInnovations/Commands
...
(Update) Commands
2024-05-06 16:08:59 -04:00
HDVinnie
99f5f33283
update: commands
2024-05-06 15:54:19 -04:00
Jay Sizzla
af1c558b4c
Don't loop notifications twice
2024-05-03 16:05:45 +02: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
Roardom
05ad4c37b9
add: external tracker support
2023-03-27 04:17:30 -05: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
Roardom
985423e267
update: announce
2023-01-04 05:46:02 -06: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
7ff788b323
update: warning system
2022-01-10 06:31:43 -05:00
HDVinnie
cde0688eac
update: auto warnings
2022-01-10 06:08:29 -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
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
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
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