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:
Fomafix 2017-12-02 20:14:38 +01:00
parent daef8e333c
commit 63720b9c20
3 changed files with 1 additions and 2 deletions

View file

@ -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"/>

View file

@ -18,7 +18,7 @@
]
},
"AutoloadClasses": {
"CodeMirrorHooks": "CodeMirror.hooks.php",
"CodeMirrorHooks": "CodeMirrorHooks.php",
"ResourceLoaderCodeMirrorModule": "ResourceLoaderCodeMirrorModule.php"
},
"ResourceModules": {