about summary refs log tree commit diff stats
path: root/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php b/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php
new file mode 100644
index 0000000..4ee232d
--- /dev/null
+++ b/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php
@@ -0,0 +1,21 @@
+<?php declare(strict_types=1);
+/*
+ * This file is part of phpunit/php-code-coverage.
+ *
+ * (c) Sebastian Bergmann <sebastian@phpunit.de>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+namespace SebastianBergmann\CodeCoverage\Driver;
+
+use RuntimeException;
+use SebastianBergmann\CodeCoverage\Exception;
+
+final class Xdebug2NotEnabledException extends RuntimeException implements Exception
+{
+    public function __construct()
+    {
+        parent::__construct('xdebug.coverage_enable=On (PHP configuration setting) has to be set');
+    }
+}