Skip to content

Commit

Permalink
Merge pull request #335 from dereckson/patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
ravage84 committed Jan 6, 2016
2 parents a04dee7 + 59a6e8a commit 5d4949b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/rulesets/cleancode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Foo
externalInfoUrl="http://phpmd.org/rules/cleancode.html#staticaccess">
<description>
<![CDATA[
Static acccess causes inexchangable dependencies to other classes and leads to hard to test code. Avoid
Static access causes inexchangable dependencies to other classes and leads to hard to test code. Avoid
using static access at all costs and instead inject dependencies through the constructor. The only
case when static access is acceptable is when used for factory methods.
]]>
Expand Down

0 comments on commit 5d4949b

Please sign in to comment.