jenkins-bot has submitted this change and it was merged.

Change subject: Enable two groups of PHPCS sniffs instead of individual sniffs
......................................................................


Enable two groups of PHPCS sniffs instead of individual sniffs

All sniffs in these groups are enabled anyway.

Change-Id: I072efe15eb94056abee201d5edbc91a45e961d7f
---
M phpcs.xml
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/phpcs.xml b/phpcs.xml
index c9c2d91..64d44db 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -64,8 +64,7 @@
 
        <rule ref="PSR2.Classes.PropertyDeclaration" />
        <rule ref="PSR2.ControlStructures.ElseIfDeclaration" />
-       <rule ref="PSR2.Files.ClosingTag" />
-       <rule ref="PSR2.Files.EndFileNewline" />
+       <rule ref="PSR2.Files" />
        <rule ref="PSR2.Methods.MethodDeclaration" />
        <rule ref="PSR2.Namespaces" />
 
@@ -92,5 +91,5 @@
        <rule ref="Squiz.WhiteSpace.SemicolonSpacing" />
        <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
 
-       <rule ref="Zend.Files.ClosingTag" />
+       <rule ref="Zend.Files" />
 </ruleset>

-- 
To view, visit https://gerrit.wikimedia.org/r/232248
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I072efe15eb94056abee201d5edbc91a45e961d7f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to