mediawiki-extensions-Visual.../.phpcs.xml
Thiemo Kreuz a8f835c30a Raise PHP coding standards in this codebase a bit
Re-enabling some specific rules that are disabled in the upstream
MediaWiki coding standard for several reasons.

Change-Id: I6922995098f9af21e62e1b40d20fabd4b5d74ef7
2021-11-08 13:34:29 +01:00

21 lines
592 B
XML

<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle" />
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>5</severity>
</rule>
<rule ref="MediaWiki.Classes.FullQualifiedClassName">
<severity>5</severity>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.BeforeFirst">
<severity>5</severity>
</rule>
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>