d880148fd0
Add php-intl dependency info for SluggableBehavior ( #15997 ) [skip ci]
2018-03-28 13:25:31 +03:00
abb503c284
release version 2.0.14.1
2018-02-24 22:23:06 +02:00
820e502d64
Fixed syntax error caused by bad csfix run
2018-02-19 00:50:31 +02:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
0de49406db
Minor code style adjustments, phpdoc
2018-02-18 02:56:56 +03:00
488f98648a
added missing @since
annotations
2018-02-18 00:44:10 +01:00
78c95b453c
Fixed changelog and @since
tag that was in the wrong method [skip ci]
2018-02-17 03:26:27 +03:00
41cf14e515
Added tests for #14538 , added CHANGELOG line
2018-02-15 00:20:59 +02:00
798947af29
Update AttributeTypecastBehavior.php
...
Line `Handles owner 'beforeInsert' and 'beforeUpdate' events, ensuring attribute typecasting.` required for change (hotfix php docs.)
2018-02-15 00:20:59 +02:00
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
846444d17e
Refactor cacheable widget behavior ( #15608 )
2018-02-06 13:30:37 +03:00
37bd97ad9a
Fixes #13679 : Added yii\behaviors\CacheableWidgetBehavior
2018-02-06 01:33:49 +03: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
93bbf5b39d
Fixes #15015 : Added StringHelper::floatToString()
to savely cast float values independent of the locale, also fixes some places in the framework that use it now
2017-10-27 11:41:45 +03:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +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
6ffa5fb087
Additional fixes for #14151
2017-08-14 02:05:54 +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
0adae899ce
Additional fix for SluggableBehavior immutability after merge of #13449
2017-07-15 22:07:43 +03:00
d26493a287
Fixes #13378 : Added skipOnEmpty option to SluggableBehaviour
2017-07-04 20:47:14 +03:00
e34505caad
Refactored BlameableBehavior to call $app->has()
to check for component existence ( #14185 )
2017-07-04 13:52:52 +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
be658f82bf
release version 2.0.12
2017-06-05 16:33:41 +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
ad1ce9e498
Improve sluggable behavior documentation ( #13747 ) [skip ci]
2017-03-10 17:19:24 +03:00
3255829abb
Remove excessive use
statement
2017-02-15 18:29:08 +03:00
b58fee7d37
Fixes #13035 : Use ArrayHelper::getValue() in SluggableBehavior::getValue()
2016-11-22 13:20:45 +03:00
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
2016-11-13 14:51:21 +01: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
ff871bdf48
adjuste PHPdoc controller to use short form types
2016-10-20 13:53:06 +02:00
a53c1f9525
Added yii\behaviors\AttributeTypecastBehavior
( #12067 )
...
Added `yii\behaviors\AttributeTypecastBehavior`
2016-08-05 13:26:26 +03:00
217d50e4ff
improved PHPdoc and @since
annotations
2016-07-11 12:58:43 +02:00
9d327baa8b
coding style fixes
2016-05-26 11:19:32 +02:00
73803ff28b
Fixes #8422 : added note to behaviors explaining that there's no sense in validating attributes there are set automatically
2016-04-30 21:05:33 +03:00
731769241b
release version 2.0.8
2016-04-28 16:50:20 +02: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
0bd7bb961f
[doc] link to unexistant class
...
`\yii\behaviors\Expression` to `\yii\db\Expression`
2016-03-29 20:29:26 -06:00
8476997800
MySQL default column type for TimestampBehaviour
2016-03-11 00:57:53 +05:30
b6caff1952
Removed unused imports
2016-02-16 13:48:09 +03:00
4359f4665b
docs adjustement for blameable behavior
2016-02-13 14:44:10 +01:00
4f75bd70b9
BlameableBehavior::getValue()
changed to make value processing consistent with AttributeBehavior::getValue()
2016-02-13 12:37:35 +02:00
2e13136ca8
AttributeBehavior::getValue()
now respects the callable in array format
2016-02-13 12:33:18 +02:00
e8d309dddb
documentation fixes for 2.0.7
2016-02-06 19:47:13 +01:00
6936c41cf1
SluggableBahavior - PHPDoc and code style fixed; validateSlug, generateUniqueSlug - private -> protected
2016-01-23 10:42:56 +02:00