diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e5e0a0..057ec25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ (These interfaces use the `Interface` suffix to avoid name collisions.) - Added an interface for HttpClientPool and moved the abstract class to the HttpClientPool sub namespace. - AddPathPlugin: Do not add the prefix if the URL already has the same prefix. +- All exceptions in `Http\Client\Common\Exception` are final. ### Removed - Deprecated option `debug_plugins` has been removed from `PluginClient` diff --git a/src/Exception/CircularRedirectionException.php b/src/Exception/CircularRedirectionException.php index de2063e..9db927c 100644 --- a/src/Exception/CircularRedirectionException.php +++ b/src/Exception/CircularRedirectionException.php @@ -11,6 +11,6 @@ * * @author Joel Wurtz */ -class CircularRedirectionException extends HttpException +final class CircularRedirectionException extends HttpException { } diff --git a/src/Exception/ClientErrorException.php b/src/Exception/ClientErrorException.php index 1b187e7..c657a3f 100644 --- a/src/Exception/ClientErrorException.php +++ b/src/Exception/ClientErrorException.php @@ -11,6 +11,6 @@ * * @author Joel Wurtz */ -class ClientErrorException extends HttpException +final class ClientErrorException extends HttpException { } diff --git a/src/Exception/HttpClientNotFoundException.php b/src/Exception/HttpClientNotFoundException.php index 5f16053..509daa5 100644 --- a/src/Exception/HttpClientNotFoundException.php +++ b/src/Exception/HttpClientNotFoundException.php @@ -11,6 +11,6 @@ * * @author Joel Wurtz */ -class HttpClientNotFoundException extends TransferException +final class HttpClientNotFoundException extends TransferException { } diff --git a/src/Exception/LoopException.php b/src/Exception/LoopException.php index e84053c..f4e173f 100644 --- a/src/Exception/LoopException.php +++ b/src/Exception/LoopException.php @@ -11,6 +11,6 @@ * * @author Joel Wurtz */ -class LoopException extends RequestException +final class LoopException extends RequestException { } diff --git a/src/Exception/MultipleRedirectionException.php b/src/Exception/MultipleRedirectionException.php index 4c7814e..bf6c9f7 100644 --- a/src/Exception/MultipleRedirectionException.php +++ b/src/Exception/MultipleRedirectionException.php @@ -11,6 +11,6 @@ * * @author Joel Wurtz */ -class MultipleRedirectionException extends HttpException +final class MultipleRedirectionException extends HttpException { } diff --git a/src/Exception/ServerErrorException.php b/src/Exception/ServerErrorException.php index 1ad2552..774b97f 100644 --- a/src/Exception/ServerErrorException.php +++ b/src/Exception/ServerErrorException.php @@ -11,6 +11,6 @@ * * @author Joel Wurtz */ -class ServerErrorException extends HttpException +final class ServerErrorException extends HttpException { }