当我尝试这样做时:
$ sudo php composer.phar update
我收到这个警告:
Warning: This development build of composer is over 30 days old. It is recommended to update it by running "composer.phar self-update" to get the latest version.
当我输入:
$ sudo php composer.phar self-update
$ sudo php composer.phar update
警告消失了,但下次我想执行相同的命令时(不是在 30 天之后),警告又来了。我该如何解决?