Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Fix infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Van Poeck committed Nov 2, 2017
1 parent 6c457fd commit 877aa2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/Faker/Provider/fr_FR/PhoneNumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function testMobileNumber07WithSeparator()
$mobile = $this->faker->mobileNumber();
} while ('+33 7' != substr($mobile, 0, 5));
$this->assertRegExp('/^(?:(?:\+33 (?:\(0\))?)|0)7 (?:3|4|5|6|7|8|9)\d(?: \d{2}){3}$/', $mobile);
$i++;
}
}
}

0 comments on commit 877aa2b

Please sign in to comment.