mediawiki-extensions-Popups/tests/phpunit
Thiemo Kreuz 1697cb9a65 Update documentation and signatures of hook handlers
* Explain the difference between the two hooks that both set config vars.

* Remove by-ref & that are not needed. This is a non-breaking change.
Even if the code calling a hook handler provides a variable by reference,
the hook handler being called does not need to require a reference.
Removing these & makes the code less confusing and easier to read.

* Replace an OutputPage type hint with a more narrow IContextSource.
That's all this code actually needs to know. It doesn't need access to
the entire OutputPage, so it doesn't need to require it.

* Update the signature of the ResourceLoaderGetConfigVars handler to
match the caller.

Bug: T215896
Change-Id: Ie1e4b50cd954812f71dd628003b8e9d40fdf5fe8
2019-02-26 17:45:39 +00:00
..
EventLogging Merge "Remove misplaced comments from PHPUnit tests" 2018-12-18 17:11:24 +00:00
PopupsContextTest.php Fix a series of minor documentation issues in PHP code 2019-02-01 09:42:14 +01:00
PopupsContextTestWrapper.php Use ?: shortcut where it makes sense 2019-01-16 19:50:43 +00:00
PopupsGadgetsIntegrationTest.php Fix a series of minor documentation issues in PHP code 2019-02-01 09:42:14 +01:00
PopupsHooksTest.php Update documentation and signatures of hook handlers 2019-02-26 17:45:39 +00:00
UserPreferencesChangeHandlerTest.php Remove misplaced comments from PHPUnit tests 2018-12-18 10:00:00 +01:00