-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump 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!
Added more type hinting
…teralCallbackCallable()
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. |
@the-djmaze Do you also provide a ZIP-package of your fork? |
Not at the moment. |
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
…09ee355522837d72710aca92bd88bd2167
You are correct! |
Merge upstream
…defined', therefore 'null != value' is sufficient
Idk why, but when i tried it, it didnt worked on PHP 8. Can u make a release or something? Because for me it stucked on blank screen... |
Try Snappymail 2.1.1, a heavily updated fork of Rainloop. Snappymail is faster, lighter and much more futureproof (e.g. compatible with newer PHP versions). |
Most of the significiant functions that i really need are missing in there, so there is no chance of even trying. |
Blank screen means you can find the error in the php log. Since the development of RainLoop is slow, i've moved on with SnappyMail. |
For example login via google, thats thing i cant be without |
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)