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
6363 public function __construct ()
6464 {
6565 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 ' );
6767 }
6868 }
6969
Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ class PHP_CodeCoverage_Driver_Xdebug implements PHP_CodeCoverage_Driver
6363 public function __construct ()
6464 {
6565 if (!extension_loaded ('xdebug ' )) {
66- throw new PHP_CodeCoverage_Exception ('Xdebug is not loaded. ' );
66+ throw new PHP_CodeCoverage_Exception ('This driver requires Xdebug ' );
6767 }
6868
6969 if (!ini_get ('xdebug.coverage_enable ' )) {
7070 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 '
7272 );
7373 }
7474 }
You can’t perform that action at this time.
0 commit comments