mediawiki-extensions-Linter/phpcs.xml
Kunal Mehta fa095f07c6 Adjust phpcs rules
Excluse MediaWiki.Commenting.FunctionComment.MissingReturn for now
because of a false positive

Change-Id: I0f0833f80374c70b9e40056cc83db68568ba790c
2016-10-20 14:03:25 -07:00

18 lines
547 B
XML

<?xml version="1.0"?>
<ruleset>
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
<file>.</file>
<rule ref="MediaWiki.Commenting.FunctionComment.Missing">
<severity>0</severity>
</rule>
<rule ref="MediaWiki.Commenting.FunctionComment.MissingParamComment">
<severity>0</severity>
</rule>
<rule ref="MediaWiki.Commenting.FunctionComment.MissingReturn">
<severity>0</severity>
</rule>
<arg name="extensions" value="php,php5,inc"/>
<arg name="encoding" value="utf8"/>
<exclude-pattern>vendor</exclude-pattern>
</ruleset>