diff options
author | Reedy <reedy@wikimedia.org> | 2020-05-19 22:49:33 +0100 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2020-05-20 03:33:39 +0100 |
commit | 3b94e2af1c83796756ed330df234d5abcb34e486 (patch) | |
tree | 1c6bc4464b80f258e16c1a069882d33079040a73 /.phpcs.xml | |
parent | dadd8687a834760a22556033a0a57fa3409e51d5 (diff) | |
download | mediawikicore-3b94e2af1c83796756ed330df234d5abcb34e486.tar.gz mediawikicore-3b94e2af1c83796756ed330df234d5abcb34e486.zip |
Narrow MediaWiki.Commenting.FunctionComment.WrongStyle
Change-Id: I95d1195f09a806910559a0c5106d472addd3dec4
Diffstat (limited to '.phpcs.xml')
-rw-r--r-- | .phpcs.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.phpcs.xml b/.phpcs.xml index e1af957979a7..4aacd6684236 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -5,7 +5,6 @@ <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" /> <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" /> <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" /> - <exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" /> <exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures" /> <exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" /> <exclude name="MediaWiki.Usage.DbrQueryUsage.DbrQueryFound" /> @@ -15,6 +14,10 @@ <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" /> <exclude name="PSR2.Classes.ClassDeclaration.InterfaceWrongIndent" /><!-- Temporary: T243529 --> </rule> + <!-- TODO Still to be done --> + <rule ref="MediaWiki.Commenting.FunctionComment.WrongStyle"> + <exclude-pattern>includes/</exclude-pattern> + </rule> <!-- See T238572 --> <rule ref="MediaWiki.Commenting.FunctionComment.MissingParamTag"> <exclude-pattern>tests/</exclude-pattern> |