mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-14 19:30:57 +00:00
4a93593abf
Change-Id: Ie4cb4cbee163943cd159eb0ad1d7deaac10e68d8
20 lines
1 KiB
XML
20 lines
1 KiB
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="MediaWiki.Commenting.PhpunitAnnotations.NotTestClass" />
|
|
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
</ruleset>
|