Pavel Ivanov
4333b90186
Fixes #15482 : AR::find()->with() missing data when using string identifiers for relations
6 years ago
Pavel Ivanov
36ed136caf
Issue #14388 : test of dependent ActiveFixtures loading ( #17012 )
6 years ago
Nikolay
1a34f61e56
Fixes #16941 : Set `yii\console\controllers\MigrateController::useTablePrefix` to true as default value
6 years ago
Alex
b4adada51e
Fixes #16022 : Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in `jsonb` field
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Bizley
ab39246ab5
Fixes #16101 : Fixed Error Handler to clear registered meta tags, link tags, css/js scripts and files in error view
6 years ago
船歌
1246e5feb3
Fixes #16514 : Fixed `yii\di\Container::resolveCallableDependencies` to support callable object
6 years ago
Sam
84cb255aab
Fixes #16245 : Fixed `__isset()` in `BaseActiveRecord` not catching errors
6 years ago
berosoboy
061f75e15f
Fix PHPDoc [skip ci]
7 years ago
Sergey Makinen
ebc306299c
Fix MSSQL tests
7 years ago
Sergey Makinen
766f24945c
Fix Oracle tests
7 years ago
SilverFire - Dmitry Naumenko
6e30577abc
Added ArrayAccess object in EachValidator
...
Fixes #15760
7 years ago
Dmitry Naumenko
dc452b7e24
Fixed multiple JSON-related issues ( #15732 )
7 years ago
SilverFire - Dmitry Naumenko
bd472c3640
Revert "Fixed regexp in tests"
...
This reverts commit 4fbece20ce
.
7 years ago
SilverFire - Dmitry Naumenko
4fbece20ce
Fixed regexp in tests
7 years ago
Elvira Sheina
ef9600234e
Fix magic getter for ActiveRecord ( #15696 )
7 years ago
SilverFire - Dmitry Naumenko
089685975a
Wrap @inheritdoc tag in curly brackets [skip ci]
7 years ago
Robert Korulczyk
df91a9608f
Fixes #14638 : Added `yii\db\SchemaBuilderTrait::tinyInteger()`
7 years ago
Nikolay Oleynikov
74dc1cdc30
Fixes #13618 : Active record now resets related models after corresponding attributes updates
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
7 years ago
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
7 years ago
Vladimir Reznichenko
ecf3ef8bf9
Use root NS specification for opcoded functions
7 years ago
Zhukov Roman
40b038379f
Fixes #13019 : Support JSON in SchemaBuilderTrait
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
Гордиенко Владислав Юрьевич
1a1fb49426
Fixes #15522 : Fixed `yii\db\ActiveRecord::refresh()` method does not use an alias in the condition
7 years ago
Vladimir Reznichenko
67f67e3a69
SCA with Php Inspections (EA Extended) ( #15571 )
7 years ago
Klimov Paul
71c541773f
PHPDoc fix
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
IceJOKER
8897ea7270
Fixes #15249 : Controllers in subdirectories were not visible in commands list
7 years ago
Nikolay Oleynikov
75dbdb0083
Fixes #14568 : Refactored migration templates to use `safeUp()` and `safeDown()` methods
7 years ago
Alexander Makarov
fb23b0d0ea
Code style fixes
7 years ago
Marko Kruljac
22d453faac
Fixes #14134 : Fixed multiple `validateAttribute()` calls when `scenarios()` returns duplicate attributes
7 years ago
SilverFire - Dmitry Naumenko
b0148a5e8f
Added test to check issue #14274
7 years ago
Alexander Makarov
a1ddd8b907
Fixes #14129 : Fixed console help to properly work with tricky camelcased controller names
7 years ago
Paul Klimov
d68789a195
Fixes #13779 , fixes #5786
...
- #13779 : Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786 : Allowed to use custom constructors in ActiveRecord-based classes.
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
b99e955627
Fix CS ( #14665 )
...
* Run php-cs-fixer.
* Enable phpdoc_types rule.
7 years ago
Alexander Makarov
6fdeba501d
Adjusted tests after 1761a10c13
7 years ago
Bizley
d6578f83ba
Codeclimate rules update ( #13915 )
7 years ago
Dmitry Dorogin
1ee29c630d
Fixes #14493 : Fixed getting permissions in `yii\rbac\Dbmanger::getPermissionsByUser` by user with id equals 0
7 years ago
Dmitry Dorogin
8ae2223c6a
Fixes #14370 : Fixed creating built-in validator in model with same function name
7 years ago
Carsten Brandt
0559a95db9
Fixed ambiguous column error in `BaseActiveRecord::refresh()`
...
when the query adds a JOIN by default
fixes #13757
7 years ago
Robert Korulczyk
a50d9d8e3e
Enable `include` rule in php-cs-fixer ( #14418 )
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
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
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
7 years ago
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
7 years ago
Leandro Gehlen
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
7 years ago
Robert Korulczyk
31e321b9b2
Remove unused imports. ( #14096 )
8 years ago
Nikolay Oleynikov
558f2aa02a
Fixes #13827 Generate "safe" methods uncommented by default
8 years ago
Nikolay Oleynikov
cf4eea1878
Fixes #13823 : Refactored migrations template
8 years ago