build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled: * MediaWiki.Commenting.LicenseComment.InvalidLicenseTag The following sniffs now pass and were enabled: * MediaWiki.Commenting.FunctionComment.MissingParamComment Change-Id: I06e0542d737cec5e2500aad6d85f72951f8b584d
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
||||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||||
|
<exclude name="MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" />
|
||||||
</rule>
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,php5,inc" />
|
<arg name="extensions" value="php,php5,inc" />
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class UniversalLanguageSelectorHooks {
|
class UniversalLanguageSelectorHooks {
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GPL-2.0-or-later
|
* @license GPL-2.0-or-later
|
||||||
* @licence MIT
|
* @license MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( function_exists( 'wfLoadExtension' ) ) {
|
if ( function_exists( 'wfLoadExtension' ) ) {
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||||
"mediawiki/mediawiki-codesniffer": "16.0.1",
|
"mediawiki/mediawiki-codesniffer": "17.0.0",
|
||||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||||
"mediawiki/minus-x": "0.3.1"
|
"mediawiki/minus-x": "0.3.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$IP = getenv( 'MW_INSTALL_PATH' );
|
$IP = getenv( 'MW_INSTALL_PATH' );
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
class LanguageNameSearch {
|
class LanguageNameSearch {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
* @file
|
* @file
|
||||||
* @author Niklas Laxström
|
* @author Niklas Laxström
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
* @since 2013.11
|
* @since 2013.11
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
*
|
*
|
||||||
* @file
|
* @file
|
||||||
* @ingroup Extensions
|
* @ingroup Extensions
|
||||||
* @licence GNU General Public Licence 2.0 or later
|
* @license GNU General Public Licence 2.0 or later
|
||||||
* @licence MIT License
|
* @license MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user