Author Topic: Deprecation Notice: The Composer\... class is deprecated  (Read 4263 times)

Offline pauLee

  • Jr. Member
  • **
  • Posts: 29
Deprecation Notice: The Composer\... class is deprecated
« on: June 29, 2017, 04:52:18 AM »
Hello,

everytime I install a plugin with Composer, I get the following notice:
Quote
Deprecation 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!

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Deprecation Notice: The Composer\... class is deprecated
« Reply #1 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

Offline pauLee

  • Jr. Member
  • **
  • Posts: 29
Re: Deprecation Notice: The Composer\... class is deprecated
« Reply #2 on: June 29, 2017, 08:08:29 AM »
Thank you!