mediawiki-extensions-Discus.../includes
Bartosz Dziewoński af68c835bb Update exception handling for new code conventions
Change code to match the documented consensus formed on T321683:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Exception_handling

* Do not directly throw Exception, Error or MWException
* Document checked exceptions with @throws
* Do not document unchecked exceptions

For this extension, I think it makes sense to consider DOMException an
unchecked exception too (in addition to the usual LogicException and
RuntimeException).

Depends-On: Id07e301c3f20afa135e5469ee234a27354485652
Depends-On: I869af06896b9757af18488b916211c5a41a8c563
Depends-On: I42d9b7465d1406a22ef1b3f6d8de426c60c90e2c
Change-Id: Ic9d9efd031a87fa5a93143f714f0adb20f0dd956
2023-01-22 18:17:11 +00:00
..
Actions Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
Hooks Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
Notifications Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ThreadItem Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsCompare.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsEdit.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsGetSubscriptions.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsPageInfo.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsPreview.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsSubscribe.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsTrait.php Dedupe ApiDiscussionToolsTrait::parseRevision and HookUtils::parseRevisionParsoidHtml 2022-11-21 21:01:19 +00:00
ButtonMenuSelectWidget.php Show thread metadata in section headers 2022-06-23 17:17:09 +01:00
CommentFormatter.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentModifier.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentParser.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentUtils.php Improve handling for comment separators 2023-01-10 01:59:52 +00:00
ContentThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
DatabaseThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ImmutableRange.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
LanguageData.php LanguageData: Use special page alias with spaces 2023-01-16 22:27:23 +01:00
NodeFilter.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ResourceLoaderData.php Ship HTML test files for JS using 'packageFiles' instead of 'templates' 2022-10-12 22:45:41 +00:00
ServiceWiring.php Test ServiceWiring.php 2023-01-13 12:01:38 +00:00
SpecialFindComment.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
SpecialGoToComment.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
SpecialTopicSubscriptions.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
SubscriptionItem.php Add missing typehints 2021-12-01 14:57:09 +00:00
SubscriptionStore.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
ThreadItemFormatter.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
ThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ThreadItemStore.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
TopicSubscriptionsPager.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
TreeWalker.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00