Alexander Makarov
|
fb23b0d0ea
|
Code style fixes
|
7 years ago |
Dmitry Naumenko
|
64d8af61a6
|
Fixes for PHP 7.2 compatibility (#14959)
|
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
|
0c0942d6e2
|
Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci]
|
7 years ago |
Robert Korulczyk
|
12eb936083
|
Enable `heredoc_to_nowdoc` rule in php-cs-fixer (#14419)
|
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 |
Ilya Rogov
|
e2218cbbae
|
Add test coverage of yii\helpers\Html (#14220)
|
7 years ago |
Klimov Paul
|
dee88787fc
|
compatibility with PHPUnit 6.x added
|
8 years ago |
Sam
|
b238afacee
|
Fixes #4408: Add support for unicode word characters and `+` character in attribute names
|
8 years ago |
Alexander Makarov
|
3f8e8a89eb
|
Used more specific unit test assertions in framework tests
|
8 years ago |
Nikolay Oleynikov
|
f47b6c7683
|
Fixes #7946 Fixed a bug when the `form` attribute was not propagated to the hidden input of the checkbox
|
8 years ago |
Nikolay Oleynikov
|
148007ffd6
|
Refactor HTML helper attribute order (#13665)
|
8 years ago |
Alex-Code
|
a719293ab0
|
Fixes #13649: Fixes issue where `['uncheck' => false]` and `['label' => false]` options for `ActiveRadio` and `ActiveCheckbox` were ignored
|
8 years ago |
Nikolay Oleynikov
|
e8f8ba2129
|
Remove excessive `use` statement (#13604)
|
8 years ago |
Nikolay Oleynikov
|
a26d28f8e3
|
Fixes #13576: Added support of `srcset` to `yii\helpers\Html::img()`
|
8 years ago |
SilverFire - Dmitry Naumenko
|
63e650952b
|
Updated tests for HtmlHelper::textarea()
|
8 years ago |
Alexey Rogachev
|
ea251e24ba
|
Closes #7420: Attributes for prompt generated with `renderSelectOptions` of `\yii\helpers\Html` helper
|
8 years ago |
SilverFire - Dmitry Naumenko
|
c66b845f48
|
Revert "Fixed #11973: `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly"
This reverts commit 3fcc26996b .
|
8 years ago |
SilverFire - Dmitry Naumenko
|
7e16a667ee
|
Added unit-test for BaseHtml::errorSummary()
|
8 years ago |
SilverFire - Dmitry Naumenko
|
3fcc26996b
|
Fixed #11973: `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly
|
8 years ago |
Alexander Makarov
|
16e4cab8f1
|
Fixes #11865: Fixed setting `selected` for dropdown list using options
|
8 years ago |
Sam Mousa
|
16a6af5fa8
|
Add helper function for checking if an object is an array-like object.
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
|
9 years ago |
Daniel Gomez Pan
|
295bb3e173
|
WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent
|
9 years ago |
Daniel Gomez Pan
|
cd7039e97c
|
WIP #10764
|
9 years ago |
Carsten Brandt
|
8897723c2a
|
added test to verify #10486
|
9 years ago |
SilverFire - Dmitry Naumenko
|
469206d8d0
|
HtmlTest - added tests to checkboxList and listBox
|
9 years ago |
cohen
|
85c6a903dc
|
Enh #10390: Added ability to disable outer tag for `\yii\helpers\BaseHtml::radiolist()`, `::checkboxList`
|
9 years ago |
Mehdi Achour
|
cca500083e
|
Implement #10078: Allow disabling csrf hidden input generation on a form
|
9 years ago |
Klimov Paul
|
0874ffac38
|
Fixed `yii\helpers\Html::activeTextarea()` does not allow value overriding via options
|
9 years ago |
Klimov Paul
|
0f04af1af9
|
Added support to automatically set the `maxlength` attribute for `Html::activeTextArea()` and `Html::activePassword()`
|
9 years ago |
Klimov Paul
|
0a7191dbfe
|
Preserving of the named key classes at `yii\helpers\Html::addCssClass()` provided
|
10 years ago |
Klimov Paul
|
41f6a6e558
|
Specification for 'class' and 'style' in array format added to `yii\helpers\Html`
|
10 years ago |
Klimov Paul
|
3a39f8ab72
|
`yii\helpers\Html` allows correct rendering of conditional comments containing `!IE`
|
10 years ago |
Alexander Makarov
|
6949992246
|
Simplified tests directory structure a bit
|
10 years ago |
Carsten Brandt
|
17011e48b4
|
added unit test for #8066
|
10 years ago |
Qiang Xue
|
f57a517f6d
|
Fixes #7449: Added `encode` option to allow not encoding select options for `Html::dropDownList()` and `Html::listBox()`
|
10 years ago |
Anton Ivanov
|
36aa65287a
|
Enh #7449: HtmlTest improvements
|
10 years ago |
Qiang Xue
|
a3ea7b774d
|
Fixes #7350: Added `yii\helpers\Html::$dataAttributes` to support customizing data attributes.
|
10 years ago |
Alexander Makarov
|
a831271d29
|
Moved assertEqualsWithoutLE() to \yiiunit\TestCase, fixed some test failures on Windows
|
10 years ago |
Alexander Makarov
|
7592dcc7f1
|
Added test for #5361
|
10 years ago |
Alexander Makarov
|
d06f849a85
|
Another test attempt for #5356
|
10 years ago |
Alexander Makarov
|
1bea489f98
|
Added test for #5356
|
10 years ago |
Qiang Xue
|
00e4d63e57
|
Fixed test break.
|
10 years ago |
Qiang Xue
|
f50f840a55
|
Fixes #4955: Replaced callbacks with events for `ActiveForm`
|
10 years ago |
Qiang Xue
|
61284ed405
|
Fixes #3910: Removed the `container` option from `Html::checkbox()` and `Html::radio()`
|
10 years ago |
Qiang Xue
|
3786440288
|
Fixes #4762: Reverted automatic ID fix.
|
10 years ago |
Qiang Xue
|
61b627a6fc
|
Fixes #4318: `yii\helpers\Html::ul()` and `ol()` will return an empty list tag if an empty item array is given
|
10 years ago |
Carsten Brandt
|
4de6e8c6b2
|
fix #3501 replace . when generating input ids
|
10 years ago |
Qiang Xue
|
96feeb894c
|
Fixed test break of Html.
|
11 years ago |
Carsten Brandt
|
1a848453a1
|
tried to fix tests for #3472
|
11 years ago |