Roardom
604b7e1937
add: spell check ci
...
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +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
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
99d1cc8d94
PHP Style Change (Laravel Pint CI)
2023-12-16 13:12:44 +00:00
Rhilip
ede6ba3edc
pref: use php array_is_list when bencode
2023-12-16 21:11:53 +08:00
HDVinnie
3f03214e39
PHP Style Change (Laravel Pint CI)
2023-11-07 23:54:38 +00:00
HDVinnie
656647649f
Revert "cleanup: pt.2"
...
This reverts commit 33d9927abd .
2023-10-12 23:11:20 -04:00
HDVinnie
33d9927abd
cleanup: pt.2
2023-10-12 22:41:46 -04:00
HDVinnie
b3f0386149
cleanup: pt.1
2023-10-12 22:30:52 -04:00
Roardom
2085656e76
fix: various larastan helper issues
2023-08-25 07:21:45 +00:00
Roardom
4c4583bc86
add: torrent folder name to files list
2023-07-30 04:29:29 +00:00
Roardom
9d4789ba91
refactor: require whitespace before statements
2023-07-07 00:27:13 +00:00
Roardom
ea9fd6c9c9
update: swap infohash from ascii-encoded hex to binary
2023-04-08 08:02:04 +00:00
HDVinnie
6d079fd19c
update: bencode helper
...
- remove deprecated constant FILE_BINARY
2023-02-09 20:30:54 -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
c0eeef8808
update: helpers
2022-02-28 04:59:08 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
HDVinnie
ab1f7e0bbd
update: torrent upload validation
...
- reject v2 and hybrid torrent files
2022-01-06 14:40:26 -05:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04:00
HDVinnie
1a3718f6d6
refactor: bencode helper
2020-12-30 01:16:10 -05:00
HDVinnie
14d78d445f
refactor: redundent else
2020-12-02 21:00:02 -05: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
41b617bb2e
update: laravel 7 support
2020-07-19 17:33:50 -04:00
HDVinnie
442720eb54
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-07-15 23:12:48 +00:00
HDVinnie
64807a6f7a
refactor: remove always else
2020-06-30 16:52:53 -04:00
innocente205
5993f80a00
(Fix) Bencode.php
...
Allow negative integers
2020-05-10 13:13:13 +07:00
HDVinnie
4afdfbdade
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-04-19 05:31:13 +00: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
29cd6e8eb6
refactor: use identical over equal with same type
2020-02-16 21:04:19 -05:00
HDVinnie
84e42542f4
refactor: array push to array assign
2020-02-13 13:18:59 -05:00
HDVinnie
c8d953a3ad
Merge branch 'master' into development
2020-02-12 18:03:21 -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
8d72989943
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-02-12 17:41:17 +00: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
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
Laravel Shift
dcc003602b
Adopt Laravel coding style
...
The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.
However, Shift allows you to customize the adopted coding style through
the [.shiftrc][1] file by using your [PHP CS Fixer][2] config.
[1]: https://laravelshift.com/shiftrc-configuration-file
[2]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
2019-05-09 00:04:58 +00:00
HDVinnie
13952ae23f
(Fix) TorrentTools + Bencode Namespace 🐛
2019-03-19 15:13:44 -04:00
HDVinnie
1e40db9cf0
(Update) Relocate TorrentTools + Bencode To Helpers 🚀
...
- these are better fit as helpers and not a service.
2019-03-19 13:44:19 -04:00