Pavel Ivanov
|
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.
|
7 years ago |
SilverFire - Dmitry Naumenko
|
089685975a
|
Wrap @inheritdoc tag in curly brackets [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
41cf14e515
|
Added tests for #14538, added CHANGELOG line
|
7 years ago |
Nikolay Oleynikov
|
37bd97ad9a
|
Fixes #13679: Added `yii\behaviors\CacheableWidgetBehavior`
|
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 |
Klimov Paul
|
71c541773f
|
PHPDoc fix
|
7 years ago |
Klimov Paul
|
65f6b59b35
|
`@inheritdoc` notation changed
|
7 years ago |
Klimov Paul
|
2a742cee9f
|
Fixed `yii\behaviors\AttributeTypecastBehavior::$attributeTypes` auto-detection fails for rule, which specify attribute with '!' prefix
|
7 years ago |
Dmitry Dorogin
|
5ebf98cc1d
|
Fixes #5515: Added default value for `yii\behaviors\BlameableBehavior` for cases when the user is guest
|
7 years ago |
Robert Korulczyk
|
771a9faed2
|
Fixed invalid tests (#14716)
|
7 years ago |
Robert Korulczyk
|
0c0942d6e2
|
Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci]
|
7 years ago |
Robert Korulczyk
|
b99e955627
|
Fix CS (#14665)
* Run php-cs-fixer.
* Enable phpdoc_types rule.
|
7 years ago |
Alexander Makarov
|
e9fad56381
|
#14151: Added attribute name to AttributesBehavior callback signature
See 6ffa5fb087 (commitcomment-23630375)
|
7 years ago |
bscheshirwork
|
2b9b0c7166
|
Fixes #14151: Added `AttributesBehavior` that assigns values specified to one or multiple attributes of an AR object when certain events happen
|
7 years ago |
Carsten Brandt
|
69673c0c94
|
Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
|
7 years ago |
Robert Korulczyk
|
d2781cd232
|
Added configuration for headers in PHP files generated by `message/extract` command (#14417)
|
7 years ago |
Andrew Nester
|
d26493a287
|
Fixes #13378: Added skipOnEmpty option to SluggableBehaviour
|
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 |
Kolyunya
|
9031a115b9
|
Fixes #13586: Added `$preserveNonEmptyValues` property to the `yii\behaviors\AttributeBehavior`
|
7 years ago |
Robert Korulczyk
|
31e321b9b2
|
Remove unused imports. (#14096)
|
8 years ago |
Nikolay Oleynikov
|
d0ce165ba6
|
Fixes #13728: Fixed the bug when `yii\behaviors\SluggableBehavior` wasn't preserving immutable slug values
|
8 years ago |
Klimov Paul
|
49564ae3e1
|
Fix `TimestampBehaviorTest` to be compatible with PHPUnit 6
|
8 years ago |
Гордиенко Владислав Юрьевич
|
0cf236ec66
|
Fixes #13963: Added tests for yii\behaviors\TimestampBehavior
|
8 years ago |
Klimov Paul
|
80ca12872e
|
garbage collection added to unit tests
|
8 years ago |
Alexander Makarov
|
3f8e8a89eb
|
Used more specific unit test assertions in framework tests
|
8 years ago |
gagatust
|
2c9278391c
|
Used short syntax for arrays (#13743)
|
8 years ago |
SilverFire - Dmitry Naumenko
|
3d549374bf
|
Added BlameableBehaviorTest
|
8 years ago |
Herbert Maschke
|
b58fee7d37
|
Fixes #13035: Use ArrayHelper::getValue() in SluggableBehavior::getValue()
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Klimov Paul
|
e7c080594d
|
Fixed `yii\behaviors\AttributeTypecastBehavior` marks attributes with `null` value as 'dirty'
|
8 years ago |
Klimov Paul
|
d4df72a2a4
|
Fixed `yii\behaviors\AttributeTypecastBehavior` unable to automatically detect `attributeTypes`
|
8 years ago |
Paul Klimov
|
a53c1f9525
|
Added `yii\behaviors\AttributeTypecastBehavior` (#12067)
Added `yii\behaviors\AttributeTypecastBehavior`
|
8 years ago |
cuiliang
|
c0df003ac0
|
merge from master
|
8 years ago |
Angel Guevara
|
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
|
9 years ago |
SilverFire - Dmitry Naumenko
|
624be05be0
|
Updated TimestampBehaviorTest to test the callable in array format as value
|
9 years ago |
SilverFire - Dima Naumenko
|
f38bb6ced4
|
Chg #9953: `TimestampBehavior::getValue()` value processing is consistent with `AttributeBehavior::getValue()`
|
9 years ago |
╃巡洋艦㊣
|
586684b050
|
2.0.5 bf7edc5
|
9 years ago |
Carsten Brandt
|
aa5887fec7
|
added missing use statement to fix #8572
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572
close #8596
|
9 years ago |
Alexander Makarov
|
6949992246
|
Simplified tests directory structure a bit
|
10 years ago |