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"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" />
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
class UniversalLanguageSelectorHooks {

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GPL-2.0-or-later
* @licence MIT
* @license GPL-2.0-or-later
* @license MIT
*/
if ( function_exists( 'wfLoadExtension' ) ) {

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
/**

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
/**

View File

@@ -26,7 +26,7 @@
},
"require-dev": {
"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",
"mediawiki/minus-x": "0.3.1"
},

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
$IP = getenv( 'MW_INSTALL_PATH' );

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
class LanguageNameSearch {
/**

View File

@@ -15,8 +15,8 @@
* @file
* @author Niklas Laxström
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
/**

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
* @since 2013.11
*/

View File

@@ -14,8 +14,8 @@
*
* @file
* @ingroup Extensions
* @licence GNU General Public Licence 2.0 or later
* @licence MIT License
* @license GNU General Public Licence 2.0 or later
* @license MIT License
*/
/**