From 15745d42b779ad14efde2932ab116f45eee39246 Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:11:04 +0100 Subject: Upgrade code to php 8.1 (#6748) * revert Fix code indentation Fix code Upgrade code to php 8.1 * fix remarques * code review * code review * code review * Apply suggestions from code review * code review * Fixes * Many remainging updates of array syntax * Lost case 'reading-list' * Uneeded PHPDoc --------- Co-authored-by: Luc Sanchez Co-authored-by: Alexandre Alapetite --- docs/en/admins/05_Configuring_email_validation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/en/admins/05_Configuring_email_validation.md') diff --git a/docs/en/admins/05_Configuring_email_validation.md b/docs/en/admins/05_Configuring_email_validation.md index aec6b8b75..2bbfeb6c3 100644 --- a/docs/en/admins/05_Configuring_email_validation.md +++ b/docs/en/admins/05_Configuring_email_validation.md @@ -36,7 +36,7 @@ PHPMailer documentation](http://phpmailer.github.io/PHPMailer/classes/PHPMailer. ```php 'mailer' => 'smtp', // instead of 'mail' - 'smtp' => array( + 'smtp' => [ 'hostname' => 'example.net', 'host' => 'smtp.example.net', // URL to your smtp server 'port' => 465, @@ -46,7 +46,7 @@ PHPMailer documentation](http://phpmailer.github.io/PHPMailer/classes/PHPMailer. 'password' => 'yoursecretpassword', 'secure' => 'ssl', // '', 'ssl' or 'tls' 'from' => 'alice@example.net', - ), + ], ``` ## Check your SMTP server is correctly configured -- cgit v1.2.3