Skip to content

Commit

Permalink
Improve exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 22, 2024
1 parent 48c34b5 commit 3352293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Exception/Xdebug2NotEnabledException.php
Expand Up @@ -16,6 +16,6 @@ final class Xdebug2NotEnabledException extends RuntimeException implements Excep
{
public function __construct()
{
parent::__construct('xdebug.coverage_enable=On has to be set');
parent::__construct('xdebug.coverage_enable=On (PHP configuration setting) has to be set');
}
}
2 changes: 1 addition & 1 deletion src/Exception/Xdebug3NotEnabledException.php
Expand Up @@ -16,6 +16,6 @@ final class Xdebug3NotEnabledException extends RuntimeException implements Excep
{
public function __construct()
{
parent::__construct('XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set');
parent::__construct('XDEBUG_MODE=coverage (environment variable) or xdebug.mode=coverage (PHP configuration setting) has to be set');
}
}

0 comments on commit 3352293

Please sign in to comment.