From 7c83da9246c01bea14a6639b96eb4a953f346b48 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 26 Mar 2017 16:11:52 +0200 Subject: [PATCH] Added deprecation notices (#309) --- src/Mailgun/Constants/Api.php | 3 +++ src/Mailgun/Constants/ExceptionMessages.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/Mailgun/Constants/Api.php b/src/Mailgun/Constants/Api.php index 9ca998b..16eadd8 100644 --- a/src/Mailgun/Constants/Api.php +++ b/src/Mailgun/Constants/Api.php @@ -9,6 +9,9 @@ namespace Mailgun\Constants; +/** + * @deprecated Will be removed in 3.0 + */ class Api { const API_USER = 'api'; diff --git a/src/Mailgun/Constants/ExceptionMessages.php b/src/Mailgun/Constants/ExceptionMessages.php index bd5ce2c..ab370aa 100644 --- a/src/Mailgun/Constants/ExceptionMessages.php +++ b/src/Mailgun/Constants/ExceptionMessages.php @@ -9,6 +9,9 @@ namespace Mailgun\Constants; +/** + * @deprecated Will be removed in 3.0 + */ class ExceptionMessages { const EXCEPTION_INVALID_CREDENTIALS = 'Your credentials are incorrect.';