-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer init Author name not valid. #3948
Comments
This makes no sense. https://github.com/composer/composer/blob/master/src/Composer/Command/InitCommand.php#L41-L56 Can you maybe tell us what error you are actually receiving? And what value for "author" you are submitting? |
Ok, I see why. I'll have a solution soon. |
On a side note, I recommend you use your actual real name in the author field, not some nickname. Author is not the same as vendor, they do not have to match. |
Yeah, that makes sense. Regardless, this way I can quickly accept it and then manually change the Author name and I don't have to type my email anymore :p |
hello , CupOfTea696 |
@shaikhAli this issue has been resolved and you should no longer get this error (unless you are using an ancient version of Composer). |
thanx @alcohol |
Hi,
Whenever I run composer init and want to accept the default suggestion for Author, composer says it's an invalid author string. I know this is because my Github username has numbers in it, but I always manually modify the composer.json to add those anyway. Could the validation be modified so that it also accepts numbers in the Author string?
The text was updated successfully, but these errors were encountered: