Need to go through https://codesearch.wmflabs.org/search/?q=-%3EuserCan%5C(&i=nope&files=%5C.php%24&repos= and check each method to see the class whose method is called for T246139: Remove remaining Title::userCan calls and T246189: Follow up: Hard deprecate not passing a user to ::userCan methods
Title: Remove call in favor of permission manager
Revision: Remove call in favor of RevisionRecord::userCan with a user passed
ArchivedFile: Ensure a user is passed
OldLocalFile: Ensure a user is passed