https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1028873/2
SpecialContributions__getForm__filtersHook::onSpecialContributions__getForm__filters() param type of $sp was WIDENED to ContributionsSpecialPage
same with SpecialContributionsBeforeMainOutputHook::onSpecialContributionsBeforeMainOutput()
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1025467/5
ContribsPager__getQueryInfoHook::onContribsPager__getQueryInfo() param type of $pager was WIDENED to ContributionsPager, same with
- ContribsPager__reallyDoQueryHook::onContribsPager__reallyDoQuery()
- ContributionsLineEndingHook::onContributionsLineEnding()
These are breaking changes, e.g. preventing ORES merges
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ORES/+/1029513
12:45:51 includes/Hooks/ContributionsHooksHandler.php:42 PhanParamSignatureMismatch Declaration of function onContribsPager__getQueryInfo(\MediaWiki\Pager\ContribsPager $pager, array &$query) : bool|void should be compatible with function onContribsPager__getQueryInfo(\MediaWiki\Pager\ContributionsPager $pager, array &$queryInfo) : bool|void defined in ../../includes/specials/Hook/ContribsPager__getQueryInfoHook.php:25 (Expected \MediaWiki\Pager\ContribsPager $pager to have the same type as \MediaWiki\Pager\ContributionsPager $pager or a supertype) 12:45:51 includes/Hooks/ContributionsHooksHandler.php:120 PhanParamSignatureMismatch Declaration of function onSpecialContributions__getForm__filters(\MediaWiki\Specials\SpecialContributions $page, array[] &$filters) : bool|void should be compatible with function onSpecialContributions__getForm__filters(\MediaWiki\SpecialPage\ContributionsSpecialPage $sp, array &$filters) : bool|void defined in ../../includes/specials/Hook/SpecialContributions__getForm__filtersHook.php:27 (Expected \MediaWiki\Specials\SpecialContributions $page to have the same type as \MediaWiki\SpecialPage\ContributionsSpecialPage $sp or a supertype)