Deprecate version constants in SMTP and POP3 classes; they will always be the same as PHPMailer:VERSION

This commit is contained in:
Marcus Bointon 2025-11-25 08:08:54 +01:00
parent 6631e9049e
commit 2050f506c3
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class POP3
* The POP3 PHPMailer Version number.
*
* @var string
* @deprecated This constant will be removed in PHPMailer 8.0. Use `PHPMailer::VERSION` instead.
*/
const VERSION = '7.0.0';

View File

@ -34,6 +34,7 @@ class SMTP
* The PHPMailer SMTP version number.
*
* @var string
* @deprecated This constant will be removed in PHPMailer 8.0. Use `PHPMailer::VERSION` instead.
*/
const VERSION = '7.0.0';