Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Merge [898].

  • Loading branch information...
commit bb9772d2a94a18ee7038a3582a7e747853057f6e 1 parent 4dcba13
@sebastianbergmann authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 PHPUnit/Util/Class.php
View
8 PHPUnit/Util/Class.php
@@ -229,8 +229,8 @@ public static function getMethodSource($className, $methodName)
* - while
* - case
* - catch
- * - &&
- * - ||
+ * - AND, &&
+ * - OR, ||
*
* Note that 'else', 'default', and 'finally' don't increment the value
* any further. On the other hand, a simple method with a 'switch'
@@ -266,7 +266,9 @@ public static function getCCN($className, $methodName)
case T_CASE:
case T_CATCH:
case T_BOOLEAN_AND:
- case T_BOOLEAN_OR: {
+ case T_LOGICAL_AND:
+ case T_BOOLEAN_OR:
+ case T_LOGICAL_OR: {
$ccn++;
}
break;
Please sign in to comment.
Something went wrong with that request. Please try again.