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
Alone
4b9d7a6bdd
Fixes #14596 : Fix event call on init in `yii\widgets\BaseListView`
7 years ago
Dmitry Dorogin
e18e98ffb3
Fixes #14363 : Added `yii\widgets\LinkPager::$linkContainerOptions` and possibility to override tag in `yii\widgets\LinkPager::$options`
7 years ago
SilverFire - Dmitry Naumenko
b0162d3a48
Revert "Fixes #14294 : Added `InputWidget::renderInput()` to move behavior described in `InputWidget` class docs to the class itself"
...
This reverts commit a5b393a3c1
.
See https://github.com/yiisoft/yii2/pull/14441#issuecomment-315127527 for reasons
7 years ago
Carsten Brandt
a5b393a3c1
Fixes #14294 : Added `InputWidget::renderInput()` to move behavior described in `InputWidget` class docs to the class itself
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Carsten Brandt
fadeb5d2b4
added formatter as second paramter to format closure
...
to allow reusing the formatter in custom formats.
fixes #4495
addition to #14326
7 years ago
DaveFerger
606b6d44f4
Fixes #14321 : `yii\widgets\MaskedInput` is now registering its JavaScript `clientOptions` initialization code in head section
7 years ago
Alexander Makarov
858e801573
Fixes #14286 : Used primary inputmask package name instead of an alias
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
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Alexey Rogachev
80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
7 years ago
Carsten Brandt
f14d4c767f
fixed missing changelog and missing `@since`
8 years ago
SilverFire - Dmitry Naumenko
fce20a3020
Renamed `ActiveForm::registerJs()` to `registerClientScript()`, added tests
8 years ago
Oleg Poludnenko
a480d70875
More control over ActiveForm widget
...
If part of a form is rendered separately (e.g. in ajax request), it's not easy to apply JS validation to it.
By moving JS registration to a separate method this problem could be solved much more easier.
8 years ago
Alexander Makarov
38488ca55b
Fixes #13694 : yii\widgets\Pjax now sends X-Pjax-Url header with response to fix redirect
8 years ago
Kolyunya
892512feba
Fixes #13560 : Refactored `\yii\widgets\FragmentCache::getCachedContent()`, added tests
8 years ago
aquy
514b29d55d
Fixes #13369 : Added ability to render current `yii\widgets\LinkPager` page disabled
8 years ago
Nikolay Oleynikov
4e9497c4fa
Fixes #13770 : Added support for `yii\widgets\Menu` item classes definition in the form of an array
8 years ago
Alexey Rogachev
186420da40
Fixes #13243 : Added support for unicode attribute names in `yii\widgets\DetailView`
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Brandon Kelly
5609e918de
Fixed some malformed @var tags ( #13468 ) [skip ci]
8 years ago
Alexander Makarov
442ac040cc
Used is_subclass_of() as suggested by @SamMousa
...
3946ac0dab (commitcomment-20466575)
8 years ago
Klimov Paul
3946ac0dab
Added `yii\widgets\InputWidget::$field` field, allowing access to the related `yii\widget\ActiveField` instance
8 years ago
Klimov Paul
194577c55e
Code style fix
8 years ago
SilverFire - Dmitry Naumenko
a710345ea7
Enhanced PHPDocs, added Unit tests, updated CHANGELOG
8 years ago
voskobovich
4afbad1aae
Calculation of activity menu item through the closure
...
Extended documentation
8 years ago
SilverFire - Dmitry Naumenko
24dae19fc8
ListView: PHPDocs and tests enhanced
8 years ago
SilverFire - Dmitry Naumenko
cdabb660d6
Refactored ListView::beforeItem, ::afterItem. Added Unit tests.
8 years ago
mdmunir
cc2e6bcd56
Add `beforeItem` and `afterItem` to the `ListView'
...
added changelog
8 years ago
Alexander Makarov
0b9feb28e5
More renaming, removed unnecessary code
8 years ago
Alexander Makarov
edfbab4a6b
More renaming and formatting fix
8 years ago
Alexander Makarov
dc294ba56f
Renamed variables, changed logic of turning client updates on
8 years ago
Boudewijn Vahrmeijer
fec8ae2e1e
removed @since
8 years ago
Alexander Makarov
ed8acc8e03
#12399 adjustments
8 years ago
a.kompaniets
fb779e3ec6
Fixes #12399 : Added `ActiveField::addAriaAttributes` property for `aria-required` and `aria-invalid` attributes rendering
8 years ago
Boudewijn Vahrmeijer
5784dd1dbf
fix travis
8 years ago
Boudewijn Vahrmeijer
7b3f4095c2
added @since
8 years ago
Boudewijn Vahrmeijer
9218adcec2
fixes after @samdark review
8 years ago
Boudewijn Vahrmeijer
7f537d684e
Custom ID generation for Pjax widgets to solve unstable ajax calls (issue #12969 )
...
Implements the solution proposed in the following comment:
https://github.com/yiisoft/yii2/pull/12977#issuecomment-260123078
8 years ago
Boudewijn Vahrmeijer
aba42fce4d
Squash merge rebased branch nadar-patch-4
8 years ago
Alexey Rogachev
6428fab406
Closes #9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView` ( #13013 )
...
#9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView`
8 years ago
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
webdevsega
a8a46a13bc
Allow itemOptions in ListView to be a closure
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
Māris Graudiņš
8f5b1fb3eb
Fixes #12790 : Added `scrollToErrorOffset` option for `ActiveForm` which adds ability to specify offset in pixels when scrolling to error
8 years ago