I have triggered a build for AbuseFilter with the following dependencies:
AntiSpoof CentralAuth CheckUser CodeEditor ConfirmEdit Echo EventLogging Renameuser Scribunto WikiEditor
The build failed with:
PHP Fatal error: Declaration of MediaWiki\Extension\CentralAuth\Special\SpecialGlobalGroupMembership::makeConflictCheckKey(): string must be compatible with MediaWiki\SpecialPage\UserGroupsSpecialPage::makeConflictCheckKey(MediaWiki\User\UserGroupsSpecialPageTarget $target): string in /workspace/src/extensions/CentralAuth/includes/Special/SpecialGlobalGroupMembership.php on line 604
I went to check the signatures and they were strictly identical in master:
core/includes/specialpage/UserGroupsSpecialPage.php: abstract protected function makeConflictCheckKey(): string;
core/includes/specials/SpecialUserRights.php: protected function makeConflictCheckKey(): string {
extensions/CentralAuth/includes/Special/SpecialGlobalGroupMembership.php: protected function makeConflictCheckKey(): string {The log is kept at https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php81/41083/console
I looked at the history of the function in both repositories and they never changed.
Eventually I found a non merged change that refactors the signature:
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1193021/6/includes/Special/SpecialGlobalGroupMembership.php
Which mean the pending code was injected in the build OR that its phpunit test results were reused. Both case sounds quite wrong :]