26 Commits

Author SHA1 Message Date
Roardom
cead2c21a7 fix: ci from phpstan update 2025-05-21 17:10:28 +00:00
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
b368809753 update: remove phpstan nullsafe.neverNull rule
Imo, this is a bad rule. Although it is correct in that ?? will shortcircuit any null checks, I strongly prefer it being explicit as to which properties in the chain are nullable and which aren't. In fact, I wish we could enforce explit ?-> over -> when the property is nullable so that it's obvious which properties are null or not.
2025-03-06 10:06:30 +00:00
Roardom
ab0851f73a update: upgrade to phpstan 2 2025-02-24 17:19:39 +00:00
Roardom
fa35e4e5c0 add: use meilisearch to search torrents 2024-08-06 02:15:25 +00:00
HDVinnie
df8dfba336 update: larastan
- this moves to calebdw's version of larastan that includes quicker access to more "bleeding edge" features.
2024-08-04 20:10:20 -04:00
HDVinnie
a922de7561 update: phpstan reintroduce livewire 2024-07-19 02:21:28 -04:00
HDVinnie
5979e1eb46 add: phpstan caching 2024-07-19 02:00:20 -04:00
HDVinnie
464f439169 update: larastan setup 2024-07-19 01:33:55 -04:00
Roardom
f25311534f add: phpstan bladestan static analysis
Allows static analysis of blade templates.

I had to add semi-colons to the end of `@php` directives, and swap `@json` for `{{ @JS::from }}` otherwise bladestan would crash.
2024-07-09 11:59:42 +00:00
HDVinnie
c4bb03d9c2 update: phpstan.neon
- add routes back
2024-06-23 13:19:28 -04:00
HDVinnie
c4cd52e23b fix: multiple bugs
- adds laravel 11 casts support to phpstan https://github.com/larastan/larastan/blob/2.x/UPGRADE.md#upgrading-to-296-from-295
- fixes multiple bugs found by phpstan
- removes dead code in torrent filter trait
- ignores three new files in phpstan.neon temp until debugged for timeouts
2024-06-19 13:43:59 -04:00
HDVinnie
159a1e82fc update: phpstan 2024-03-03 23:43:19 -05:00
Roardom
80e6c5638f refactor: add public directory to phpstan 2024-01-08 12:43:15 +00:00
Roardom
7273888f02 refactor: add lang directory to phpstan 2024-01-08 12:38:34 +00:00
Roardom
b4cab8ea26 refactor: add database directory to phpstan 2024-01-08 12:38:34 +00:00
Roardom
0cbddb290b refactor: add bootstrap directory to phpstan 2024-01-08 12:38:34 +00:00
Roardom
000c497f63 refactor: add config directory to phpstan 2024-01-08 12:38:34 +00:00
Roardom
c9613f60b5 update: increase phpstan level to 7 2024-01-07 17:13:17 +00:00
Roardom
d31855082c refactor: exclude markdown parsers from phpstan since code is 3rd party
Probably should be changed to the original parsedown package so that it's automatically excluded from phpstan, but it hasn't had substantial updates since mid 2019. Switching instead to a maintained CommonMark MarkDown package in the future would be better to clean this up properly.
2024-01-03 04:28:50 +00:00
Roardom
71392a7826 refactor: support livewire computed properties in larastan 2024-01-02 23:00:04 +00:00
HDVinnie
25066bc56f Merge pull request #3347 from Roardom/nunomadura-to-larastan
(Fix) Replace `nunomaduro/larastan` with `larastan/larastan`
2024-01-02 17:53:25 -05:00
Roardom
bca33cc3bd fix: replace nunomaduro/larastan with larastan/larastan
They have moved to a different repository.
2024-01-02 22:33:14 +00:00
Roardom
bb5b471a31 update: enforce octane compatibility with phpstan 2024-01-02 22:11:15 +00:00
Roardom
aa5a164d8d update: phpstan baseline to level 6 2023-08-25 10:07:09 +00:00
Roardom
f665f36c0e add: larastan ci 2023-07-24 19:28:55 +00:00