Commit Graph

18 Commits

Author SHA1 Message Date
Spine
2dcefd7e2b more phpcs rules 2025-02-24 14:37:55 +01:00
Spine
e65e4f9453 pass a user object to the removal pm method 2024-08-02 13:26:00 +02:00
Spine
338a1feb54 apply phpcs PSR2.Methods.FunctionClosingBrace PSR12.Classes.ClassInstantiation 2024-04-07 19:46:30 +02:00
Spine
0ec7ed5836 unit test torrent reports 2024-01-31 09:38:39 +01:00
Spine
f772d17e25 update rector, protect the consts! 2024-01-31 09:38:38 +01:00
Spine
335451c534 unit tests for torrent flags 2023-11-20 20:52:22 +01:00
Spine
da510aed84 further adventures in phpstanistan 2023-10-15 17:49:58 +02:00
Spine
ba596c70e4 use 'static' as return type for fluid methods 2023-09-19 13:22:08 +02:00
Spine
1efbc2ea15 refactor tableName() as a class constant 2023-09-19 13:21:25 +02:00
Spine
b0a4389a61 for certain report types, only reporter and staff see label 2023-09-19 13:15:43 +02:00
Spine
95b0bdbea0 the torrents_details_%d cache key has been retired 2023-06-28 09:49:53 +02:00
Spine
b108334c94 BaseObject::$info may be set to null 2023-05-01 19:01:29 +02:00
Spine
fa68a7ddfd flush() returns itself 2023-02-03 11:13:55 +01:00
Spine
113645e022 deleted torrents are first-class objects 2023-02-03 11:13:54 +01:00
Spine
c0b1c6a680 refactor torrent flag tables (bad files, lossy master etc) 2023-02-03 11:13:54 +01:00
Spine
3986ec9d82 url() is a BaseObject method 2023-02-03 11:13:53 +01:00
Spine
e0c9a56b5b remove private moderator context 2023-02-03 11:13:53 +01:00
Spine
c95851efb1 move ReportsV2 to Torrent\Report and use Torrent\ReportType 2023-02-03 11:13:53 +01:00