Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBump minimum to PHP 7.3 (as the rest is EOL) #1982
Conversation
…elpers\FacebookRedirectLoginHelper
pclzip to ZipArchive
This also includes: * removal of PHP_VERSION 5.x checks * use $_SERVER['REQUEST_TIME_FLOAT'] instead of APP_START and APP_START_TIME * use admin password_hash Keep in mind i couldn't test/resolve all potential bugs!
…_gpc
Added more type hinting
…teralCallbackCallable()
FlorianLaunay
commented
Mar 26, 2020
|
Hi @RainLoop . Do you plan to check this PR ? It will certainly resolve #1979 on PHP 7.4. Thank you @the-djmaze ! |
Actually those are already solved a250d84 And this one when you use contacts 2bb947d I also have more changes prepared (like: class \MailSo\Base\Collection extends \ArrayObject) which gives better memory management and speed. |
phsc84
commented
Jul 7, 2020
|
@the-djmaze Do you also provide a ZIP-package of your fork? |
Not at the moment. |
phsc84
commented
Jul 11, 2020
|
I have just tried, what you told me. Unfortunately I get the a blank page. The browser log (F12) shows the folllowing error: |
# Conflicts: # rainloop/v/0.0.0/app/libraries/MailSo/Base/Crypt.php # rainloop/v/0.0.0/app/libraries/MailSo/Base/Utils.php # rainloop/v/0.0.0/app/libraries/MailSo/Mail/MailClient.php # rainloop/v/0.0.0/app/libraries/MailSo/Mime/Email.php # rainloop/v/0.0.0/app/libraries/MailSo/Mime/EmailDep.php # rainloop/v/0.0.0/app/libraries/MailSo/Sieve/ManageSieveClient.php # rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php # rainloop/v/0.0.0/app/libraries/RainLoop/Service.php # rainloop/v/0.0.0/app/libraries/RainLoop/ServiceActions.php # rainloop/v/0.0.0/include.php
You are correct! |
the-djmaze commentedMar 16, 2020
•
edited
The changes in this branch converted all function calls in MailSo and RainLoop libraries to be PHP 7.3+ with type hinting.
Due to the massive changes i couldn't test all conversions yet (so it might be still broken and i'm fixing it).
I've also merged the latest changes since 1.4.0 (but password_hash is different due to PHP 7.3+).
It might work in PHP 7.2 (but that is in extended support 30 Nov 2020)
Most conversion is done by using the doc comments @param and @return and the param $b*, $s*, $i* but these seem to be broken while testing.
Like: "$s*" are bool or "@param string" are "@param string|null"
That's why it takes longer and i didn't create pull requests for documentation errors.
The current marked conflicts are only CRLF vs LF (my files don't use CRLF)