new deployer command

This commit is contained in:
Mark Gregory
2026-09-16 11:38:53 +01:00
parent 20bdb82ef9
commit 279d2761e3
6 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ final class Iso3166
{
$normalised = str_pad((string) $code, 3, '0', STR_PAD_LEFT);
if (! preg_match('/^[0-9]{3}$/', $normalised)) {
if (! preg_match('/^\d{3}$/', $normalised)) {
throw new InvalidArgumentException('ISO 3166-1 numeric codes must contain exactly three digits.');
}