Don't ask for people's phone numbers so they can sign up. There is no need for it, it is personal data and unnescessary.
Sign up details, no need to ask for a phone number. That is none of Yahoo's business. Email address, name and password is all you need.