aboutsummaryrefslogtreecommitdiff
path: root/vendor/phpunit/php-code-coverage/src/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/phpunit/php-code-coverage/src/Exception')
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/BranchAndPathCoverageNotSupportedException.php16
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/DeadCodeDetectionNotSupportedException.php16
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/DirectoryCouldNotBeCreatedException.php17
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/Exception.php16
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php14
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverAvailableException.php20
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverWithPathCoverageSupportAvailableException.php20
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/ParserException.php16
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/PathExistsButIsNotDirectoryException.php22
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/PcovNotAvailableException.php21
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/PhpdbgNotAvailableException.php21
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/ReflectionException.php16
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/ReportAlreadyFinalizedException.php20
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/StaticAnalysisCacheNotConfiguredException.php16
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/TestIdMissingException.php20
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php43
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/WriteOperationFailedException.php22
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/WrongXdebugVersionException.php17
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php21
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/Xdebug3NotEnabledException.php21
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/XdebugNotAvailableException.php21
-rw-r--r--vendor/phpunit/php-code-coverage/src/Exception/XmlException.php16
22 files changed, 0 insertions, 432 deletions
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/BranchAndPathCoverageNotSupportedException.php b/vendor/phpunit/php-code-coverage/src/Exception/BranchAndPathCoverageNotSupportedException.php
deleted file mode 100644
index ab2089197..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/BranchAndPathCoverageNotSupportedException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class BranchAndPathCoverageNotSupportedException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/DeadCodeDetectionNotSupportedException.php b/vendor/phpunit/php-code-coverage/src/Exception/DeadCodeDetectionNotSupportedException.php
deleted file mode 100644
index d36006489..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/DeadCodeDetectionNotSupportedException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class DeadCodeDetectionNotSupportedException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/DirectoryCouldNotBeCreatedException.php b/vendor/phpunit/php-code-coverage/src/Exception/DirectoryCouldNotBeCreatedException.php
deleted file mode 100644
index fdd9bfdf1..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/DirectoryCouldNotBeCreatedException.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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\Util;
-
-use RuntimeException;
-use SebastianBergmann\CodeCoverage\Exception;
-
-final class DirectoryCouldNotBeCreatedException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/Exception.php b/vendor/phpunit/php-code-coverage/src/Exception/Exception.php
deleted file mode 100644
index 28dc48b8a..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/Exception.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use Throwable;
-
-interface Exception extends Throwable
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php b/vendor/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php
deleted file mode 100644
index 17e4b7076..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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;
-
-final class InvalidArgumentException extends \InvalidArgumentException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverAvailableException.php b/vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverAvailableException.php
deleted file mode 100644
index b1494e267..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverAvailableException.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class NoCodeCoverageDriverAvailableException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('No code coverage driver available');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverWithPathCoverageSupportAvailableException.php b/vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverWithPathCoverageSupportAvailableException.php
deleted file mode 100644
index 0065b740d..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/NoCodeCoverageDriverWithPathCoverageSupportAvailableException.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class NoCodeCoverageDriverWithPathCoverageSupportAvailableException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('No code coverage driver with path coverage support available');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/ParserException.php b/vendor/phpunit/php-code-coverage/src/Exception/ParserException.php
deleted file mode 100644
index a907e34e8..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/ParserException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class ParserException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/PathExistsButIsNotDirectoryException.php b/vendor/phpunit/php-code-coverage/src/Exception/PathExistsButIsNotDirectoryException.php
deleted file mode 100644
index 54bd73f58..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/PathExistsButIsNotDirectoryException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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 function sprintf;
-use RuntimeException;
-use SebastianBergmann\CodeCoverage\Exception;
-
-final class PathExistsButIsNotDirectoryException extends RuntimeException implements Exception
-{
- public function __construct(string $path)
- {
- parent::__construct(sprintf('"%s" exists but is not a directory', $path));
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/PcovNotAvailableException.php b/vendor/phpunit/php-code-coverage/src/Exception/PcovNotAvailableException.php
deleted file mode 100644
index 2f0a66e5a..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/PcovNotAvailableException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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 PcovNotAvailableException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('The PCOV extension is not available');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/PhpdbgNotAvailableException.php b/vendor/phpunit/php-code-coverage/src/Exception/PhpdbgNotAvailableException.php
deleted file mode 100644
index bfb183d5c..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/PhpdbgNotAvailableException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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 PhpdbgNotAvailableException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('The PHPDBG SAPI is not available');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/ReflectionException.php b/vendor/phpunit/php-code-coverage/src/Exception/ReflectionException.php
deleted file mode 100644
index 78db430be..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/ReflectionException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class ReflectionException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/ReportAlreadyFinalizedException.php b/vendor/phpunit/php-code-coverage/src/Exception/ReportAlreadyFinalizedException.php
deleted file mode 100644
index 0481f1610..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/ReportAlreadyFinalizedException.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class ReportAlreadyFinalizedException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('The code coverage report has already been finalized');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/StaticAnalysisCacheNotConfiguredException.php b/vendor/phpunit/php-code-coverage/src/Exception/StaticAnalysisCacheNotConfiguredException.php
deleted file mode 100644
index fd58fd6b6..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/StaticAnalysisCacheNotConfiguredException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class StaticAnalysisCacheNotConfiguredException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/TestIdMissingException.php b/vendor/phpunit/php-code-coverage/src/Exception/TestIdMissingException.php
deleted file mode 100644
index 4cc3e0c2b..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/TestIdMissingException.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class TestIdMissingException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('Test ID is missing');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php b/vendor/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php
deleted file mode 100644
index cb7a975f7..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class UnintentionallyCoveredCodeException extends RuntimeException implements Exception
-{
- /**
- * @var array
- */
- private $unintentionallyCoveredUnits;
-
- public function __construct(array $unintentionallyCoveredUnits)
- {
- $this->unintentionallyCoveredUnits = $unintentionallyCoveredUnits;
-
- parent::__construct($this->toString());
- }
-
- public function getUnintentionallyCoveredUnits(): array
- {
- return $this->unintentionallyCoveredUnits;
- }
-
- private function toString(): string
- {
- $message = '';
-
- foreach ($this->unintentionallyCoveredUnits as $unit) {
- $message .= '- ' . $unit . "\n";
- }
-
- return $message;
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/WriteOperationFailedException.php b/vendor/phpunit/php-code-coverage/src/Exception/WriteOperationFailedException.php
deleted file mode 100644
index be549e17b..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/WriteOperationFailedException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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 function sprintf;
-use RuntimeException;
-use SebastianBergmann\CodeCoverage\Exception;
-
-final class WriteOperationFailedException extends RuntimeException implements Exception
-{
- public function __construct(string $path)
- {
- parent::__construct(sprintf('Cannot write to "%s"', $path));
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/WrongXdebugVersionException.php b/vendor/phpunit/php-code-coverage/src/Exception/WrongXdebugVersionException.php
deleted file mode 100644
index 6e8f10a92..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/WrongXdebugVersionException.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?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 WrongXdebugVersionException extends RuntimeException implements Exception
-{
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php b/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php
deleted file mode 100644
index 3039e77c0..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/Xdebug2NotEnabledException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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 has to be set');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/Xdebug3NotEnabledException.php b/vendor/phpunit/php-code-coverage/src/Exception/Xdebug3NotEnabledException.php
deleted file mode 100644
index 5d3b106ce..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/Xdebug3NotEnabledException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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 Xdebug3NotEnabledException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/XdebugNotAvailableException.php b/vendor/phpunit/php-code-coverage/src/Exception/XdebugNotAvailableException.php
deleted file mode 100644
index 1622c5a63..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/XdebugNotAvailableException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?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 XdebugNotAvailableException extends RuntimeException implements Exception
-{
- public function __construct()
- {
- parent::__construct('The Xdebug extension is not available');
- }
-}
diff --git a/vendor/phpunit/php-code-coverage/src/Exception/XmlException.php b/vendor/phpunit/php-code-coverage/src/Exception/XmlException.php
deleted file mode 100644
index 31e4623df..000000000
--- a/vendor/phpunit/php-code-coverage/src/Exception/XmlException.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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;
-
-use RuntimeException;
-
-final class XmlException extends RuntimeException implements Exception
-{
-}