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
Alexander Makarov
bc59d5da85
Fixes #13707 : Fixed `\yii\web\ErrorHandler` and `\yii\web\ErrorAction` not setting correct response code to response object before rendering error view
8 years ago
Elvira Sheina
2de18cf9a5
Fixes #13087 : Fixed getting active validators for safe attribute
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Sergey Makinen
a5ab79746b
Fixes Oracle’s test fixture
8 years ago
Tobias Munk
7b43cf09f1
added separate docker config for testing
8 years ago
Tobias Munk
f5ab85c393
updated debug settings (+56 squashed commits)
...
Squashed commits:
[c42f30c] updated base image, added docs & local test script
[88f0c40] debug
[6220c94] fixed network isolation
[c63c7c3] test mssql only on test/mssql branch
[74efc78] fixed isolation in after_script
[02b895b] updated test setup
[3335f39] updated retry
[bd123b2] updated service checks
[45e4c90] updated build
[d54da7a] updated after_script
[5a4c726] 🏭 wait for mysql
[08db878] fixed typo
[ea53c1e] updated build stages
[9807ce3] fixed typos
[cf9f64e] fixed mssql testing
[08001d6] added db create for mssql
[62f6b65] run travis (gitlab simulation) only in travis branch
[cf63da4] streamlined build
[76808ac] updated test jobs
[18d79b5] fixed test error
[7b2bce6] updated build & composer.lock
[244623a] updated build
[86bd71b] fixed cleanup
[86ab2e8] fixed cleanup
[091d4b8] fixed tests
[2d315b5] fixed build config
[2913644] fixed project names
[f53b823] refactored build config
[5a791fb] refactored docker db-tests
[b4479b0] revert
[a975fa5] updated gitlab build
[4e4e5e4] updated mssql setup
[d6ff03b] added sleep workaround
[578b102] removed host volumes in test
[928f50b] fixed path
[967ab10] updated tests
[520f317] bootstrap cubrid
[5f245e1] 🏭 fixed cubrid tests
[940dbbc] 🏭 pinned cubrid version 9.3.6.0002
[8d5ea69] 📝 dockerized test commands
[9954b54] updated cubrid
[fb3afac] updated docs
[3f63ced] updated isolation
[bdc3c83] 🏭 build cubrid
[b777911] 🏭 disabled mssql, updated cubrid
[36534e7] added travis-a-like stage
[6546f02] updated GitLab build
[c046096] updated test setup
- added mssql and cubrid stack
[5a0e635] disabled host-volume
[75cf342] fixed test
[8de0794] fixed testing
[465d27a] added stages
[63aa950] added script
[68eecef] fixed typo
[00e4b88] updated Docker build
[f9072cc] added dockerized test setup
8 years ago
SilverFire - Dmitry Naumenko
24ad05de5b
Refactored `yii\web\ErrorAction` to make it reusable
8 years ago
Robert Korulczyk
2a68351ec3
Fix tests on travis. ( #13238 )
8 years ago
SilverFire - Dmitry Naumenko
88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()`
...
Closes #12213
8 years ago
Zlakomanov Alexander
b8bf0d0c0c
added hint into foreign keys query for oracle 11g optimisation
...
update oci tests
improved varible name
Closes #13122
8 years ago
Alexey Rogachev
bd85b7ced2
Closes #6242 : Access to validator in inline validation ( #13027 )
...
* Closes #6242 : Access to validator in inline validation
* Updated PHPDoc according to PR review [skip ci]
* Imrpoved PHPDoc, updated guide info [skip ci]
* Fixes related with PR review
* Corrected CHANGELOG [skip ci]
* Update input-validation.md
added version info
8 years ago
Sergey Makinen
f8787b4471
Adds tests for yii\filters\PageCache
8 years ago
Carsten Brandt
1d4eb072d3
readded comments to phpmd rules #13139
8 years ago
Bizley
5092c9666d
Code Climate PHPMD settings ( #13139 )
...
* codeclimate phpmd rulesets
* PHPMD ruleset
* phpmd_ruleset moved
* Delete phpmd_ruleset.xml
* ruleset moved
8 years ago
SG5
1141fc81a7
Fixes #12735 : Fixed `yii\console\controllers\MigrateController` creating multiple primary keys for field `bigPrimaryKey:unsigned`
8 years ago
Alexey Rogachev
e94ca4793b
Install APC on Ubuntu trusty
...
Trusty does not have APC preinstalled (see
https://github.com/travis-ci/travis-ci/issues/5618 ,
https://github.com/travis-ci/travis-ci/issues/6853 ) so we need to
install it manually using PECL. `yes ''` allows to skip prompts and fill
it with default values.
8 years ago
Fabian Peter Hammerle
46da2df98d
yii\db\mysql\Schema::loadColumnSchema sets enumValues attribute incorrectly if enum definition contains comma
...
(i.e. "enum('a','B','c,D')" -> ['a','B','c','D'] instead of expected ['a','B','c,D'])
8 years ago