https://bugzilla.wikimedia.org/show_bug.cgi?id=48963
Web browser: ---
Bug ID: 48963
Summary: phpcs: write a sniff to deprecate wgUser
Product: Wikimedia
Version: wmf-deployment
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Continuous integration
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Tim said we can phase out $wgUser in favor of
RequestContext::getMain()->getUser()
https://www.facebook.com/brionv/posts/10151391376376852
We could use a PHP CodeSniffer sniff to report $wgUser should be replaced.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l