mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled: * MediaWiki.Files.ClassMatchesFilename.NotMatch * MediaWiki.Files.ClassMatchesFilename.WrongCase * MediaWiki.Files.OneClassPerFile.MultipleFound Change-Id: I7cbf305fae765dbf68df07f84992c2d5ed5486c6
This commit is contained in:
parent
06339d4a90
commit
638633216a
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||
"mediawiki/mediawiki-codesniffer": "0.11.0",
|
||||
"mediawiki/mediawiki-codesniffer": "0.12.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -543,7 +543,7 @@ class MWEchoNotifUser {
|
|||
|
||||
/**
|
||||
* Get a cache entry from the cache, using a preloaded instance cache.
|
||||
* @param string|false $memcKey Cache key returned by getMemcKey()
|
||||
* @param string|false $memcKey Cache key returned by getMemcKey()
|
||||
* @return mixed Cache value
|
||||
*/
|
||||
protected function getFromCache( $memcKey ) {
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" />
|
||||
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
||||
|
|
Loading…
Reference in a new issue