标题的内容也是手贱导致的,本来composer不self-update也不会出现这个问题,这不,一升到最新的composer就出问题了
- Your configuration does not allow connection to http://packagist.phpcomposer.com. See https://getcomposer.org/doc/06-config.md#secure-http for details.
- http://packagist.phpcomposer.com could not be fully loaded, package information was loaded from the local cache and may be out of date
- Installation failed, reverting ./composer.json to its original content.
- composer diag
- Checking composer.json: FAIL
- No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
- require.yiisoft/yii2 : unbound version constraints (*) should be avoided
- Checking platform settings: OK
- Checking git settings: OK
- Checking http connectivity to packagist: OK
- Checking https connectivity to packagist: OK
- Checking github.com oauth access: OK
- Checking disk free space: OK
- Checking pubkeys:
- Tags Public Key Fingerprint: ???? 已隐藏
- Dev Public Key Fingerprint: ????? 已隐藏
- OK
- Checking composer version: FAIL
- You are not running the latest stable version, run `composer self-update` to update (e8b1a5f35772e39ca21ab855a278bd84a0a534b2 => 1.0.0-beta2)
- Changed current directory to /Users/gouki/.composer
- Using version ^1.1 for fxp/composer-asset-plugin
- ./composer.json has been updated
- Loading composer repositories with package information
- Updating dependencies (including require-dev)
- - Removing fxp/composer-asset-plugin (v1.1.1)
- - Installing fxp/composer-asset-plugin (v1.1.2)
- Downloading: 100%
- Writing lock file
- Generating autoload files