Roardom
8b27413fe8
refactor: make laravel eloquent models final
...
We never plan to extend a model, and value composition over inheritance. We need to add the AllowDynamicProperties warning to prevent PHPStan errors that arise with pivot relations (https://www.github.com/larastan/larastan/issues/2256 ).
2025-10-29 10:19:39 +00:00
Roardom
3988eaaf70
update: model phpdocs
...
- `use` the relation types
- Use sentence case
- Write better summaries similar to laravel's documentation (don't just repeat the type and the model)
2025-09-20 01:35:37 +00:00
Roardom
ad8b0da80b
fix: phpstan property.phpDoctype
...
Larastan uses a different doctype for these properties
2025-03-02 07:11:25 +00:00
Roardom
872d28d9c0
fix: larastan relations
2024-08-09 07:33:56 +00:00
HDVinnie
3ad3bb992b
PHP Style Change (Laravel Pint CI)
2024-07-19 03:43:14 +00:00
HDVinnie
8ad0097fc9
fix: HasFactory types
2024-07-18 23:42:13 -04:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
1e3b036e03
fix: type of fillable model attribute
2024-05-18 08:43:25 +00:00
HDVinnie
8a03bec818
add: model docblocks
...
- this resolves some larastan property issues but in return has revealed quite a few issues with our castings and such. baseline has been regenerated so we can work through them. The properties in docblocks are in order and match everything in DB schema wise.
2024-02-07 16:39:43 -05:00
Roardom
f2066f4441
fix: add type hints to models
2023-08-26 07:43:07 +00:00
Roardom
3af1effaad
fix: fillable type
2023-08-06 02:21:15 +00: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
ebb5b72c2b
fix: model type hints
2022-01-08 16:26:53 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
HDVinnie
18c44a3613
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2021-09-13 17:53:21 +00:00
HDVinnie
8b333880de
cleanup: multiline comment opening/closing
2021-05-15 13:01:30 -04:00
Laravel Shift
fac1da0b42
Shift cleanup
2020-09-08 22:25:06 +00:00
Laravel Shift
add31768f5
Shift to class based factories
2020-09-08 22:24:30 +00:00
HDVinnie
01093d711c
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-07-28 16:54:24 +00: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
HDVinnie
ef0b9e0203
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-13 14:36:38 +00:00
HDVinnie
2a0affa30d
(Update) Model PHPDocs 🚀
2019-11-11 20:52:59 -05:00
HDVinnie
e0379e5b95
(Add) Audit System 🆕
...
- filtering to follow
2019-11-06 06:42:17 -05:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
Max Kovalenko
f42264247f
StyleCI fix
2019-05-22 10:24:30 +03:00
Max Kovalenko
1a87a96e55
generated model phpdocs
2019-05-22 09:41:19 +03:00
Laravel Shift
46ddd8be75
Namespace models under App\Models
2019-02-22 03:22:57 +00:00