161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
552593ca3b
Prepare for new apidoc (part 2) ( #19010 )
...
* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods
2021-11-18 10:10:09 +03:00
82be8b61cf
Replacing deprecated ::className()
with ::class
( #18671 )
2021-05-22 23:14:54 +03:00
34441ca549
Fix #14343 : Fix yii\test\ActiveFixture
to use model's DB connection instead of the default one
2021-03-22 00:37:54 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
db4beebe23
Fix #18213 : Do not load fixtures with circular dependencies twice instead of throwing an exception
2020-09-07 15:47:20 +03:00
3555633223
Fixes #14289 : Added yii\db\Command::executeResetSequence()
to work with Oracle
2018-06-27 22:29:50 +03:00
2e192ae4ea
Fixes #16091 : Make yii\test\InitDbFixture
work with non-SQL DBMS
2018-04-23 15:01:56 +03:00
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