63ffae028e 
					 
					
						
						
							
							Fixes   #14254 : add an option to specify whether validator is forced to always use master DB for yii\validators\UniqueValidator and yii\validators\ExistValidator  
						
						 
						
						
						
						
					 
					
						2018-02-15 02:12:54 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9e566d7021 
					 
					
						
						
							
							#8092 : Enhance exists validator for relations ( #15647 )  
						
						 
						
						
						
						
					 
					
						2018-02-13 15:38:35 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a18ee838fd 
					 
					
						
						
							
							Fixes   #8092 : ExistValidator for relations  
						
						 
						
						
						
						
					 
					
						2018-02-13 01:12:05 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						eb57d4191c 
					 
					
						
						
							
							Fixes   #15553 : Fixed yii\validators\NumberValidator incorrectly validate resource  
						
						 
						
						
						
						
					 
					
						2018-01-25 14:28:41 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						71c541773f 
					 
					
						
						
							
							PHPDoc fix  
						
						 
						
						
						
						
					 
					
						2018-01-23 13:17:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						65f6b59b35 
					 
					
						
						
							
							@inheritdoc notation changed 
						
						 
						
						
						
						
					 
					
						2018-01-23 13:11:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						72b69e359a 
					 
					
						
						
							
							Fixes   #15417 : Added yii\validators\FileValidator::$minFiles  
						
						 
						
						
						
						
					 
					
						2018-01-08 02:12:27 +04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b44bbd6a13 
					 
					
						
						
							
							Fix code issues ( #15435 )  
						
						 
						
						... 
						
						
						
						* Fix some scrunitizer warnings
* Remove obsolete require
* Fix codestyle 
						
						
					 
					
						2018-01-01 16:21:37 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0bec2b462c 
					 
					
						
						
							
							Fixes   #14484 : Fixed yii\validators\UniqueValidator for target classes with a default scope  
						
						 
						
						
						
						
					 
					
						2017-12-18 10:41:13 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d604d80823 
					 
					
						
						
							
							Fixes   #14043 : Added yii\helpers\IpHelper  
						
						 
						
						
						
						
					 
					
						2017-12-10 01:15:39 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1453eeaa4a 
					 
					
						
						
							
							Added example to validateValue PHPDoc [skip ci] ( #15193 )  
						
						 
						
						
						
						
					 
					
						2017-11-24 13:56:58 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c009b06114 
					 
					
						
						
							
							Fixes   #14604 : Fixed yii\validators\CompareValidator compareAttribute does not work if compareAttribute form ID has been changed  
						
						 
						
						
						
						
					 
					
						2017-11-15 00:43:14 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						13cd7d7ee0 
					 
					
						
						
							
							Fixes   #6588 : Fixed changing array keys after validation of multiple files in yii\validators\FileValidator  
						
						 
						
						
						
						
					 
					
						2017-11-01 12:26:25 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						64d8af61a6 
					 
					
						
						
							
							Fixes for PHP 7.2 compatibility ( #14959 )  
						
						 
						
						
						
						
					 
					
						2017-10-19 01:54:40 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						36b535c26b 
					 
					
						
						
							
							Fixes   #13254 : Made yii\helpers\StringHelper and yii\validators\StringValidator independent of Yii::$app instance  
						
						 
						
						
						
						
					 
					
						2017-09-07 22:32:07 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5a8c3d537b 
					 
					
						
						
							
							Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )  
						
						 
						
						... 
						
						
						
						* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc". 
						
						
					 
					
						2017-08-21 11:19:35 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1501c659ac 
					 
					
						
						
							
							Add empty lines before return statements. ( #14682 ) [skip ci]  
						
						 
						
						
						
						
					 
					
						2017-08-21 01:58:49 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2466d397ae 
					 
					
						
						
							
							Fixed yii\validators\ExistValidator and yii\validators\UniqueValidator throw exception in case they are set for yii\db\ActiveRecord with $targetClass pointing to NOSQL ActiveRecord  
						
						 
						
						
						
						
					 
					
						2017-07-25 16:17:37 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8ae2223c6a 
					 
					
						
						
							
							Fixes   #14370 : Fixed creating built-in validator in model with same function name  
						
						 
						
						
						
						
					 
					
						2017-07-23 17:17:20 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1f26db9fb7 
					 
					
						
						
							
							Applied code style fixes  
						
						 
						
						
						
						
					 
					
						2017-07-21 15:42:06 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fe8a0a6a2e 
					 
					
						
						
							
							Enable no_useless_else rule in php-cs-fixer ( #14420 )  
						
						 
						
						
						
						
					 
					
						2017-07-10 11:26:21 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cb09e1e463 
					 
					
						
						
							
							calling getAttributeNames() only once  
						
						 
						
						... 
						
						
						
						close  #14389  
						
						
					 
					
						2017-07-05 12:20:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d4c15c36d0 
					 
					
						
						
							
							Fixes   #14304 : Fixed yii\validators\UniqueValidator and yii\validators\ExistValidator to skip prefixes in case expressions are used  
						
						 
						
						
						
						
					 
					
						2017-06-27 00:02:47 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ba0ab403b5 
					 
					
						
						
							
							Added php-cs-fixer coding standards validation to Travis CI ( #14100 )  
						
						 
						
						... 
						
						
						
						* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues. 
						
						
					 
					
						2017-06-12 12:25:45 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						be658f82bf 
					 
					
						
						
							
							release version 2.0.12  
						
						 
						
						
						
						
					 
					
						2017-06-05 16:33:41 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						40e5702b6b 
					 
					
						
						
							
							Fixes   #5108  DateValidator resets $timestampAttribute value on empty attribute ( #14242 )  
						
						 
						
						... 
						
						
						
						* `yii\validators\DateValidator` now resets `$timestampAttribute` value on empty validated attribute value
* array-value test at `DateValidatorTest` restored 
						
						
					 
					
						2017-06-05 11:50:02 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						921147dca5 
					 
					
						
						
							
							Fixes   #14161 ,  #14150 : fixed primary table aliasing (include case manual set alias) in validators  
						
						 
						
						
						
						
					 
					
						2017-05-16 13:24:49 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a087c8537 
					 
					
						
						
							
							#14150 : Added {{ and }} to getTablesUsedInFrom() output  
						
						 
						
						
						
						
					 
					
						2017-05-12 15:55:37 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d331b72be6 
					 
					
						
						
							
							Merge branch 'master' into unique-validator-fix  
						
						 
						
						
						
						
					 
					
						2017-05-12 00:45:55 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						96382454b1 
					 
					
						
						
							
							Additional refactoring as suggested by @dynasource  
						
						 
						
						
						
						
					 
					
						2017-05-10 13:08:29 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9828bde1db 
					 
					
						
						
							
							Added escaping for column name  
						
						 
						
						
						
						
					 
					
						2017-05-10 12:04:54 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5c72047426 
					 
					
						
						
							
							Fixed ambiguous column name in SELECT in UniqueValidator  
						
						 
						
						... 
						
						
						
						fixes  #14042  
						
						
					 
					
						2017-05-10 12:02:48 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						23cc4bf4fe 
					 
					
						
						
							
							Further changes for unique and exist validators  
						
						 
						
						... 
						
						
						
						- Combined methods for getting names and aliases of from tables
- Normalized names and aliases
- Added MSSQL syntax
- Added support for spaces in aliases and table names 
						
						
					 
					
						2017-05-10 00:35:40 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4a17032717 
					 
					
						
						
							
							Fix validators documentation  
						
						 
						
						
						
						
					 
					
						2017-04-27 21:50:51 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						37fc6c5afb 
					 
					
						
						
							
							Alternative names  
						
						 
						
						
						
						
					 
					
						2017-04-26 15:36:36 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3598f8180c 
					 
					
						
						
							
							Fixes   #13087 : Fixed getting active validators for safe attribute  
						
						 
						
						
						
						
					 
					
						2017-04-26 02:29:10 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						99a0289221 
					 
					
						
						
							
							Applied disambiguation to ExistValidator as well  
						
						 
						
						
						
						
					 
					
						2017-04-26 01:52:57 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cf7f358093 
					 
					
						
						
							
							Removed obsolete import  
						
						 
						
						
						
						
					 
					
						2017-04-25 23:30:53 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7db93fc33d 
					 
					
						
						
							
							Refactored solution to be contained within ActiveQuery instead of helper  
						
						 
						
						
						
						
					 
					
						2017-04-25 23:24:27 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8474927a55 
					 
					
						
						
							
							Fixed ambiguous error sql while using unique validator  
						
						 
						
						
						
						
					 
					
						2017-04-25 23:24:12 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						59d3292399 
					 
					
						
						
							
							[IpValidator] disable ipv6 checks ( #13984 )  
						
						 
						
						... 
						
						
						
						* disable ipv6 checks
* remove empty line
* updated CHANGELOG.md 
						
						
					 
					
						2017-04-18 19:06:31 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5bbf372f85 
					 
					
						
						
							
							cleanup some phpdoc  
						
						 
						
						
						
						
					 
					
						2017-04-04 10:33:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4eed7fb3da 
					 
					
						
						
							
							Fixes   #13901 : Fixed passing unused parameter to formatMessage() call in \yii\validators\IpValidator  
						
						 
						
						
						
						
					 
					
						2017-04-02 22:18:06 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cd64fb2dc6 
					 
					
						
						
							
							Refactored BooleanValidator ( #13791 )  
						
						 
						
						
						
						
					 
					
						2017-03-17 01:59:11 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3c1f3e20cf 
					 
					
						
						
							
							Fixes   #13704 : Fixed yii\validators\UniqueValidator to prefix attribute name with model's database table name  
						
						 
						
						
						
						
					 
					
						2017-03-16 17:42:31 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						06967f9018 
					 
					
						
						
							
							Fixes   #13254 : Core validators no longer require Yii::$app to be set  
						
						 
						
						
						
						
					 
					
						2017-03-14 15:37:54 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6397791513 
					 
					
						
						
							
							Fixed whitespaces to match code style [skip ci]  
						
						 
						
						
						
						
					 
					
						2017-03-14 09:42:13 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3536c7c4f9 
					 
					
						
						
							
							Additional fixes for  #13087  
						
						 
						
						
						
						
					 
					
						2017-02-22 23:15:40 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a182ce57fc 
					 
					
						
						
							
							Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) ( #13606 )  
						
						 
						
						... 
						
						
						
						* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed 
						
						
					 
					
						2017-02-22 17:07:52 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2de18cf9a5 
					 
					
						
						
							
							Fixes   #13087 : Fixed getting active validators for safe attribute  
						
						 
						
						
						
						
					 
					
						2017-02-22 17:06:19 +03:00