Permalink
Browse files

fix typo in rulesets/cleancode

  • Loading branch information...
suzuken committed Sep 7, 2016
1 parent f2467d1 commit f6aa5be470b4cb4a59a30637a31f3a2d942e5409
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/resources/rulesets/cleancode.xml
@@ -39,7 +39,7 @@ class Foo {
since="1.4.0"
message="The method {0} uses an else expression. Else is never necessary and you can simplify the code to work without else."
class="PHPMD\Rule\CleanCode\ElseExpression"
externalInfoUrl="http://phpmd.org/rules/cleancode.html#eleseexpression">
externalInfoUrl="http://phpmd.org/rules/cleancode.html#elseexpression">
<description>
<![CDATA[
An if expression with an else branch is never necessary. You can rewrite the

0 comments on commit f6aa5be

Please sign in to comment.