-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
PHP 8.1. Compatibility #212
Comments
it would be great if the library becomes compatible with PHP 8.1. I'm currently using the library with 8.0 and haven't had any problems yet. Could you open a WIP PR for this, where you upload your changes? Thanks for your work! |
Hi @freescout-helpdesk , Please feel free to push a pr - we could also designate a special branch? Best regards and many thanks for your feedback. |
For our helpdesk PHP 8.1 support is required as most new installations are made now on PHP 8.1 So without PHP 8.1 we can't use php-imap package. |
PR created: #214 |
Hi @freescout-helpdesk , Best regards, Update: I should add that I haven't tested everything. I'll continue to write some testst to hopefully cover the majority of them. |
Thanks |
The package is not compatible with PHP 8.1 yet. There were a lot of serious changes in PHP 8.1: https://php.watch/versions/8.1 (see Deprecations in the bottom).
We've started to make php-imap compatible with PHP 8.1 but stuck on the following error when fetching emails via oAuth:
The patch with changes already made is attached. In order to see full error message we added
echo $e;
in Query.php on line 319.php81.zip
The text was updated successfully, but these errors were encountered: