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
|
fe8a0a6a2e
|
Enable `no_useless_else` rule in php-cs-fixer (#14420)
|
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
|
4b9e48b8dc
|
improved docs: link term "path alias" to the guide
|
7 years ago |
Carsten Brandt
|
4af62a6bd7
|
improve session PHPdoc
|
8 years ago |
SilverFire - Dmitry Naumenko
|
ab36cb29e1
|
Updated PHPDocs: marked session-handling methods as internal
|
8 years ago |
Carsten Brandt
|
c19b2f7dc8
|
release version 2.0.11
|
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 |
Klimov Paul
|
22a224d232
|
Usage of `extract()` at `Session::setCookieParamsInternal()` removed
|
8 years ago |
SilverFire - Dmitry Naumenko
|
eb02b362be
|
Revert "Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility"
This reverts commit f7bd7c2b6b .
|
8 years ago |
SilverFire - Dmitry Naumenko
|
f7bd7c2b6b
|
Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility
|
8 years ago |
Alexander Makarov
|
0ae73251ee
|
Fixed tests
|
8 years ago |
Alexander Makarov
|
457abe8939
|
Fixes #12085: Fixed session destruction sequence
|
8 years ago |
Alexander Makarov
|
ce65e23851
|
#10583 check for sent content before attempting to regenerate headers in debug mode
|
8 years ago |
Alexander Makarov
|
b2fbbdf5d7
|
Reverted non-suppression of session_start since it seems it's not possible to achieve same behavior w/o it #10583
|
8 years ago |
Alexander Makarov
|
25e0a879d6
|
Added output check for session handler #10583
|
8 years ago |
Alexander Makarov
|
0061692e60
|
Replaced unnecessary double quotes with single quotes
|
8 years ago |
Alexander Makarov
|
7c6f76cb1a
|
Fixes #10583: Do not silence session errors in debug mode
|
8 years ago |
Carsten Brandt
|
217d50e4ff
|
improved PHPdoc and `@since` annotations
|
8 years ago |
cartmanchen
|
fc987f48de
|
Fixes #11459: Fixed flash messages not destroyed when `session.auto_start = 1` set in php.ini
|
9 years ago |
Andrew Nester
|
ab25b8a358
|
10218 - Fix for session regenerate id issue that occured after user logged out #10218
|
9 years ago |
AnatolyRugalev
|
c39c0b3ddd
|
returned shutdown handler to it's original place
|
9 years ago |
AnatolyRugalev
|
84702f1e6f
|
1. Added init() warning to session component
2. register_shutdown_function() for Session::close now only calls after successful session open
|
9 years ago |
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
9 years ago |
Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
9 years ago |
Alexander Mohorev
|
0c5e4b7105
|
PSR-2 foreach statement
|
9 years ago |
Carsten Brandt
|
f68e970de2
|
link to PHP classes just as we do with normal classes
apidoc can handle this!
|
9 years ago |
Qiang Xue
|
8e33fbfbff
|
Fixes #7636: `yii\web\Session::getHasSessionId()` uses a more lenient way to check if session ID is provided in URL
|
10 years ago |
Alexander Makarov
|
6481d13494
|
Optimized checks order in conditions
|
10 years ago |
Carsten Brandt
|
ab9afd74df
|
phpdoc improvements
|
10 years ago |
Qiang Xue
|
ae8d978270
|
2.0.0 release.
|
10 years ago |
Qiang Xue
|
42609dbed5
|
Fixes #5314: Fixed typo in the implementation of `yii\web\Session::getHasSessionId()`
|
10 years ago |
nkovacs
|
f41abf9105
|
Update documentation to mention addFlash
|
10 years ago |
Qiang Xue
|
1cfa5bc9ee
|
Fixes #4740: Added `yii\web\Session::addFlash()`
|
10 years ago |
restyler
|
f1aeac5dc2
|
addFlash method was implemented
|
10 years ago |
restyler
|
3d2cac534c
|
Multiple flash messages per type support
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Qiang Xue
|
7b1cef269d
|
Fixes #3996: Traversing `Yii::$app->session` may cause a PHP error
|
10 years ago |
Qiang Xue
|
209dd7e600
|
Fixes #3956: Flash messages set via `Yii::$app->session->setFlash()` will be removed only if they are accessed
|
10 years ago |
Carsten Brandt
|
ad6b191081
|
improved docs about flash messages
|
11 years ago |
Qiang Xue
|
0b29c9607d
|
fixed broken API links [skip ci]
|
11 years ago |
Qiang Xue
|
a440abad21
|
doc fix [skip ci]
|
11 years ago |
Qiang Xue
|
c23b671f3b
|
better fix [skip ci]
|
11 years ago |
Qiang Xue
|
03db4c468a
|
Fixes #2921
|
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 |
Qiang Xue
|
bd3dd038ab
|
Fixed user status check.
|
11 years ago |