mediawiki-extensions-Discus.../tests
Bartosz Dziewoński 8de8d80cde Deal with document body consistently
Use `DOMCompat::getBody( ... )` as a nicer getter than
`->getElementsByTagName( 'body' )->item( 0 )`.

Remove overly defensive checks and redundant annotations on its
return value. Since we're dealing with HTML documents throughout,
the document body is guaranteed to exist.

We previously needed some of them to convince Phan when it thought
the body may be null, but this seems to no longer be needed.

Change-Id: If7aee7b6adbfa78269c7ba28b26a6eaa21fe935b
2021-08-03 15:12:55 +02:00
..
cases Fix notifications when new comment is under subheading 2021-07-24 05:28:10 +02:00
data Move Hooks to HookUtils 2021-02-01 22:35:11 +00:00
phpunit Deal with document body consistently 2021-08-03 15:12:55 +02:00
qunit Silence JQMIGRATE warnings when running tests 2021-06-21 21:17:36 +02:00