1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-10-18 14:48:50 +02:00
phorge-phorge/externals/phpmailer
Andre Klapper a579a974eb PHPMailer: Remove use of each() function removed in PHP 8.0
Summary:
`each()` has been deprecated since PHP 7.2 and got removed in PHP 8.0 per https://www.php.net/manual/en/function.each.php

Replace it with a `foreach` construction.

Closes T15833

Test Plan: Carefully read the code; locally testing that construction per D25659#18155; compare to similar rP9623e667458821f696eb92e9dac5a2c9720af7af

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15833

Differential Revision: https://we.phorge.it/D25659
2024-05-19 13:10:12 +02:00
..
class.phpmailer-lite.php PHPMailer: Remove use of each() function removed in PHP 8.0 2024-05-19 13:10:12 +02:00
class.phpmailer.php PHPMailer: Remove use of each() function removed in PHP 8.0 2024-05-19 13:10:12 +02:00
class.pop3.php PHPMailer: Remove a check for PHP 5.0 2024-05-18 02:00:28 +02:00
class.smtp.php replace usage of each() with foreach() for smtp 2023-03-03 19:27:57 +01:00
LICENSE Get rid of +x on a bunch of nonexecutable files because I failed to set 2011-04-02 16:47:20 -07:00