Examples/mailing_list: remove use of `E_STRICT`

While this is only example code, it is still code which should be functional for all supported PHP versions.

As `E_STRICT` has been deprecated since PHP 8.4 and wasn't really all that useful since PHP 7.0 anyway, it's probably better not to mention it in the example code.

Ref: https://wiki.php.net/rfc/deprecations_php_8_4#remove_e_strict_error_level_and_deprecate_e_strict_constant
This commit is contained in:
jrfnl 2025-11-23 05:14:13 +01:00
parent c24a4147cd
commit b9d0e242fb
No known key found for this signature in database
GPG Key ID: 88BCD0973A23BCC6
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
error_reporting(E_STRICT | E_ALL);
error_reporting(E_ALL);
date_default_timezone_set('Etc/UTC');