Roundcube Community Forum

 

Deprecation Notice: The Composer\... class is deprecated

Started by pauLee, June 29, 2017, 04:52:18 AM

Previous topic - Next topic

pauLee

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!