mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-30 19:14:22 +00:00
18d122b60d
This reverts commit 62e1fb0b5f
.
Reason for revert: caused several errors:
* unnamespaced HooksTest collides with core’s class of the same name
* Scribunto_LuaError renamed without class alias despite being used in Wikibase
Bug: T314464
Change-Id: I8b151327236bf86945e59823fba155497e4b3fc6
14 lines
553 B
XML
14 lines
553 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Scribunto">
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<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="Squiz.Classes.ValidClassName.NotCamelCaps" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
</ruleset>
|