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:
libraryupgrader
2018-03-29 06:53:52 +00:00
parent 26df97aaae
commit 858ebd5552
11 changed files with 20 additions and 20 deletions

View File

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

View File

@@ -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 {

View File

@@ -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' ) ) {

View File

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

View File

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

View File

@@ -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"
}, },

View File

@@ -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' );

View File

@@ -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 {
/** /**

View File

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

View File

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

View File

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