Sergey Makinen
3de6f8e397
Rename DefaultConstraint to DefaultValueConstraint
7 years ago
Sergey Makinen
71a23cff50
Fix imports
7 years ago
Sergey Makinen
c8856ccd4e
Fix merging issues & CS
7 years ago
Robert Korulczyk
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.
7 years ago
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
Tigrov
2b7e8be1e8
Fixes #14192 : Fixed wrong default null value for TIMESTAMP when using PostgreSQL
7 years ago
Thiago Talma
1d062100b6
Fixes #13787 : Added `yii\db\Migration::$maxSqlOutputLength` that allows limiting number of characters for outputting SQL
7 years ago
Carsten Brandt
fddb34b91c
added param binding examples for update() and delete()
...
fixes #14218
7 years ago
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
leandrogehlen
17a1d91e4a
Allows override query relation in descendant class
...
fixes #13441
close #13642
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
viwek
49ab20139c
Inserted missing * on line 972 ( #14224 ) [skip ci]
7 years ago
Alex-Code
7c6620a65f
Fixes #13846 : Fixed `Query::count()` issue with `orderBy`
7 years ago
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
7 years ago
Sergey Makinen
118fc08af8
Fix dropping unique/indexes
7 years ago
Sergey Makinen
4104235258
Fix schema caching on commands
7 years ago
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
7 years ago
Alexander Makarov
625d554e3a
Additional edge case for #14150
7 years ago
Alexander Makarov
8a087c8537
#14150 : Added {{ and }} to getTablesUsedInFrom() output
7 years ago
Alexander Makarov
b151b1cdb2
Fixes #14150
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Alexander Makarov
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
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
Alexander Makarov
8c30bab105
Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci]
8 years ago
SilverFire - Dmitry Naumenko
7a2737105b
Updated PHPdoc
8 years ago
SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters
8 years ago
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
8 years ago
Dmitry Eliseev
d7fad8a555
Fixes #14059 : Removed unused AR instantiating for calling of static methods
8 years ago
Alexander Makarov
37fc6c5afb
Alternative names
8 years ago
Dmitry Naumenko
63253ceafc
PHPDocs and code style fixed
8 years ago
Alexander Makarov
7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper
8 years ago
Insolita
28d8fa66fc
Fixes #14012 : `yii\db\pgsql\Schema::findViewNames()` was skipping materialized views
8 years ago
PaulZi
224201950d
Fixes #13911 : Significantly enhanced MSSQL schema reading performance
8 years ago
Carsten Brandt
02ffbb28ec
update AR docs
8 years ago
Joel Small
cd8b98bb92
Added note to findOne and findAll docs ( #14002 ) [skip ci]
...
Added note to findOne and findAll docs to clearly state that complex conditions are not supported.
8 years ago
Sergey Makinen
454f0a9301
Fixes #13807 : Fixed `yii\db\QueryBuilder` to inherit subquery params when building a `INSERT INTO ... SELECT` query
8 years ago
Carsten Brandt
0fdd5b81dd
Revert "update phpdoc annotation in BaseActiveRecord"
...
This reverts commit 0f78008bc7
.
https://github.com/yiisoft/yii2-gii/pull/267#issuecomment-293965278
8 years ago
Carsten Brandt
0f78008bc7
update phpdoc annotation in BaseActiveRecord
...
https://github.com/yiisoft/yii2-gii/pull/267#issuecomment-293958830
8 years ago
Nikolay Oleynikov
e1b1622244
Fix `\yii\db\QueryInterface` type hints ( #13959 ) [skip ci]
8 years ago
Nikolay Oleynikov
11761ac42a
Fix `\yii\db\QueryTrait` type hints ( #13956 ) [skip ci]
8 years ago
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
8 years ago
Alexander Makarov
902c2b563d
Fixes #13831 : Added more info about transactions in migrations to phpdoc [skip ci]
8 years ago
Vladimir Reznichenko
6da1ec6fb2
Fixes #13845 : `mt_rand()` is not used instead of `rand()` in `yii\captcha\CaptchaAction` + minor code improvements
8 years ago
Artur Fursa
1b322f519f
Fixes #13776 : Fixed setting precision and scale for decimal columns in MSSQL
8 years ago
Bob Olde Hampsink
8192f84850
Fix SQLite resetSequence inconsistencies ( #13755 , #13630 )
8 years ago
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
Skiptir Engu
6a7c01de72
Fixed broken link
8 years ago
Sergey Makinen
a9fb0171f7
Fixes #13745 : `SQLSTATE[HY093]: Invalid parameter number: parameter was not defined` in MSSQL and bug fixes in `yii\db\QueryBuilder::buildLikeCondition()`
8 years ago