Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Addition of en_GB mobileNumber methods #438

Merged
merged 4 commits into from Jan 4, 2015

Conversation

daveblake
Copy link
Contributor

Additions to the PhoneNumber Provider for en_GB so that a UK format phone number can be returned.

* Return a en_GB cell (mobile) phone number
* @return string
*/
public static function cellNumber()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big fan of multiple ways to do a single thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added that in to be consistent with

/src/Faker/Provider/en_NZ/PhoneNumber.php

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I suggest you remove it from your locale, AND from the en_NZ. This duplicate formatter passed through my code review...

@daveblake
Copy link
Contributor Author

I've removed cellNumber from en_GB and en_NZ.

@fzaninotto
Copy link
Owner

Tests fail

fzaninotto added a commit that referenced this pull request Jan 4, 2015
Addition of en_GB mobileNumber methods
@fzaninotto fzaninotto merged commit 8648a4d into fzaninotto:master Jan 4, 2015
@fzaninotto
Copy link
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants