Edit ruleset

This commit is contained in:
Ade Attwood 2017-11-01 19:58:12 +00:00
parent 5ee2a60fc1
commit 9e157d6815

View file

@ -1,5 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<ruleset name="Yii_Addon"> <ruleset name="Yii_Addon">
<!-- vendor/bin/phpcs -n --standard=ruleset.xml --report=emacs -->
<description>Yii addon coding standards</description> <description>Yii addon coding standards</description>
<file>./src</file> <file>./src</file>
@ -132,6 +133,13 @@
<rule ref="Squiz.Commenting.VariableComment"/> <rule ref="Squiz.Commenting.VariableComment"/>
<rule ref="Squiz.Commenting.VariableComment.Missing">
<type>warning</type>
</rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingParamComment">
<type>warning</type>
</rule>
<rule ref="Squiz.ControlStructures"> <rule ref="Squiz.ControlStructures">
<exclude name="Squiz.ControlStructures"/> <exclude name="Squiz.ControlStructures"/>