mediawiki-extensions-Discus.../includes/Notifications
Bartosz Dziewoński ae9f26a9e5 Various code quality tweaks
(suggested by PhpStorm)

composer.json:
* Document required PHP extensions

Parser.js:
* Remove incorrect param documentation
* Fix some typos in comments (missing parentheses)

CommentParser.php:
* Fix some typos in comments (missing parentheses)

ImmutableRange.php:
* Remove unused property
* Add a `throw` to indicate that code path is unreachable

SubscribedNewCommentPresentationModel.php:
* Add missing `return false`

CommentParserTest.php:
* Remove unnecessary pass-by-reference

CommentModifierTest.php:
* Remove unused variable

CommentParserTest.php:
* Don't construct Element objects directly. PHP's DOMElement allows
  it, but Parsoid/Dodo's doesn't, and we use the latter for static
  analysis. This generates all kinds of confusing warnings.

Change-Id: Ia9598ebea0e99830dd485296e94a9d96acc4b258
2022-02-19 19:36:52 +01:00
..
DiscussionToolsEventTrait.php Simplify handling of sections in bundled notification links 2022-01-21 00:06:36 +01:00
EnhancedEchoEditUserTalkPresentationModel.php Add 'legacyPrimary' links to API data for users without DT-enhanced HTML 2021-12-09 15:20:26 +00:00
EnhancedEchoMentionPresentationModel.php Add 'legacyPrimary' links to API data for users without DT-enhanced HTML 2021-12-09 15:20:26 +00:00
EventDispatcher.php Log talk_page_edit events for adding a new topic 2022-02-14 11:48:16 -06:00
PlaintextEchoPresentationModelSection.php Don't try to parse section titles as wikitext in subscription notifs 2022-01-21 00:12:58 +01:00
SubscribedNewCommentPresentationModel.php Various code quality tweaks 2022-02-19 19:36:52 +01:00