Skip to content

Commit 87b8fe3

Browse files
committed
Fix long REGON validator
Signed-off-by: Michał Mleczko <michal@mleczko.waw.pl>
1 parent 3e06d36 commit 87b8fe3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"php": ">=8.0",
1414
"ext-intl": "*",
15-
"kiczort/polish-validator": "^1.1",
15+
"kiczort/polish-validator": "^1.2",
1616
"symfony/config" : "~6.1",
1717
"symfony/http-kernel" : "~6.1",
1818
"symfony/dependency-injection" : "~6.1",

tests/Constraints/RegonValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function getInvalidRegonNumbers()
9494
['1234567890'],
9595
['123456789012345'],
9696
['12345678'],
97+
'Long REGON validation' => ['12346678512347']
9798
];
9899
}
99100

0 commit comments

Comments
 (0)