mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-12 01:11:55 +00:00
d91a8cf8a0
Bug: T195160 Change-Id: I77ce544e9c166fef6c6fb02f67d1de6ddf0c2465
19 lines
940 B
XML
19 lines
940 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Scribunto">
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Usage.ForbiddenFunctions.popen" />
|
|
<exclude name="MediaWiki.Usage.ForbiddenFunctions.proc_open" />
|
|
<exclude name="MediaWiki.Usage.ForbiddenFunctions.shell_exec" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
|
|
<exclude name="Squiz.Scope.MethodScope.Missing" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
</ruleset>
|