39 Commits

Author SHA1 Message Date
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
9fadc6e102 Optimize comment of LinkPager (#16758) [skip ci] 2018-10-06 00:48:20 +03:00
9910519aba Revert "Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget"
This reverts commit 7dc38ff4029ec96931c574dac430a924370ea039.
2018-10-01 01:04:11 +03:00
7dc38ff402 Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget 2018-09-23 13:28:09 +03:00
08eccb612f Fixes #15536: Fixed yii\widgets\ActiveForm::init() for call parent::init() 2018-01-24 11:15:10 +03:00
e9f57b9e7e Fixes #15234: Fixed \yii\widgets\LinkPager removed tag from disabledListItemSubTagOptions 2017-11-27 23:42:17 +03:00
e18e98ffb3 Fixes #14363: Added yii\widgets\LinkPager::$linkContainerOptions and possibility to override tag in yii\widgets\LinkPager::$options 2017-07-30 13:27:32 +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
514b29d55d Fixes #13369: Added ability to render current yii\widgets\LinkPager page disabled 2017-04-02 00:54:00 +03:00
323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 2017-02-19 17:34:22 +03:00
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01:00
aba42fce4d Squash merge rebased branch nadar-patch-4 2016-11-22 17:01:38 +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
876ef142c1 Remove explicit property initialization with null 2016-07-30 00:18:05 +03:00
2778b4e613 Grammar fix 2015-12-21 13:49:14 +01:00
a8448eba47 Update LinkPager.php
added missing `@since` annotation.
2015-12-03 00:10:35 +01:00
760a164238 Fixes #9711: Added yii\widgets\LinkPager::$pageCssClass that allows to set default page class 2015-09-25 02:06:03 +03:00
59a9f47f8e Fixed last page label 2015-04-17 11:52:32 +03:00
a733ecd40c yii\widgets\LinkPager::$firstPageLabel and yii\widgets\LinkPager::$lastPageLabel now could be set to true in order to use page number as label 2015-04-17 11:51:48 +03:00
b1e2090083 Fixes #4595: more consistend use of "false" in "don't use" case 2014-08-07 15:58:52 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
b147e6516d minor CS fixes [skip ci] 2014-07-10 11:59:27 -04:00
374b98e2e4 Fixes #4227: \yii\widgets\LinkPager::$hideOnSinglePage is now true by default 2014-07-09 17:23:47 +04:00
5a1702e77c Refactor 2014-05-22 13:40:55 +03:00
6c25675d7e Changed param name 2014-05-22 10:18:06 +03:00
e860f218cf Add param for configuring rendering result with one page 2014-05-22 03:01:58 +03:00
e19737e132 Hide output when only one page exist 2014-05-22 01:55:08 +03:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -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
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
4d5ba13cba make registering of link tags optional in LinkPager 2014-02-28 16:37:34 +01:00
5feba5946e Added relational link tags to LinkPager widget
for prev, next, first and last page.
http://www.w3.org/TR/html401/struct/links.html#h-12.1.2
2014-02-28 16:29:50 +01:00
b7fddd8dd6 Added LinkPager::$linkOptions
fixes #2367
2014-02-20 19:14:46 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00