08c87aec4f
Fixed Component::off()
not to throw an exception
...
Fixes #15822
2018-03-03 16:37:41 +02:00
0de49406db
Minor code style adjustments, phpdoc
2018-02-18 02:56:56 +03:00
921310fd69
condition optimized
2017-12-23 15:33:42 +02:00
c2cf1f03ca
Event wildcards added to Event
2017-12-22 17:32:03 +02:00
8fccf7f6ca
Event wildcards added
2017-12-20 17:44:03 +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
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
393fc2744a
Added yii\base\Object for backwards compatibility
...
fixes #7936
close #14478
2017-07-19 10:53:33 +02:00
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
2017-07-19 10:51:46 +02: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
6301daecf7
reverted wrong phpdoc change from #13905
2017-04-03 14:27:04 +02:00
950e895fe0
Fix phpDocumentor annotations ( #13905 ) [skip ci]
2017-04-02 21:49:09 +03:00
25b78aa615
Fixes #13508 : Fixed duplicate attachment of behavior BC break
...
Fixes BC break introduced in
954c771fdb (diff-d45d5e14cbb9739c2e1c63b53ba5e363L669)
2017-02-04 15:47:04 +03:00
652d05f0b8
Fixed some comment issues ( #13392 ) [skip ci]
2017-01-15 21:39:12 +03:00
954c771fdb
Code cleanup ( #13113 )
...
* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns
2016-12-03 00:15:53 +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
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
e97c798a4f
fixed wrong docs about behaviors
...
fixes #12392
2016-08-30 11:40:15 +02:00
be4c9ae5b8
it added also to detachBehavior()
2016-01-20 10:44:14 +03:00
187e44d3ba
Update phpDoc Component::getBehavior().
...
Added `@return null`
2016-01-20 10:37:48 +03:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
624db0e678
updated Component::__isset() docs
...
close #7587
2015-03-05 14:57:29 +01:00
6d2bc06bf4
Corrected the Component::__isset() docs
...
__isset() returns true if the property is set; not if it's null.
2015-03-05 14:51:54 +01:00
8701d7df3b
more explicit comment in phpdoc, code style
2014-07-29 02:45:56 +02:00
46041d0c65
Fixes #3280 : Support dynamically attaching anonymous behaviors
2014-06-19 16:45:41 -04:00
104c4fc3ae
Added support to allow an event handler to be inserted at the beginning of the existing event handler list
2014-04-04 21:45:34 -04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
40cb98bb02
updated @property
annotations
2014-03-11 16:21:25 +01:00
e2aacad8aa
Added links to PHP.net to apidoc
2014-03-07 19:41:43 +01:00
11baf61977
Fixed unsetting relation bug.
2014-03-06 19:19:23 -05:00
8f491f2836
moved @include
tags of api docs directly into the class
2014-02-20 21:30:47 +01:00
7b61873425
Changed Exception wording to be more clear
2014-02-09 09:13:16 +01:00
c600572f34
The missing Component.php tests
2014-02-08 21:11:03 +01:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
a94c432311
Fix attaching behavior via config
2013-05-06 23:40:32 +03:00
3d40b171e0
Fix attaching behavior via config
2013-05-06 23:27:11 +03:00
2d1180f35c
Add ensureBehaviors() to detachBehavior*()
...
Need to add ensureBehaviors() to detachBehavior*().
The intent may be to detach behaviors defined in behaviors().
In the original implementation, if these behaviors() are not yet attached, they can not selectively be detached.
2013-05-06 09:56:15 +03:00
55e8db9b97
improved doc.
2013-04-10 10:48:13 -04:00
a421f9f1ab
refactored component event.
2013-04-05 19:29:10 -04:00
1fbf81be57
User WIP.
2013-03-28 17:43:27 -04:00
de5c304f64
finished fragment caching.
2013-03-25 22:26:25 -04:00
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
edc48dc9c7
removed ApplicationComponent.
2013-01-20 11:26:15 -05:00
ed8b795295
renamed exception classes.
2013-01-17 19:55:10 -05:00
04cf537394
move back api docs.
2013-01-08 10:52:35 -05:00
88672ed1da
furnishing base classes.
2013-01-07 15:24:47 -05:00