-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Begin with a fresh project, so I used the composer init command.
Output of composer diagnose:
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 2.2.6
PHP version: 7.4.27
PHP binary path: /usr/local/bin/php
OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
cURL version: 7.64.0 libz 1.2.11 ssl OpenSSL/1.1.1d
zip: extension present, unzip present, 7-Zip not available
When I run this command:
composer init
I get the following output:
And I expected this to happen: No prompt error when I enter only "John Doe", because :
- Author definition in composer schema : https://github.com/composer/composer/blob/main/res/composer-schema.json#L608-L637
- Only name is required: https://github.com/composer/composer/blob/main/res/composer-schema.json#L615
