|
819b7cf701
|
Fix #17194: Fix unnecessary SQL updates in the database on attributes typecast via yii\behaviors\AttributeTypecastBehavior
|
2022-12-09 12:26:23 +03:00 |
|
|
161526cd41
|
HTTPS everywhere (#19503)
|
2022-08-03 12:32:18 +03:00 |
|
|
77d70bfbe6
|
Fixes #16589: Fixed not using defaultValue in BlameableBehavior for console app
|
2019-04-15 18:06:16 +03:00 |
|
|
e9ffcb2d12
|
Fixes #16456: Fixed OptimisticLockBehavior omitting HTML web forms
|
2018-07-05 21:16:36 +03:00 |
|
|
1945dc69c7
|
Fixes #9133: Added yii\behaviors\OptimisticLockBehavior
|
2018-05-12 14:43:13 +03:00 |
|
|
8aebdd8c17
|
CacheableWidgetBehaviorTest enhancements (#15930)
1) Better PhpDoc (removed PhpStorm warnings)
2) Small speed optimization: there is no need 42 iterations for counter increment test. 2 is enough.
|
2018-03-20 21:11:28 +03:00 |
|
|
089685975a
|
Wrap @inheritdoc tag in curly brackets [skip ci]
|
2018-02-19 00:16:19 +02:00 |
|
|
41cf14e515
|
Added tests for #14538, added CHANGELOG line
|
2018-02-15 00:20:59 +02:00 |
|
|
37bd97ad9a
|
Fixes #13679: Added yii\behaviors\CacheableWidgetBehavior
|
2018-02-06 01:33:49 +03:00 |
|
|
d16586334d
|
Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
|
2018-02-05 04:59:14 +07:00 |
|
|
71c541773f
|
PHPDoc fix
|
2018-01-23 13:17:25 +02:00 |
|
|
65f6b59b35
|
@inheritdoc notation changed
|
2018-01-23 13:11:24 +02:00 |
|
|
2a742cee9f
|
Fixed yii\behaviors\AttributeTypecastBehavior::$attributeTypes auto-detection fails for rule, which specify attribute with '!' prefix
|
2018-01-03 15:46:15 +02:00 |
|
|
5ebf98cc1d
|
Fixes #5515: Added default value for yii\behaviors\BlameableBehavior for cases when the user is guest
|
2017-11-25 20:39:17 +08:00 |
|
|
771a9faed2
|
Fixed invalid tests (#14716)
|
2017-08-24 17:26:20 +03:00 |
|
|
0c0942d6e2
|
Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. (#14681) [skip ci]
|
2017-08-21 01:57:23 +03:00 |
|
|
b99e955627
|
Fix CS (#14665)
* Run php-cs-fixer.
* Enable phpdoc_types rule.
|
2017-08-18 12:10:42 +02:00 |
|
|
e9fad56381
|
#14151: Added attribute name to AttributesBehavior callback signature
See 6ffa5fb087 (commitcomment-23630375)
|
2017-08-14 12:11:59 +03:00 |
|
|
2b9b0c7166
|
Fixes #14151: Added AttributesBehavior that assigns values specified to one or multiple attributes of an AR object when certain events happen
|
2017-08-14 01:03:10 +03:00 |
|
|
69673c0c94
|
Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
|
2017-07-19 10:51:46 +02:00 |
|
|
d2781cd232
|
Added configuration for headers in PHP files generated by message/extract command (#14417)
|
2017-07-10 20:14:54 +03:00 |
|
|
d26493a287
|
Fixes #13378: Added skipOnEmpty option to SluggableBehaviour
|
2017-07-04 20:47:14 +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 |
|
|
9031a115b9
|
Fixes #13586: Added $preserveNonEmptyValues property to the yii\behaviors\AttributeBehavior
|
2017-06-11 17:56:06 +03:00 |
|
|
31e321b9b2
|
Remove unused imports. (#14096)
|
2017-05-01 20:26:15 +02:00 |
|
|
d0ce165ba6
|
Fixes #13728: Fixed the bug when yii\behaviors\SluggableBehavior wasn't preserving immutable slug values
|
2017-04-20 21:30:04 +03:00 |
|
|
49564ae3e1
|
Fix TimestampBehaviorTest to be compatible with PHPUnit 6
|
2017-04-20 12:20:30 +03:00 |
|
|
0cf236ec66
|
Fixes #13963: Added tests for yii\behaviors\TimestampBehavior
|
2017-04-19 12:38:47 +03:00 |
|
|
80ca12872e
|
garbage collection added to unit tests
|
2017-04-13 15:40:17 +03:00 |
|
|
3f8e8a89eb
|
Used more specific unit test assertions in framework tests
|
2017-03-14 09:45:31 +03:00 |
|
|
2c9278391c
|
Used short syntax for arrays (#13743)
|
2017-03-11 01:44:05 +03:00 |
|
|
3d549374bf
|
Added BlameableBehaviorTest
|
2017-01-22 16:21:53 +02:00 |
|
|
b58fee7d37
|
Fixes #13035: Use ArrayHelper::getValue() in SluggableBehavior::getValue()
|
2016-11-22 13:20:45 +03:00 |
|
|
4aa935e69e
|
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
|
2016-11-07 02:51:39 +03:00 |
|
|
e7c080594d
|
Fixed yii\behaviors\AttributeTypecastBehavior marks attributes with null value as 'dirty'
|
2016-11-01 12:27:36 +02:00 |
|
|
d4df72a2a4
|
Fixed yii\behaviors\AttributeTypecastBehavior unable to automatically detect attributeTypes
|
2016-10-21 12:49:22 +03:00 |
|
|
a53c1f9525
|
Added yii\behaviors\AttributeTypecastBehavior (#12067)
Added `yii\behaviors\AttributeTypecastBehavior`
|
2016-08-05 13:26:26 +03:00 |
|
|
b49488b1f7
|
Enh new property skipUpdateOnClean for AttributeBehavior (#11302)
Fixes #11002: `AttributeBehavior::$skipUpdateOnClean` which determines whether to skip a behavior when the behavior owner has not been modified
|
2016-04-09 15:38:41 +03:00 |
|
|
624be05be0
|
Updated TimestampBehaviorTest to test the callable in array format as value
|
2016-02-13 12:39:05 +02:00 |
|
|
f38bb6ced4
|
Chg #9953: TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue()
|
2015-10-18 16:14:19 +03:00 |
|
|
aa5887fec7
|
added missing use statement to fix #8572
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572
close #8596
|
2015-05-29 01:37:47 +02:00 |
|
|
6949992246
|
Simplified tests directory structure a bit
|
2015-04-16 12:10:01 +03:00 |
|