Remove global class alias

Change-Id: I334a6ce9040385b11f30bb5d25e45bb124e0acce
This commit is contained in:
Reedy 2022-04-16 18:06:07 +01:00
parent 0b13847937
commit d94fec0141
2 changed files with 4 additions and 16 deletions

View file

@ -27,10 +27,6 @@
"AutoloadNamespaces": {
"MediaWiki\\SyntaxHighlight\\": "includes/"
},
"AutoloadClasses": {
"SyntaxHighlight": "includes/SyntaxHighlight.php",
"MediaWiki\\SyntaxHighlight\\SyntaxHighlight": "includes/SyntaxHighlight.php"
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "SyntaxHighlight_GeSHi/modules"
@ -94,16 +90,10 @@
}
},
"Hooks": {
"ParserFirstCallInit": [
"SyntaxHighlight::onParserFirstCallInit"
],
"ContentGetParserOutput": [
"SyntaxHighlight::onContentGetParserOutput"
],
"ApiFormatHighlight": [
"SyntaxHighlight::onApiFormatHighlight"
],
"SoftwareInfo": "SyntaxHighlight::onSoftwareInfo"
"ParserFirstCallInit": "MediaWiki\\SyntaxHighlight\\SyntaxHighlight::onParserFirstCallInit",
"ContentGetParserOutput": "MediaWiki\\SyntaxHighlight\\SyntaxHighlight::onContentGetParserOutput",
"ApiFormatHighlight": "MediaWiki\\SyntaxHighlight\\SyntaxHighlight::onApiFormatHighlight",
"SoftwareInfo": "MediaWiki\\SyntaxHighlight\\SyntaxHighlight::onSoftwareInfo"
},
"ParsoidModules": [
"MediaWiki\\SyntaxHighlight\\ParsoidExt"

View file

@ -633,5 +633,3 @@ class SyntaxHighlight extends ExtensionTagHandler {
}
}
}
class_alias( SyntaxHighlight::class, 'SyntaxHighlight' );