Update ruleset.xml

This commit is contained in:
2026-02-02 20:27:30 +03:00
parent 644f6d38c2
commit 5f347d8010

View File

@@ -527,6 +527,7 @@
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment"/>
<!-- Do not require `@param` for all parameters -->
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/>
<exclude name="Squiz.Commenting.FunctionComment.MissingParamName"/>
<!-- Do not require `@return` for void methods -->
<exclude name="Squiz.Commenting.FunctionComment.MissingReturn"/>
<!-- Comments don't have to be sentences -->
@@ -551,10 +552,6 @@
<exclude name="Squiz.Commenting.FunctionComment.WrongStyle"/>
</rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamName">
<severity>0</severity>
</rule>
<!-- Forbid global functions -->
<rule ref="Squiz.Functions.GlobalFunction"/>
<!-- Force camelCase variables -->