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
Roardom
758b943cba
update: breadcrumbs, secondary navigation, and navigation tabs
2022-05-29 10:54:27 -05:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
bdd63aa816
update: controllers
2022-02-28 05:06:55 -05:00
HDVinnie
96f0e1f32f
update: torrent history queries
2022-02-17 19:28:30 -05:00
HDVinnie
d3abd28925
update: type hints
2022-01-08 15:35:53 -05:00
HDVinnie
a2cdb5f5ff
update: type hints
2022-01-08 14:37:50 -05:00
HDVinnie
d7cb337f5f
chore: streamline query builder orderBy calls with asc and desc arguments
2022-01-08 03:34:17 -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
alkl58
2d11ab5b35
Revert ShoutBox Message Translation
2021-12-06 17:43:17 +01:00
alkl58
0bb9a93079
BonusController: German & French Translation
2021-12-06 12:38:57 +01:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00
HDVinnie
75c2686f68
update: phpdoc blocks
2021-09-28 12:16:43 -04:00
clandestine8
a737482e79
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
9f5fecca9c
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-08-11 19:52:46 +00:00
HDVinnie
e7215da7eb
update: bonus controller
...
- Simplify Bool Identical True
2021-08-11 15:21:01 -04:00
Alkl58
82417b7e24
Fix Incorrect Type in BonusController
2021-07-11 19:30:08 +02: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
edfbe0e14b
refactor: bonus controller
2020-12-30 01:26:06 -05:00
HDVinnie
824e6a9e02
cleanup: bonus controller
2020-12-28 23:43:14 -05:00
HDVinnie
f28e42549e
fix: bonus controller
2020-12-19 22:55:23 -05:00
HDVinnie
de86488112
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-12-18 05:20:06 +00:00
HDVinnie
467d31f10a
refactor: constructor promotions
2020-12-17 23:25:50 -05:00
HDVinnie
601e4c1f90
update: general cleanup
2020-12-03 00:16:23 -05: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
f69ecec866
refactor: code quality changes
2020-06-02 18:37:19 -04:00
Fionera
be16f3dbf9
Remove call to load all Users from Bon Store
...
This creates a out-of-memory exception if not fixed
2020-05-15 16:03:13 +02:00
HDVinnie
8c8e2865b2
refactor: camel case function naming to underscore
2020-04-24 11:04:24 -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
46aa876c06
refactor: add literal separator to numbers
...
- This is for PHP7.4 + only
- Adds an `_` as thousands separator in numbers
2020-04-14 20:25:07 -04:00
Ben Johnson
f853b3310a
fix: Fix regression
...
57212ca263 introduced the following change:
52c3d55794/app/Http/Controllers/BonusController.php (L489)
This broke Tipping as described in:
https://github.com/HDInnovations/UNIT3D-Community-Edition/issues/1193
2020-03-11 10:57:28 -04:00
Ben Johnson
a986681184
fix: Fix incorrect byte values
...
Aside from fixing the units, which mixed binary and metric
inadvertently, this commit adds an interface to a third-party library
that handles the conversion much more elegantly and provides flexibility
for future needs of a similar nature.
2020-03-06 13:24:23 -05:00
HDVinnie
a9574f2228
chore: phpdoc block cleanup
2020-03-05 11:23:49 -05: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
Ben Johnson
57212ca263
tests: Add BonusController tests
2020-02-28 10:57:28 -05:00
HDVinnie
605c337204
refactor: encapsed strings to sprintf
2020-02-17 13:52: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
c8d953a3ad
Merge branch 'master' into development
2020-02-12 18:03:21 -05:00
HDVinnie
780e0c1f0e
chore: update license block
2020-02-12 15:05:34 -05:00
HDVinnie
611fcd6bc1
refactor: if / else / elseif statements
...
- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
2020-02-12 12:34:34 -05:00
HDVinnie
740483ec86
(Revert) #1048 ⏪
...
- reverted until BON system is refactored.
2020-02-12 09:50:54 -05:00
HDVinnie
9a893662de
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
e77bf65da0
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:31:25 +00:00
innocente205
193beaa065
Update BonusController.php
2020-01-06 15:24:45 +07:00