Discussion:
[MediaWiki-commits] [Gerrit] mediawiki...PageForms[master]: build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Umherirrender (Code Review)
2017-12-30 22:41:46 UTC
Permalink
Umherirrender has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/401104 )

Change subject: build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
......................................................................

build: Updating mediawiki/mediawiki-codesniffer to 15.0.0

Change-Id: Ia6a7cb062c782f11b1b10cdb6302f9ed378ab8eb
---
M .phpcs.xml
M composer.json
2 files changed, 3 insertions(+), 2 deletions(-)


git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageForms refs/changes/04/401104/1

diff --git a/.phpcs.xml b/.phpcs.xml
index 76446a7..4764e29 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -3,7 +3,7 @@
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
- <exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
+ <exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
<exclude name="MediaWiki.Usage.DeprecatedConstantUsage.DB_SLAVE" /><!-- Supports MediaWiki 1.22 -->
<exclude name="MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle" />
@@ -14,6 +14,7 @@
<exclude name="Generic.PHP.NoSilencedErrors.Discouraged" />
<exclude name="Generic.PHP.SAPIUsage.FunctionFound" />
<exclude name="Squiz.Scope.StaticThisUsage.Found" />
+ <exclude name="Squiz.Scope.MethodScope.Missing" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
diff --git a/composer.json b/composer.json
index a3f054b..000caa0 100644
--- a/composer.json
+++ b/composer.json
@@ -39,7 +39,7 @@
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
"jakub-onderka/php-console-highlighter": "0.3.2",
- "mediawiki/mediawiki-codesniffer": "14.1.0",
+ "mediawiki/mediawiki-codesniffer": "15.0.0",
"mediawiki/minus-x": "0.2.1"
},
"scripts": {
--
To view, visit https://gerrit.wikimedia.org/r/401104
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6a7cb062c782f11b1b10cdb6302f9ed378ab8eb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <***@web.de>
Loading...