php-cmis-client icon indicating copy to clipboard operation
php-cmis-client copied to clipboard

PHP 8 compatibility

Open ainsofs opened this issue 2 years ago • 4 comments

Does this library run on PHP 8.1? Im getting errors which seem to stem from the League\Url library. Any ideas how to get this working pls? Thnx

Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in League\Url\Components\AbstractComponent->__toString() (line 67 of /var/www/html/drupal/vendor/league/url/src/Components/AbstractComponent.php)

ainsofs avatar Jan 31 '23 03:01 ainsofs

This library does not provide PHP 8 support. Let me clarify with the main developers if there is a plan for that!

dkd-dobberkau avatar Jan 31 '23 08:01 dkd-dobberkau

Thanks that would be help as PHP 7.4 is end of life. I would be happy to assist with upgrade as I need this to upgrade my site to Drupal 10.

ainsofs avatar Feb 06 '23 01:02 ainsofs

Hello all,

I try to use the Drupal module phpcmis, which depends on this library. But the library does not work with PHP 8.0. Is there a plan to migrate ?

Thanks,

Alexander

Aaarrrgggh avatar Aug 23 '23 13:08 Aaarrrgggh

We are open for PR. This Library was funded many years ago by an EU project that has ended. There is usage in the Drupal community: Maybe there is a way to coordinate an effort there, too?

dkd-dobberkau avatar Aug 24 '23 07:08 dkd-dobberkau