Commit Graph

23 Commits

Author SHA1 Message Date
Walid Said
3f3003d823 Fix #18303: Fix creating migration issue for column methods used after defaultValues 2020-10-05 01:02:21 +03:00
Dmitry V. Alekseev
6e2b1782e5 Fix #16855: Ignore console commands that have no actions 2019-09-10 19:00:43 +03:00
Bizley
e50a07c30c Fix #17437: Fixed generating namespaced migrations 2019-07-23 17:28:43 +03:00
Alexander Kartavenko
0fcd495583 Fixes #16394: Fixed issues in migrate/create when specifying default values with colons and adding multiple columns 2019-06-26 12:44:24 +07:00
Pavel Ivanov
36ed136caf Issue #14388: test of dependent ActiveFixtures loading (#17012) 2019-01-04 09:24:38 -05:00
Nikolay
1a34f61e56 Fixes #16941: Set yii\console\controllers\MigrateController::useTablePrefix to true as default value 2019-01-03 12:16:42 -05:00
Klimov Paul
71c541773f PHPDoc fix 2018-01-23 13:17:25 +02:00
Klimov Paul
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
Nikolay Oleynikov
75dbdb0083 Fixes #14568: Refactored migration templates to use safeUp() and safeDown() methods 2017-11-15 00:49:40 +03:00
Alexander Makarov
6fdeba501d Adjusted tests after 1761a10c13 2017-08-04 00:51:27 +03:00
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.
2017-06-12 12:25:45 +03:00
Skiba Max
51dd58cf34 Fixed #13551: loading fixtures in subdirectories 2017-05-30 21:27:43 +03:00
Nikolay Oleynikov
558f2aa02a Fixes #13827 Generate "safe" methods uncommented by default 2017-03-23 00:53:14 +03:00
Nikolay Oleynikov
cf4eea1878 Fixes #13823: Refactored migrations template 2017-03-22 18:28:33 +03:00
SG5
1141fc81a7 Fixes #12735: Fixed yii\console\controllers\MigrateController creating multiple primary keys for field bigPrimaryKey:unsigned 2016-12-02 01:03:24 +03:00
Alexander Zlakomanov
b48b1a0657 Fixes #12904: Fixed lowercase table name in migrations 2016-11-08 23:39:44 +03:00
SilverFire - Dmitry Naumenko
8ec60e3d9b Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool 2016-09-11 21:17:43 +03:00
Daniel Gomez Pan
ae42d7b281 Fix #12423 Fix bug migration tool when creating fields with brackets in comment 2016-09-11 18:03:09 +02:00
Nikola Kovacs
84124bec4f Fix grammar in migration template docblocks. (#12148)
Fix typo in test file's name.
2016-08-12 17:55:43 +03:00
Daniel Gómez Pan
83496853c8 Fixes #11461: Fixed migration tool error when create migrate with comma in defaultValue 2016-07-28 01:15:55 +03:00
Robert Korulczyk
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +03:00
Angel Guevara
fdbf7d85a1 Simple tests (#11606)
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
2016-05-24 09:35:23 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00