Merge branch '0.8' into 0.9

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

View file

@ -122,7 +122,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

@ -78,6 +78,7 @@ class PostalCodeTest extends \PHPUnit_Framework_TestCase
array('GB', 'PR1 9LY'),
array('US', '02179'),
array('YE', ''),
array('PL', '99-300'),
);
}
@ -101,6 +102,7 @@ class PostalCodeTest extends \PHPUnit_Framework_TestCase
array('GB', 'PR19LY'),
array('US', '021 79'),
array('YE', '02179'),
array('PL', '99300'),
);
}
}