-
Notifications
You must be signed in to change notification settings - Fork 46
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
vendor/masnathan/odtphp deprecation warnings with php 8.3 #385
Comments
I was able to solve this problem by adding I would prefer to see https://github.com/TECLIB/odtphp get fixed. |
Unfortunately, original lib is not maintained for years, I do not think we will fix this fork. The best solution would be to replace that lib with another one that is still supported (phpspreadshirt has been included as part of GLPI 11, it's certainly the best option). Adapting whole PHP configuration for such issues is most of the time not a good solution (but that's up to you). |
OK, understood that this is fixed in GLPI 11. Where can I find out more about GLPI 11 and follow it's schedule and release? |
This is not fixed in GLPI 11. I just mean there is already another ODT export lib included, so plugin should use the same. |
In the meantime I released a version of odtphp which is compatible with PHP 8.x. I needed it for my own projects. It's at https://github.com/sboden/odtphp. I started from cybermonde/odtphp, but most if not all of the TECLIB changes are included. sboden/odtphp has some phpunit test cases and is phpcs warning free. |
When I try to generate a PO, I get these warnings:
This comes from https://github.com/TECLIB/odtphp apparently.
The text was updated successfully, but these errors were encountered: