build: Updating mediawiki/mediawiki-codesniffer to 0.10.1

Change-Id: I66b497f2afbb966465d084bf6d0a8e5e26917d57
This commit is contained in:
Umherirrender 2017-07-26 23:15:10 +02:00
parent 0f605ae1f5
commit 8fe3da853e
3 changed files with 5 additions and 6 deletions

View file

@ -298,7 +298,7 @@ class WikiEditorHooks {
*/
public static function resourceLoaderGetConfigVars( &$vars ) {
// expose magic words for use by the wikieditor toolbar
WikiEditorHooks::getMagicWords( $vars );
self::getMagicWords( $vars );
$vars['mw.msg.wikieditor'] = wfMessage( 'sig-text', '~~~~' )->inContentLanguage()->text();
@ -382,7 +382,7 @@ class WikiEditorHooks {
*
* @param EditPage $editPage
* @param Status $status
* @return boolean
* @return bool
*/
public static function editPageAttemptSave( EditPage $editPage ) {
$article = $editPage->getArticle();
@ -403,7 +403,7 @@ class WikiEditorHooks {
*
* @param EditPage $editPage
* @param Status $status
* @return boolean
* @return bool
*/
public static function editPageAttemptSaveAfter( EditPage $editPage, Status $status ) {
$article = $editPage->getArticle();

View file

@ -2,7 +2,7 @@
"license": "GPL-2.0+",
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "0.10.0",
"mediawiki/mediawiki-codesniffer": "0.10.1",
"jakub-onderka/php-console-highlighter": "0.3.2"
},
"scripts": {

View file

@ -11,6 +11,5 @@
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="encoding" value="utf8"/>
<exclude-pattern>vendor</exclude-pattern>
<arg name="encoding" value="UTF-8"/>
</ruleset>