cakephp2-php8/lib/Cake/Utility
Charles Burgess fa3d4a0bb5 Updating the phone validation routine.
According to NANPA, there are area codes and exchanges that are invalid or reserved and not available for assignment. This would make those phone numbers invalid. For example:

- area-codes: 555, N11, N9X, 37X, 96X
- exchanges: N11
- numbers: 555-0100 thru 555-0199

You could also say 555-1212 is invalid as it is assigned as information for the US.

I changed the tests where 555 as an area code was being used as the assertion will give it a false on the area code and not the exchange as intended.
2013-07-09 09:54:18 -06:00
..
CakeNumber.php Merge branch 'master' into 2.4 2013-07-07 12:22:12 +05:30
CakeTime.php Merge branch 'master' into 2.4 2013-07-03 14:21:09 -04:00
ClassRegistry.php whitespace coding standards 2013-07-05 14:15:18 +02:00
Debugger.php doublespace to single space 2013-07-05 14:36:40 +02:00
File.php Merge branch 'master' into 2.4 2013-06-02 18:03:59 +05:30
Folder.php simplify else cases 2013-07-03 01:14:41 +02:00
Hash.php coding standards and else block simplification 2013-07-03 19:27:17 +02:00
Inflector.php Merge branch 'master' into 2.4 2013-07-03 14:21:09 -04:00
ObjectCollection.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Sanitize.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Security.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Set.php doublespace to single space 2013-07-05 14:36:40 +02:00
String.php Fixed three @param data types 2013-07-06 16:49:21 +02:00
Validation.php Updating the phone validation routine. 2013-07-09 09:54:18 -06:00
Xml.php Merge branch 'master' into 2.4 2013-06-09 18:08:32 +05:30