Page MenuHomePhorge

PHPMailer: Remove a check for PHP 5.0
ClosedPublic

Authored by aklapper on May 17 2024, 14:18.
Tags
None
Referenced Files
F3295967: D25661.1742965451.diff
Tue, Mar 25, 05:04
F3290851: D25661.1742874584.diff
Mon, Mar 24, 03:49
F3290056: D25661.1742858322.diff
Sun, Mar 23, 23:18
F3249529: D25661.1742286472.diff
Mon, Mar 17, 08:27
F3178729: D25661.1741312572.diff
Thu, Mar 6, 01:56
F2998566: D25661.1740413974.diff
Sun, Feb 23, 16:19
F2995988: D25661.1740361184.diff
Feb 23 2025, 01:39
F2995986: D25661.1740361183.diff
Feb 23 2025, 01:39

Details

Summary

Phorge requires PHP 5.5, thus remove a version check for PHP 5.0.
Compare the same code in https://github.com/PHPMailer/PHPMailer/blob/master/src/POP3.php#L282-L283

Test Plan

Carefully read the code.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 17 2024, 17:57
externals/phpmailer/class.pop3.php
398

In general it's probably nice to also remove this ?> so to avoid to print a newline by mistake. If it happens in a file, it's super-tricky to troubleshoot, and it breaks HTTP headers for "early output" during the class load

externals/phpmailer/class.pop3.php
398

IMHO ideally commits are atomic and solve one thing. If you want all ?> last lines across files removed, could you please file a dedicated task so we can have a dedicated commit? Thanks!