161526cd41 
					 
					
						
						
							
							HTTPS everywhere ( #19503 )  
						
						
						
						
					 
					
						2022-08-03 12:32:18 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f2b2d576be 
					 
					
						
						
							
							fix: typecast for backed enums ( #19319 )  
						
						... 
						
						
						
						* fix: typecast for backed enums
Fixes  #19318 
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> 
						
						
					 
					
						2022-06-15 10:03:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17742cb146 
					 
					
						
						
							
							don't convert int to string if db type of column is numeric ( #18741 )  
						
						... 
						
						
						
						* write adequate test for issue #14663 
* don't convert int to string if db type of column is numeric (#14663 )
* fix bigint schema test for MySql >8.0.17 (#14663 )
* Update CHANGELOG.md
* Update CHANGELOG.md
* update phpdoc [ci skip] (#14663 )
* refactoring test case to make it clearer [ci skip] (#14663 )
* check `int unsigned` in `QueryBuilderTest::testInsertInteger()` (#14663 )
* Update Upgrade.md (#14663 )
* fix `int unsigned` schema test for MySql >8.0.17 (#14663 )
* fix `int unsigned` schema test for MySql <5.7 (#14663 )
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes> 
						
						
					 
					
						2021-07-06 20:49:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						01636ae45a 
					 
					
						
						
							
							Revert "Use QueryBuilder->buildExpression for Query where possible"  
						
						... 
						
						
						
						This reverts commit 79679b9b6c019682b3ccd817cea371b1214695ba. 
						
						
					 
					
						2018-02-18 20:50:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						79679b9b6c 
					 
					
						
						
							
							Use QueryBuilder->buildExpression for Query where possible  
						
						
						
						
					 
					
						2018-02-18 20:36:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						40b038379f 
					 
					
						
						
							
							Fixes   #13019 : Support JSON in SchemaBuilderTrait  
						
						
						
						
					 
					
						2018-02-06 16:35:49 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d16586334d 
					 
					
						
						
							
							Fixes   #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL  
						
						
						
						
					 
					
						2018-02-05 04:59:14 +07:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93bbf5b39d 
					 
					
						
						
							
							Fixes   #15015 : Added StringHelper::floatToString() to savely cast float values independent of the locale, also fixes some places in the framework that use it now  
						
						
						
						
					 
					
						2017-10-27 11:41:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1501c659ac 
					 
					
						
						
							
							Add empty lines before return statements. ( #14682 ) [skip ci]  
						
						
						
						
					 
					
						2017-08-21 01:58:49 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						69673c0c94 
					 
					
						
						
							
							Rename Object -> BaseObject for PHP 7.2 compatibility  
						
						... 
						
						
						
						issue #7936  
						
						
					 
					
						2017-07-19 10:51:46 +02: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37b8cbb2d0 
					 
					
						
						
							
							Fixes   #12758 : Added the ability to use instances of \yii\db\Query class as values in the \yii\db\QueryBuilder::insert() method  
						
						
						
						
					 
					
						2017-01-29 00:54:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4aa935e69e 
					 
					
						
						
							
							Fixes   #12055 : Changed boolean to bool and integer to int in phpdoc  
						
						
						
						
					 
					
						2016-11-07 02:51:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5210fc8e42 
					 
					
						
						
							
							Fixes   #11532 : Fixed casting of empty char value to null resulting in integrity constraint violation for not null columns  
						
						
						
						
					 
					
						2016-05-13 15:34:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eaeb926768 
					 
					
						
						
							
							Adds char datatype to framework  
						
						
						
						
					 
					
						2016-02-20 01:52:23 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a2568d1ec8 
					 
					
						
						
							
							updated some comments and @since annotations  
						
						
						
						
					 
					
						2015-08-02 19:56:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						972165ccec 
					 
					
						
						
							
							Fixes   #9006 : Fixed bit column always returning true using certain version of PDO MySQL  
						
						
						
						
					 
					
						2015-07-31 03:19:23 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ae42a054bb 
					 
					
						
						
							
							PSR-2 spaces, commas, etc  
						
						
						
						
					 
					
						2015-06-09 00:05:06 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba0fd22c66 
					 
					
						
						
							
							Update ColumnSchema.php  
						
						... 
						
						
						
						added comment 
						
						
					 
					
						2015-04-13 00:35:41 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						698bfddeed 
					 
					
						
						
							
							Fixes   #7847 : yii\db\ColumnSchema was typecasting numerics to strings with incorrect decimal separator for some locales  
						
						
						
						
					 
					
						2015-04-13 00:35:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						56dbd4cefa 
					 
					
						
						
							
							Fixes   #7357 : Refactored yii\db\ColumnSchema by adding typecast() method to decouple phpTypecast() from dbTypecast()  
						
						
						
						
					 
					
						2015-02-20 22:03:39 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bb8550886e 
					 
					
						
						
							
							PHP type casting  
						
						
						
						
					 
					
						2014-10-25 15:30:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3a1e0f3a5c 
					 
					
						
						
							
							property codestyle framework  
						
						
						
						
					 
					
						2014-07-30 00:21:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						27943ce735 
					 
					
						
						
							
							Merge pull request  #4063  from yiisoft/typecast-split  
						
						... 
						
						
						
						split typecast method into two 
						
						
					 
					
						2014-06-27 02:14:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5d0452b2ae 
					 
					
						
						
							
							rename ColumnSchema::typecast to phpTypecast  
						
						
						
						
					 
					
						2014-06-27 02:12:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						574f67feff 
					 
					
						
						
							
							fixed test break  
						
						
						
						
					 
					
						2014-06-26 01:35:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a70d9fbd1 
					 
					
						
						
							
							rename column schema typecast method  
						
						
						
						
					 
					
						2014-06-26 00:11:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6a48f68955 
					 
					
						
						
							
							split typecast method into two  
						
						... 
						
						
						
						one method for fetching data and one for sending to db.
fixes  #2287  
						
						
					 
					
						2014-06-26 00:00:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4f95fcd91f 
					 
					
						
						
							
							added unit tests for schema detection  
						
						... 
						
						
						
						fixed some issues with schema detection 
						
						
					 
					
						2014-06-25 03:09:28 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7b908aa8a3 
					 
					
						
						
							
							Fixes   #2853 : ActiveRecord did not handle resource-typed columns well  
						
						
						
						
					 
					
						2014-04-21 20:16:16 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf3c75147d 
					 
					
						
						
							
							reverted breaking PHPdoc codestyle changes  
						
						... 
						
						
						
						issue #2852  
						
						
					 
					
						2014-03-23 20:51:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b5f8a4dc22 
					 
					
						
						
							
							Reformat code te be PSR-2 compatible  
						
						
						
						
					 
					
						2014-03-16 10:46:21 +06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0c38655217 
					 
					
						
						
							
							psr-4 move  
						
						
						
						
					 
					
						2014-01-10 21:41:43 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d814fa523 
					 
					
						
						
							
							Moved "framework" to "iii".  
						
						
						
						
					 
					
						2013-05-09 12:00:15 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4fdaab3560 
					 
					
						
						
							
							updated file header.  
						
						
						
						
					 
					
						2013-03-04 08:03:46 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ebecc09839 
					 
					
						
						
							
							DB refactoring.  
						
						
						
						
					 
					
						2013-01-17 16:15:12 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8e05e6e62d 
					 
					
						
						
							
							changed copyright line.  
						
						
						
						
					 
					
						2013-01-07 11:34:52 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8517ee9e50 
					 
					
						
						
							
							reorganized DB classes.  
						
						
						
						
					 
					
						2013-01-05 16:46:53 -05:00