File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class PHP_CodeCoverage_Driver_HHVM implements PHP_CodeCoverage_Driver
63
63
public function __construct ()
64
64
{
65
65
if (!function_exists ('fb_enable_code_coverage ' )) {
66
- throw new PHP_CodeCoverage_Exception ('You need HHVM for this driver ' );
66
+ throw new PHP_CodeCoverage_Exception ('This driver requires HHVM ' );
67
67
}
68
68
}
69
69
Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ class PHP_CodeCoverage_Driver_Xdebug implements PHP_CodeCoverage_Driver
63
63
public function __construct ()
64
64
{
65
65
if (!extension_loaded ('xdebug ' )) {
66
- throw new PHP_CodeCoverage_Exception ('Xdebug is not loaded. ' );
66
+ throw new PHP_CodeCoverage_Exception ('This driver requires Xdebug ' );
67
67
}
68
68
69
69
if (!ini_get ('xdebug.coverage_enable ' )) {
70
70
throw new PHP_CodeCoverage_Exception (
71
- 'You need to set xdebug.coverage_enable=On in your php.ini. '
71
+ 'xdebug.coverage_enable=On has to be set in php.ini '
72
72
);
73
73
}
74
74
}
You can’t perform that action at this time.
0 commit comments