mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-11 16:06:02 +00:00
248dcae392
And use the unit test base on most of the tests, except the ones that need database. This makes tests considerably faster. Bug: T230701 Change-Id: Ifbede1e2610c672b4d8a83ce41f74200e0c97be9
19 lines
961 B
XML
19 lines
961 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="MediaWiki.Commenting.PhpunitAnnotations.NotTestClass" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
</ruleset>
|