Skip to content

Commit

Permalink
English language fixes
Browse files Browse the repository at this point in the history
Rewrite some statements to correct grammar and make them a bit less awkward.
  • Loading branch information
Tristian committed Jul 12, 2016
1 parent 3d7a307 commit 2a31103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/rulesets/codesize.xml
Expand Up @@ -158,7 +158,7 @@ class Foo {

<rule name="ExcessiveParameterList"
since="0.1"
message="The {0} {1} has {2} parameters. Consider to reduce parameter number under {3}."
message="The {0} {1} has {2} parameters. Consider reducing the number of parameters to less than {3}."
class="PHPMD\Rule\Design\LongParameterList"
externalInfoUrl="http://phpmd.org/rules/codesize.html#excessiveparameterlist">
<description>
Expand All @@ -184,7 +184,7 @@ class Foo {

<rule name="ExcessivePublicCount"
since="0.1"
message="The {0} {1} has {2} public methods and attributes. Consider to reduce the number of public items under {3}."
message="The {0} {1} has {2} public methods and attributes. Consider reducing the number of public items to less than {3}."
class="PHPMD\Rule\ExcessivePublicCount"
externalInfoUrl="http://phpmd.org/rules/codesize.html#excessivepubliccount">
<description>
Expand Down Expand Up @@ -215,7 +215,7 @@ public class Foo {

<rule name="TooManyFields"
since="0.1"
message="The {0} {1} has {2} fields. Consider to redesign {1} to keep the number of fields under {3}."
message="The {0} {1} has {2} fields. Consider redesigning {1} to keep the number of fields under {3}."
class="PHPMD\Rule\Design\TooManyFields"
externalInfoUrl="http://phpmd.org/rules/codesize.html#toomanyfields">
<description>
Expand Down

0 comments on commit 2a31103

Please sign in to comment.