In https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/OATHAuth/+/513090/ a new hook was created in OATHAuth to address T199118, but the naming convention was not followed and now we have ended up with a hook whose name starts with lower case g (getUserPermissionsErrors) and a corresponding namespace whose name starts with upper case g (namespace MediaWiki\Extension\OATHAuth\Hook\GetUserPermissionsErrors)
Before it's too late, we should correct this. If the hook is being used elsewhere already, we should fix those callbacks as well.