build: Updating mediawiki/mediawiki-codesniffer to 18.0.0

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

Change-Id: I13c4825186d8ba101feb2a2d28ee8dc9bc7306dd
This commit is contained in:
libraryupgrader 2018-04-13 22:19:35 +00:00
parent 72db0e9107
commit 5a7ebcfead
10 changed files with 9 additions and 10 deletions

View file

@ -3,7 +3,6 @@
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" /> <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" /> <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" /> <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule> </rule>
<file>.</file> <file>.</file>

View file

@ -6,7 +6,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006-2008 Daniel Kinzler and others * @copyright © 2006-2008 Daniel Kinzler and others
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
$specialPageAliases = []; $specialPageAliases = [];

View file

@ -6,7 +6,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006-2008 Daniel Kinzler * @copyright © 2006-2008 Daniel Kinzler
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
$magicWords = []; $magicWords = [];

View file

@ -8,7 +8,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006-2008 Daniel Kinzler and others * @copyright © 2006-2008 Daniel Kinzler and others
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
if ( function_exists( 'wfLoadExtension' ) ) { if ( function_exists( 'wfLoadExtension' ) ) {

View file

@ -2,7 +2,7 @@
"require-dev": { "require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.0", "jakub-onderka/php-parallel-lint": "1.0.0",
"jakub-onderka/php-console-highlighter": "0.3.2", "jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/mediawiki-codesniffer": "17.0.0", "mediawiki/mediawiki-codesniffer": "18.0.0",
"mediawiki/minus-x": "0.3.1", "mediawiki/minus-x": "0.3.1",
"mediawiki/mediawiki-phan-config": "0.2.0" "mediawiki/mediawiki-phan-config": "0.2.0"
}, },

View file

@ -7,7 +7,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006-2007 Daniel Kinzler * @copyright © 2006-2007 Daniel Kinzler
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
class CategoryTree { class CategoryTree {

View file

@ -8,7 +8,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006 Daniel Kinzler * @copyright © 2006 Daniel Kinzler
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
class CategoryTreeHidePrefix { class CategoryTreeHidePrefix {

View file

@ -7,7 +7,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006-2008 Daniel Kinzler and others * @copyright © 2006-2008 Daniel Kinzler and others
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
class CategoryTreeHooks { class CategoryTreeHooks {

View file

@ -7,7 +7,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006 Daniel Kinzler * @copyright © 2006 Daniel Kinzler
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
class CategoryTreeMode { class CategoryTreeMode {

View file

@ -7,7 +7,7 @@
* @ingroup Extensions * @ingroup Extensions
* @author Daniel Kinzler, brightbyte.de * @author Daniel Kinzler, brightbyte.de
* @copyright © 2006 Daniel Kinzler * @copyright © 2006 Daniel Kinzler
* @license GNU General Public Licence 2.0 or later * @license GPL-2.0-or-later
*/ */
class CategoryTreePage extends SpecialPage { class CategoryTreePage extends SpecialPage {