1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00
phorge-phorge/externals/phpmailer
Andre Klapper d9e543ba97 PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature
Summary:
Required parameters $password and $username follow the optional parameter $tval.
This is deprecated since PHP 8.0 per https://www.php.net/manual/en/migration80.deprecated.php
Define defaults for those required parameters to fix the issue - https://github.com/PHPMailer/PHPMailer/blob/master/src/POP3.php#L199 seems to also have survived so far without complaints by PHP 8 users (and PHPStan also does not complain anymore after this change).

Closes T15834

Test Plan: Carefully read the code.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15834

Differential Revision: https://we.phorge.it/D25660
2024-05-30 15:40:35 +02:00
..
class.phpmailer-lite.php PHPMailer: Remove unused variable 2024-05-28 08:35:47 +02:00
class.phpmailer.php PHPMailer: Remove unused variable 2024-05-28 08:35:47 +02:00
class.pop3.php PHPMailer: Set defaults for required parameters followed by optional parameters in Authorise() method signature 2024-05-30 15:40:35 +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