From 55290af1fda4e97fe26b0eca9ccd2296a8d6cc73 Mon Sep 17 00:00:00 2001 From: Alexandre Gomes Gaigalas Date: Sat, 18 Feb 2023 18:27:28 -0300 Subject: [PATCH] Add test cases for issue #665 to PhoneTest --- tests/unit/Rules/PhoneTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/Rules/PhoneTest.php b/tests/unit/Rules/PhoneTest.php index 623f622a..7b6b6e9a 100644 --- a/tests/unit/Rules/PhoneTest.php +++ b/tests/unit/Rules/PhoneTest.php @@ -32,6 +32,9 @@ final class PhoneTest extends RuleTestCase { return [ [new Phone(), '+1 650 253 00 00'], + [new Phone(), '+7 (999) 999-99-99'], + [new Phone(), '+7(999)999-99-99'], + [new Phone(), '+7(999)999-9999'], [new Phone('BR'), '+55 11 91111 1111'], [new Phone('BR'), '11 91111 1111'], // no international prefix [new Phone('BR'), '+5511911111111'], // no whitespace