Skip to content

Commit

Permalink
Improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Jun 15, 2017
1 parent d33dc40 commit 3e33b6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/site/rst/rules/design.rst
Expand Up @@ -199,7 +199,8 @@ CountInLoopExpression

Since: PHPMD 2.7.0

Using count/sizeof in loops expressions is considered bad practice and is a source of many bugs, especially when loop manipulates an array, as count happens on each iteration.
Using count/sizeof in loops expressions is considered bad practice and is a potential source of
many bugs, especially when the loop manipulates an array, as count happens on each iteration.


Example: ::
Expand Down

0 comments on commit 3e33b6f

Please sign in to comment.