Merge branch '0.9' into 1.0

This commit is contained in:
Henrique Moody 2015-11-25 17:59:49 -02:00
commit b85ed687f2
2 changed files with 3 additions and 1 deletions

View file

@ -131,7 +131,7 @@ class PostalCode extends Regex
'PG' => "/^(\d{3})$/",
'PH' => "/^(\d{4})$/",
'PK' => "/^(\d{5})$/",
'PL' => "/^(\d{5})$/",
'PL' => "/^(\d{2}-\d{3})$/",
'PM' => '/^(97500)$/',
'PR' => "/^(\d{9})$/",
'PT' => "/^(\d{7})$/",

View file

@ -90,6 +90,7 @@ class PostalCodeTest extends \PHPUnit_Framework_TestCase
['GB', 'PR1 9LY'],
['US', '02179'],
['YE', ''],
['PL', '99-300'],
];
}
@ -123,6 +124,7 @@ class PostalCodeTest extends \PHPUnit_Framework_TestCase
['GB', 'PR19LY'],
['US', '021 79'],
['YE', '02179'],
['PL', '99300'],
];
}
}