Skip to content

Commit

Permalink
Disable GotoStatement rule in phpmd configuration
Browse files Browse the repository at this point in the history
Comment out the GotoStatement rule in the phpmd.xml configuration file. This change aims to avoid unnecessary rule checks related to the use of 'goto' statements in our codebase.
  • Loading branch information
koriym committed Nov 3, 2024
1 parent efad1ac commit 7fdc7c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<!--design-->
<rule ref="rulesets/design.xml/EvalExpression"/>
<rule ref="rulesets/design.xml/ExitExpression"/>
<rule ref="rulesets/design.xml/GotoStatement" />
<!-- <rule ref="rulesets/design.xml/GotoStatement" />-->
<rule ref="rulesets/design.xml/NumberOfChildren"/>
<rule ref="rulesets/design.xml/DepthOfInheritance"/>
<rule ref="rulesets/design.xml/CouplingBetweenObjects" />
Expand Down

0 comments on commit 7fdc7c1

Please sign in to comment.