Permalink
Browse files

- Merge [896].

  • Loading branch information...
1 parent 5b9b618 commit 4dcba13986323b53dea3ef2be25e07e3c41261d2 @sebastianbergmann committed Aug 2, 2007
Showing with 5 additions and 1 deletion.
  1. +5 −1 PHPUnit/Util/Class.php
View
@@ -229,6 +229,8 @@ public static function getMethodSource($className, $methodName)
* - while
* - case
* - catch
+ * - &&
+ * - ||
*
* Note that 'else', 'default', and 'finally' don't increment the value
* any further. On the other hand, a simple method with a 'switch'
@@ -262,7 +264,9 @@ public static function getCCN($className, $methodName)
case T_FOREACH:
case T_WHILE:
case T_CASE:
- case T_CATCH: {
+ case T_CATCH:
+ case T_BOOLEAN_AND:
+ case T_BOOLEAN_OR: {
$ccn++;
}
break;

0 comments on commit 4dcba13

Please sign in to comment.