7143fdfe3e
Fix #20530 : Fix notice "Object of class DateTimeImmutable could not be converted to int" in CookieCollection::has
2025-09-16 21:28:41 +03:00
06858c1089
Fix #20508 : Fix PHPDoc, add PHPStan/Psalm annotations for yii\web\CookieCollection::getIterator. Add missing @property annotation in yii\base\Model
2025-09-02 08:10:56 +03:00
f96c2c5ef4
Add accidentally removed phpdoc
2024-07-12 16:29:14 +03:00
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
73902f0730
Added support for string and DateTimeInterface as Cookie::$expire ( #19920 )
...
* Added support for string as Cookie::$expire
* Updated changelog for #19920 (Broadened the accepted type of `Cookie::$expire` from `int` to `int|string|null`)
* Fixed `\yiiunit\framework\web\ResponseTest::parseHeaderCookies()` to overwrite existing cookie.
* Added support for `\DateTimeInterface` in `\yii\web\Cookie::$expire`
* Fixed `\yiiunit\framework\web\ResponseTest::cookiesTestProvider()` for PHP 5.4 and commited missing code for \DateTimeInterface processing in `\yii\web\Response::sendCookies()`
2023-08-15 18:38:10 +02:00
c9f491b4f7
release version 2.0.48.1
2023-05-24 23:04:02 +04:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
aa61a7b77a
clarification added ( #19220 )
2022-02-10 14:07:39 +01:00
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
2022-01-14 13:52:01 +03:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
4479c66522
Fixed phpdoc types
2021-03-12 23:41:48 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
ff83a13d57
Fixes #16068 : Fixed yii\web\CookieCollection::has when an expiration param is set to 'until the browser is closed'
2018-04-30 13:07:36 +03:00
3ee7629f13
Fixes #13486 : Use DI container to instantiate cookies in order to be able to set defaults
2017-10-05 14:41:46 +02:00
1f26db9fb7
Applied code style fixes
2017-07-21 15:42:06 +03:00
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
2017-07-19 10:51:46 +02: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
6da1ec6fb2
Fixes #13845 : mt_rand() is not used instead of rand() in yii\captcha\CaptchaAction + minor code improvements
2017-03-24 13:50:13 +03: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
f68e970de2
link to PHP classes just as we do with normal classes
...
apidoc can handle this!
2015-06-05 21:53:24 +02:00
07403d3f9d
Fixes #3723 : yii\filters\PageCache now supports caching response headers as well as non-HTML response content
2015-02-21 19:45:44 -05:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
cbcc7b6a48
Fixes #2264 : CookieCollection::has() will return false for expired or removed cookies
2014-04-23 09:28:05 -04:00
a97a35bab7
fixed typo
2014-04-04 04:40:17 +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
ad19e332f4
Added back some toArray() implementations.
2014-03-07 22:05:45 -05:00
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
2014-03-07 19:08:27 -05:00
9aa006e5ea
Removed implementation of Arrayable from yii\Object
2014-01-21 16:44:28 -05:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
884977a724
renamed util to helpers.
2013-03-23 15:32:26 -04:00
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
f610527a55
finished session components.
2013-03-03 21:51:06 -05:00
e66729840d
Finished cookie.
...
Finished SecurityHelper.
2013-03-02 22:03:35 -05:00
4d6b3ddb9d
request wip
2013-02-28 20:30:50 -05:00
1536a6828a
cookie, request, response WIP
2013-02-27 21:27:28 -05:00
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
d876da383e
...
2012-10-08 20:50:09 -04:00