mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
Rename CodeMirror.hooks.php to CodeMirrorHooks.php
This avoids the MediaWiki.Files.ClassMatchesFilename.NotMatch exception in .phpcs.xml. Change-Id: I599016f4754f24b16394bdf1ba45bb20862fcd2a
This commit is contained in:
parent
daef8e333c
commit
63720b9c20
|
@ -2,7 +2,6 @@
|
|||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment"/>
|
||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc"/>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
]
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
"CodeMirrorHooks": "CodeMirror.hooks.php",
|
||||
"CodeMirrorHooks": "CodeMirrorHooks.php",
|
||||
"ResourceLoaderCodeMirrorModule": "ResourceLoaderCodeMirrorModule.php"
|
||||
},
|
||||
"ResourceModules": {
|
||||
|
|
Loading…
Reference in a new issue