Fix ruleset
This commit is contained in:
parent
e3885d6d73
commit
f124079817
@ -184,6 +184,11 @@
|
|||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment" />
|
<rule ref="PEAR.Commenting.ClassComment" />
|
||||||
|
|
||||||
|
<!-- TODO Remove this and fix reported errors -->
|
||||||
|
<rule ref="PEAR.Commenting.ClassComment.Missing">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingTag" />
|
<rule ref="PEAR.Commenting.ClassComment.MissingTag" />
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@authorTag" />
|
<rule ref="PEAR.Commenting.ClassComment.Missing@authorTag" />
|
||||||
@ -196,137 +201,7 @@
|
|||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@packageTag" />
|
<rule ref="PEAR.Commenting.ClassComment.Missing@packageTag" />
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.ReturnNotRequired" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.Missing" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@authorTag" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@categoryTag" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@licenseTag" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@linkTag" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@packageTag" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.ReturnNotRequired" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.Missing" />
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@authorTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@categoryTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@licenseTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@linkTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@packageTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<!-- TODO Remove this and fix reported errors -->
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.ReturnNotRequired">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.Missing">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@authorTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@categoryTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@licenseTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@linkTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing@packageTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingAuthorTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingCategoryTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingLicenseTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingLinkTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingPackageTag">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<!-- TODO Remove this and fix reported errors -->
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.Missing">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.ReturnNotRequired">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.Missing">
|
|
||||||
<severity>0</severity>
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
>>>>>>> refs/remotes/origin/3.7
|
|
||||||
<!--
|
<!--
|
||||||
<rule ref="PEAR.Commenting.FileComment" />
|
<rule ref="PEAR.Commenting.FileComment" />
|
||||||
<rule ref="PEAR.Commenting.FileComment.WrongStyle">
|
<rule ref="PEAR.Commenting.FileComment.WrongStyle">
|
||||||
@ -339,15 +214,36 @@
|
|||||||
<severity>0</severity>
|
<severity>0</severity>
|
||||||
</rule>
|
</rule>
|
||||||
-->
|
-->
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.WrongStyle">
|
|
||||||
<severity>0</severity>
|
<rule ref="PEAR.Commenting.FunctionComment" />
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.Empty">
|
<rule ref="PEAR.Commenting.FunctionComment.Empty">
|
||||||
<severity>5</severity>
|
<severity>5</severity>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment" />
|
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.Missing">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType" />
|
||||||
|
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName" />
|
||||||
|
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamType" />
|
||||||
|
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParamName" />
|
||||||
|
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.ReturnNotRequired">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
<rule ref="PEAR.Commenting.FunctionComment.WrongStyle">
|
||||||
|
<severity>0</severity>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeParamType">
|
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeParamType">
|
||||||
<severity>0</severity>
|
<severity>0</severity>
|
||||||
</rule>
|
</rule>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user