From 359c6001d41570b8ead967f751bd297504a12123 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Fri, 30 Sep 2016 15:04:43 +0200 Subject: [PATCH] Deprecate SSL functions (#179) --- src/Mailgun/Connection/RestClient.php | 2 ++ src/Mailgun/Mailgun.php | 1 + 2 files changed, 3 insertions(+) diff --git a/src/Mailgun/Connection/RestClient.php b/src/Mailgun/Connection/RestClient.php index af90406..5d0665b 100644 --- a/src/Mailgun/Connection/RestClient.php +++ b/src/Mailgun/Connection/RestClient.php @@ -54,6 +54,7 @@ class RestClient * If we should use SSL or not. * * @var bool + * @deprecated To be removed in 3.0 */ protected $sslEnabled = true; @@ -351,6 +352,7 @@ class RestClient * @param bool $sslEnabled * * @return RestClient + * @deprecated To be removed in 3.0 */ public function setSslEnabled($sslEnabled) { diff --git a/src/Mailgun/Mailgun.php b/src/Mailgun/Mailgun.php index ca2b38d..5f9caa8 100644 --- a/src/Mailgun/Mailgun.php +++ b/src/Mailgun/Mailgun.php @@ -173,6 +173,7 @@ class Mailgun * @param bool $sslEnabled * * @return Mailgun + * @deprecated This will be removed in 3.0. Mailgun does not support non-secure connections to their API. */ public function setSslEnabled($sslEnabled) {