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

Updating ninth digit req for BR cell phone numbers #734

Merged
merged 1 commit into from
Oct 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/Faker/Provider/pt_BR/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
* Extracted from http://portal.embratel.com.br/embratel/9-digito/ (point 11)
*/
protected static $ninthDigitAreaCodes = array(
11, 12, 13, 14, 15, 16, 17, 18, 19,
21, 22, 24, 27, 28,
91, 92, 93, 94, 95, 96, 97, 98, 99,
//31, 32, 33, 34, 35, 37, 38, 71, 73, 74, 75, 77, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, //by dec/2015
//41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 53, 54, 55, 61,62, 63, 64, 65, 66, 67, 68, 69 //by dec/2016
11, 12, 13, 14, 15, 16, 17, 18, 19, // aug/2013
21, 22, 24, 27, 28, // oct/2013
91, 92, 93, 94, 95, 96, 97, 98, 99, // nov/2014
81, 82, 83, 84, 85, 86, 87, 88, 89, // may/2015
31, 32, 33, 34, 35, 37, 38, 71, 73, 74, 75, 77, 79, // oct/2015
//41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 53, 54, 55, 61, 62, 63, 64, 65, 66, 67, 68, 69 //by dec/2016
);

/**
Expand Down