Skip to content

Commit cc04cf1

Browse files
Merge branch 'master' into report-refactoring
2 parents 170f602 + 9db2cc4 commit cc04cf1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

PHP/CodeCoverage/Driver/Xdebug.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
* @version Release: @package_version@
6060
* @link http://github.com/sebastianbergmann/php-code-coverage
6161
* @since Class available since Release 1.0.0
62+
* @codeCoverageIgnore
6263
*/
6364
class PHP_CodeCoverage_Driver_Xdebug implements PHP_CodeCoverage_Driver
6465
{
@@ -67,9 +68,7 @@ class PHP_CodeCoverage_Driver_Xdebug implements PHP_CodeCoverage_Driver
6768
*/
6869
public function start()
6970
{
70-
// @codeCoverageIgnoreStart
7171
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
72-
// @codeCoverageIgnoreEnd
7372
}
7473

7574
/**
@@ -79,11 +78,9 @@ public function start()
7978
*/
8079
public function stop()
8180
{
82-
// @codeCoverageIgnoreStart
8381
$codeCoverage = xdebug_get_code_coverage();
8482
xdebug_stop_code_coverage();
8583

8684
return $codeCoverage;
87-
// @codeCoverageIgnoreEnd
8885
}
8986
}

PHP/CodeCoverage/Util.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
* @since File available since Release 1.0.0
4444
*/
4545

46+
// @codeCoverageIgnoreStart
4647
if (!defined('T_NAMESPACE')) {
4748
define('T_NAMESPACE', 377);
4849
}
@@ -53,6 +54,7 @@ function trait_exists($name)
5354
return FALSE;
5455
}
5556
}
57+
// @codeCoverageIgnoreEnd
5658

5759
/**
5860
* Utility methods.

0 commit comments

Comments
 (0)