Update ruleset.xml

This commit is contained in:
2026-02-02 20:31:13 +03:00
parent 5f347d8010
commit 16034f96cf

View File

@@ -527,7 +527,6 @@
<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 -->
@@ -552,6 +551,11 @@
<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 -->