Commit graph

7 commits

Author SHA1 Message Date
Umherirrender
bc1af02d62 upload: Add missing documentation to class properties
Add doc-typehints to class properties found by the PropertyDocumentation
sniff to improve the documentation.

Once the sniff is enabled it avoids that new code is missing type
declarations. This is focused on documentation and does not change code.

Change-Id: I07ce1f37d1bfb18d6e73dd008a712b3ca60a80e9
2024-09-04 20:09:32 +00:00
Bartosz Dziewoński
dba4096276 Reparent trivial subclasses of MWException
Bug: T328220
Change-Id: If10bdd89859a273817ab471458ca787319c77f7b
2024-01-17 04:32:33 +01:00
Bartosz Dziewoński
d0becf9651 UploadStashException: Remove redundant doc comments
Change-Id: I819de8dfc40526544f9bf129495424625fc0cdc9
2023-12-14 13:29:11 +00:00
Daimona Eaytoy
02a28663c1 Fixes for the phan upgrade, part 2
Change-Id: I1c6beba4ff6132b07cbf0a6c96be056509aa5eff
2022-10-08 15:40:29 +02:00
daniel
102c9573b3 Mark exceptions as @newable
Exceptions classes are nearly always value objects, and should in most
cases by newable.

Bug: T247862
Change-Id: I4faa8ec6ea8bc44086cfc8075b32d10eea61e9df
2020-07-08 17:51:38 +00:00
Reedy
9f2ffdfbd4 Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions
Change-Id: I78b3315f26ab91b6b443f5b028a635552f82f5a3
2019-05-11 02:44:26 +01:00
Umherirrender
b0a75622d3 Move upload stash related exceptions to own files
Change-Id: I23e81af2f1bf73f5cd78a01bcc2fcebb4c4ea038
2019-02-06 22:22:01 +01:00