| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -64,9 +64,7 @@ class EmailValidator extends Validator | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						{ | 
					 | 
					 | 
					 | 
						{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							parent::init(); | 
					 | 
					 | 
					 | 
							parent::init(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							if ($this->enableIDN && !function_exists('idn_to_ascii')) { | 
					 | 
					 | 
					 | 
							if ($this->enableIDN && !function_exists('idn_to_ascii')) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								// @codeCoverageIgnoreStart | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								throw new InvalidConfigException('In order to use IDN validation intl extension must be installed and enabled.'); | 
					 | 
					 | 
					 | 
								throw new InvalidConfigException('In order to use IDN validation intl extension must be installed and enabled.'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								// @codeCoverageIgnoreEnd | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							} | 
					 | 
					 | 
					 | 
							} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							if ($this->message === null) { | 
					 | 
					 | 
					 | 
							if ($this->message === null) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								$this->message = Yii::t('yii', '{attribute} is not a valid email address.'); | 
					 | 
					 | 
					 | 
								$this->message = Yii::t('yii', '{attribute} is not a valid email address.'); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -124,7 +122,6 @@ class EmailValidator extends Validator | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 * @param \yii\base\View $view the view object that is going to be used to render views or view files | 
					 | 
					 | 
					 | 
						 * @param \yii\base\View $view the view object that is going to be used to render views or view files | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 * containing a model form with this validator applied. | 
					 | 
					 | 
					 | 
						 * containing a model form with this validator applied. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 * @return string the client-side validation script. | 
					 | 
					 | 
					 | 
						 * @return string the client-side validation script. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 * @codeCoverageIgnore | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						 */ | 
					 | 
					 | 
					 | 
						 */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						public function clientValidateAttribute($object, $attribute, $view) | 
					 | 
					 | 
					 | 
						public function clientValidateAttribute($object, $attribute, $view) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						{ | 
					 | 
					 | 
					 | 
						{ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |