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

View file

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