Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: pauLee on June 29, 2017, 04:52:18 AM

Title: Deprecation Notice: The Composer\... class is deprecated
Post by: pauLee on June 29, 2017, 04:52:18 AM
Hello,

everytime I install a plugin with Composer, I get the following notice:
QuoteDeprecation Notice: The Composer\Package\LinkConstraint\VersionConstraint class is deprecated, use Composer\Semver\Constraint\Constraint instead. in phar:///www/htdocs/w00ee986/webmail/composer.phar/src/Composer/Package/LinkConstraint/VersionConstraint.php:17
Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface instead. in phar:///www/htdocs/w00ee986/webmail/composer.phar/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php:17

I have Composer version 1.4.2 2017-05-17 08:17:52 installed.

Is there a way to solve the problem?

I found an answer to exact this question here: https://github.com/composer/composer/issues/4555

...but I don't know how to edit the .phar file that´s why I ask.


Thanks in advance!
Title: Re: Deprecation Notice: The Composer\... class is deprecated
Post by: alec on June 29, 2017, 07:50:20 AM
It might be plugin-installer issue. I created a ticket https://github.com/roundcube/plugin-installer/issues/14
Title: Re: Deprecation Notice: The Composer\... class is deprecated
Post by: pauLee on June 29, 2017, 08:08:29 AM
Thank you!