今天在执行
composer global require "laravel/installer"
出现错误提示:
Deprecation Notice: The Composer\Package\LinkConstraint\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraintinstead.in phar:///usr/local/bin/composer/src/Composer/Package/LinkConstraint/MultiConstraint.php:17.
Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated,use Composer\Semver\Constraint\ConstraintInterface instead. in phar:///usr/local/bin/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php:17
解决办法:
composer global require "fxp/composer-asset-plugin:^1.2.0"
composer selfupdate
一是做个记录,而是给遇到同样问题的同学一些参考