Inital commit for unit test configuration
This commit is contained in:
committed by
Manish Verma
parent
2f0796e954
commit
e0436b7757
@@ -16,7 +16,7 @@ class SpoofCheckValidation implements EmailValidation
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
if (!class_exists(Spoofchecker::class)) {
|
||||
if (!extension_loaded('intl')) {
|
||||
throw new \LogicException(sprintf('The %s class requires the Intl extension.', __CLASS__));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user