Skip to content

Commit

Permalink
Remove Commenting Rule set
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-chetan committed Jul 22, 2023
1 parent a9da29f commit 2769968
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,63 +78,6 @@
</rule>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>

<!--
***********************************************************************
* Commenting Rule set
***********************************************************************
-->
<!-- Generic -->
<rule ref="Generic.Commenting.Fixme">
<type>warning</type>
<properties>
<property name="supportedTokenizers" type="array">
<element value="PHP"/>
</property>
</properties>
</rule>
<rule ref="Generic.Commenting.Todo">
<properties>
<property name="supportedTokenizers" type="array">
<element value="PHP"/>
</property>
</properties>
</rule>

<!-- Squiz -->
<rule ref="Squiz.Commenting.BlockComment">
<exclude name="Squiz.Commenting.BlockComment.FirstLineIndent"/>
<exclude name="Squiz.Commenting.BlockComment.LineIndent"/>
<exclude name="Squiz.Commenting.BlockComment.WrongStart"/>
</rule>
<rule ref="Squiz.Commenting.ClassComment">
<exclude name="Squiz.Commenting.ClassComment.Missing" />
<exclude name="Squiz.Commenting.ClassComment.TagNotAllowed" />
</rule>
<rule ref="Squiz.Commenting.DocCommentAlignment">
<properties>
<property name="supportedTokenizers" type="array">
<element value="PHP"/>
</property>
</properties>
</rule>
<rule ref="Squiz.Commenting.EmptyCatchComment"/>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>
<rule ref="Squiz.Commenting.InlineComment">
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar"/>
<exclude name="Squiz.Commenting.InlineComment.Empty"/>
<exclude name="Squiz.Commenting.InlineComment.NotCapital"/>
<properties>
<property name="supportedTokenizers" type="array">
<element value="PHP"/>
</property>
</properties>
</rule>
<rule ref="Squiz.Commenting.VariableComment">
<exclude name="Squiz.Commenting.VariableComment.IncorrectVarType"/>
<exclude name="Squiz.Commenting.VariableComment.TagNotAllowed"/>
<exclude name="Squiz.Commenting.VariableComment.Missing"/>
</rule>

<!--
***********************************************************************
* Control Structures Rule set
Expand Down

0 comments on commit 2769968

Please sign in to comment.