Pavel Dovlatov
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
6 years ago
SilverFire - Dmitry Naumenko
08c87aec4f
Fixed `Component::off()` not to throw an exception
...
Fixes #15822
7 years ago
Alexander Makarov
0de49406db
Minor code style adjustments, phpdoc
7 years ago
Paul Klimov
921310fd69
condition optimized
7 years ago
Klimov Paul
c2cf1f03ca
Event wildcards added to `Event`
7 years ago
Klimov Paul
8fccf7f6ca
Event wildcards added
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Carsten Brandt
393fc2744a
Added yii\base\Object for backwards compatibility
...
fixes #7936
close #14478
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
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
Carsten Brandt
6301daecf7
reverted wrong phpdoc change from #13905
8 years ago
Nikolay Oleynikov
950e895fe0
Fix phpDocumentor annotations ( #13905 ) [skip ci]
8 years ago
Carsten Brandt
25b78aa615
Fixes #13508 : Fixed duplicate attachment of behavior BC break
...
Fixes BC break introduced in
954c771fdb
?diff=split#diff-d45d5e14cbb9739c2e1c63b53ba5e363L669
8 years ago
Hao
652d05f0b8
Fixed some comment issues ( #13392 ) [skip ci]
8 years ago
Alexander Makarov
954c771fdb
Code cleanup ( #13113 )
...
* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
Carsten Brandt
e97c798a4f
fixed wrong docs about behaviors
...
fixes #12392
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Evgeniy Tkachenko
be4c9ae5b8
it added also to detachBehavior()
9 years ago
Evgeniy Tkachenko
187e44d3ba
Update phpDoc Component::getBehavior().
...
Added `@return null`
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
10 years ago
Carsten Brandt
624db0e678
updated Component::__isset() docs
...
close #7587
10 years ago
Brandon Kelly
6d2bc06bf4
Corrected the Component::__isset() docs
...
__isset() returns true if the property is set; not if it's null.
10 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
8701d7df3b
more explicit comment in phpdoc, code style
10 years ago
Qiang Xue
46041d0c65
Fixes #3280 : Support dynamically attaching anonymous behaviors
10 years ago
Qiang Xue
104c4fc3ae
Added support to allow an event handler to be inserted at the beginning of the existing event handler list
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
40cb98bb02
updated `@property` annotations
11 years ago
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
11 years ago
Qiang Xue
11baf61977
Fixed unsetting relation bug.
11 years ago
Carsten Brandt
8f491f2836
moved `@include` tags of api docs directly into the class
11 years ago
Florian Fackler
7b61873425
Changed Exception wording to be more clear
11 years ago
Florian Fackler
c600572f34
The missing Component.php tests
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
173c7de82b
changed default value of Component::_events
11 years ago
Paul Kofmann
ee81915a1e
Removed redundant code in detachBehaviors()
...
After ensureBehaviors() call $this->_behaviors is an array already.
And since detachBehavior() unsets elements in $this->_behaviors, $this->_behaviors turns out to be an empty array after all iterations.
11 years ago
Carsten Brandt
85b5c75b61
doc style
11 years ago
egorpromo
5156cc14ce
More docs
11 years ago
egorpromo
4d720389c3
It is more obviouse what to pass in trigger() method
11 years ago
Qiang Xue
684ee633f7
removed unneeded check.
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago