67 Commits

Author SHA1 Message Date
c484792084 Fixes #15840: Fixed regression on load fixture data file 2018-03-08 00:44:22 +03:00
22832b7c49 release version 2.0.14 2018-02-19 00:27:09 +02:00
3ed5e35701 Fixed PHPDocs, code and tests for #15422 2018-02-19 00:11:13 +02:00
810e9e5337 Fixes #14546: Added dataDirectory property into BaseActiveFixture 2018-02-03 19:11:11 +07:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +03:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
0973117de2 Fixed phpdoc yii\test\ActiveFixture::load (#14292) [skip ci] 2017-06-18 18:41:17 +03: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
4b9e48b8dc improved docs: link term "path alias" to the guide 2017-06-02 10:45:20 +02:00
25242adb91 Fixes #5442: Fixed problem on load fixture dependencies with database related tests 2017-05-08 22:31:12 +03:00
d7fad8a555 Fixes #14059: Removed unused AR instantiating for calling of static methods 2017-04-26 16:09:55 +03:00
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
8c2a70b3e7 Moved TraversableObject to yiiunit\data\base namespace 2016-04-26 13:30:37 +03:00
baab8d6a68 QueryBuilder now supports Traversable objects for IN clauses. 2016-04-25 23:36:32 +03:00
8260cfa4ea Compare with null instead of isset 2015-10-10 01:12:59 +03:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
f13a4809b8 yii\test\ActiveFixture::load() updated to use yii\db\Schema::insert() 2015-04-24 14:30:40 +03:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
205400f118 Fixes #5176: ActiveFixture will reset table in its load() method instead of unload() 2014-09-25 12:27:09 -04:00
377cb09aa8 Fixes #4945: Added yii\test\ArrayFixture 2014-09-07 18:33:30 -04:00
a5245ad048 added array fixture class 2014-09-07 18:29:16 -04:00
62b08a0959 Fixes #4755: yii\test\BaseActiveFixture::unload() does not clean up the internal cached data 2014-09-03 10:21:00 -04:00
97a6fb3b60 Fixes indents 2014-09-03 10:16:35 -04:00
d1b4e6c6d2 Fixed #4754 2014-09-03 10:16:34 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
cfc8a613f2 minor fix. 2014-02-03 21:27:18 -05:00
11bc899bc1 Refactored fixtures and fixed test break. 2014-02-03 21:16:57 -05:00
7863a0ff24 Merge pull request #2279 from Ragazzo/fixtures_controller_improvements
Fixtures controller improvements
2014-02-03 13:26:28 -08:00
2773828611 fixed test break. 2014-02-03 15:28:01 -05:00
13e85adc8e moved magic methods 2014-02-03 22:58:08 +04:00
5e33a17b6a fixed active fixtures classes 2014-02-02 16:36:43 +04:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
3cc7fcb510 refactored fixture. 2014-01-20 20:11:29 -05:00
65179b100a code style in fixtures 2014-01-20 14:51:04 +01:00