Skip to content

Commit 5c778a7

Browse files
author
Jim DeLois
committed
First Steps: Segfaulting Sadness
1 parent 3d0b2a3 commit 5c778a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CodeCoverage/Driver/Xdebug.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public function __construct()
4444
*/
4545
public function start()
4646
{
47-
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
47+
// TODO: Will hook up XDEBUG_CC_BRANCH_CHECK to a configuration option and also do an existence check...
48+
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE | XDEBUG_CC_BRANCH_CHECK );
4849
}
4950

5051
/**

0 commit comments

Comments
 (0)