[pear/Mail] 19be34: Do not use parseAddressList statically (#21)
[email protected] ("Athos Ribeiro via pear-cvs") Fri, 13 Jan 2023 11:57:46 -0800
| Newsgroups | php.pear.cvs |
|---|---|
| Message-ID | <pear/Mail/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/pear/Mail
Commit: 19be349ce46efbd8c08565b45d8033fcea4627d8
https://github.com/pear/Mail/commit/19be349ce46efbd8c08565b45d8033fcea4627d8
Author: Athos Ribeiro <[email protected]>
Date: 2023-01-13 (Fri, 13 Jan 2023)
Changed paths:
M Mail/RFC822.php
M tests/9137.phpt
M tests/9137_2.phpt
M tests/bug17178.phpt
M tests/bug17317.phpt
M tests/validateQuotedString.phpt
A tests/validateQuotedStringWithStatcCalls.phpt
Log Message:
-----------
Do not use parseAddressList statically (#21)
* Do not use parseAddressList statically
Since PHP 8, calling non-static methods statically results in fatal
errors.
This change was introduced in the php-mail package in Ubuntu to support
PHP 8 by Bryce Harrington.
Signed-off-by: Athos Ribeiro <[email protected]>
* Allow deprecated parseAddressList usage in PHP < 8
Signed-off-by: Athos Ribeiro <[email protected]>
Signed-off-by: Athos Ribeiro <[email protected]>