From fbbba38717f2077fc13b5967f9e69f9b27c18526 Mon Sep 17 00:00:00 2001 From: freek Date: Tue, 19 Feb 2019 08:58:10 +0100 Subject: [PATCH] ensure backwards compatiblity --- src/Downloader.php | 2 +- .../CouldNotDownloadCertificate.php | 5 ++++- .../CouldNotDownloadCertificate/HostDoesNotExist.php | 2 +- .../CouldNotDownloadCertificate/NoCertificateInstalled.php | 2 ++ src/Exceptions/CouldNotDownloadCertificate/UnknownError.php | 2 ++ 5 files changed, 10 insertions(+), 3 deletions(-) rename src/Exceptions/{CouldNotDownloadCertificate => }/CouldNotDownloadCertificate.php (63%) diff --git a/src/Downloader.php b/src/Downloader.php index 6d586c4..2f0985b 100644 --- a/src/Downloader.php +++ b/src/Downloader.php @@ -3,7 +3,7 @@ namespace Spatie\SslCertificate; use Throwable; -use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\CouldNotDownloadCertificate; +use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate; class Downloader { diff --git a/src/Exceptions/CouldNotDownloadCertificate/CouldNotDownloadCertificate.php b/src/Exceptions/CouldNotDownloadCertificate.php similarity index 63% rename from src/Exceptions/CouldNotDownloadCertificate/CouldNotDownloadCertificate.php rename to src/Exceptions/CouldNotDownloadCertificate.php index a9c5e63..8bbdd68 100644 --- a/src/Exceptions/CouldNotDownloadCertificate/CouldNotDownloadCertificate.php +++ b/src/Exceptions/CouldNotDownloadCertificate.php @@ -1,8 +1,11 @@