Skip to content

Commit 3352293

Browse files
Improve exception messages
1 parent 48c34b5 commit 3352293

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Exception/Xdebug2NotEnabledException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ final class Xdebug2NotEnabledException extends RuntimeException implements Excep
1616
{
1717
public function __construct()
1818
{
19-
parent::__construct('xdebug.coverage_enable=On has to be set');
19+
parent::__construct('xdebug.coverage_enable=On (PHP configuration setting) has to be set');
2020
}
2121
}

src/Exception/Xdebug3NotEnabledException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ final class Xdebug3NotEnabledException extends RuntimeException implements Excep
1616
{
1717
public function __construct()
1818
{
19-
parent::__construct('XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set');
19+
parent::__construct('XDEBUG_MODE=coverage (environment variable) or xdebug.mode=coverage (PHP configuration setting) has to be set');
2020
}
2121
}

0 commit comments

Comments
 (0)