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
22614a5b1f
release version 2.0.46
2022-08-19 01:18:45 +03: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
4cfdfc011f
Add yii\web\UploadedFile::$fullPath
( #19308 )
...
* Add `yii\web\UploadedFile::$fullPath`
`$_FILES['userfile']['full_path']` Available as of PHP 8.1.
Updates related methods `loadFilesRecursive()` and `loadFilesRecursive()`
* Update UploadedFile.php
* Update UploadedFile.php
* Update UploadedFile.php
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: Bizley <pawel@positive.codes>
* Update UploadedFile.php
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-30 09:38:00 +02:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
55793471ea
Fix #17875 : Revert move_uploaded_file()
function instead of copy()
and unlink()
for saving uploaded files when POST request
2020-02-20 12:22:01 +03:00
82b7ecbdf3
Fix #17828 : Fix yii\web\UploadedFile::saveAs()
failing when error value in $_FILES
entry is a string
2020-02-01 12:56:22 +03:00
fd6ccb615c
release version 2.0.32
2020-01-22 01:29:38 +03:00
706890a36e
Add "since" tags to UploadedFile [skip ci]
2020-01-22 01:01:16 +03:00
cf0e56907f
Fix #17037 , Fix #17729 : Fix uploaded file saving for multipart forms, add path alias support for UploadFile::saveAs()
2020-01-15 00:57:45 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
e2627d19fd
Adjusted UploadedFile::getInstance() phpdoc [skip ci]
2018-04-24 15:53:52 +03:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +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
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
494842636e
📖 Fixed client-side
and server-side
grammar in all files
2016-09-08 10:16:02 +03:00
2fe0a405a9
fix for #9027 - UploadedFile early instantiation problem ( #12439 )
...
fix for #9027 - UploadedFile - class instance is created on demand when getInstance or getInstances called, not when loadFiles called
2016-09-02 17:27:59 +03:00
3b5634bf8b
Fixes #11863 : Fixed usage of mb_substr
with PHP < 5.4.8 where length of NULL was treated the same as 0
2016-07-02 21:06:39 +03:00
c9d30b2a66
Fixes #11735 : Fixed yii\web\UploadedFile
to return null
when there's no file uploaded
2016-06-10 15:10:44 +03:00
1d74e761d5
Fixed UploadedFile::getBaseName() - mb_substr wrong arguments order
2016-03-20 23:59:05 +02:00
a0f9bf2893
Fixed yii\web\UploadedFile::getBaseName()
to be multibyte-safe, added test
2016-03-20 23:45:08 +02:00
75db69f90a
Fixed yii\web\UploadedFile::getBaseName()
to work with UTF-8 file names
2016-03-20 23:45:08 +02:00
984c51ab1a
Update phpDoc: return of UploadedFile::getInstance() / getInstanceByName()
2016-02-15 14:18:16 +03:00
4089c29a09
old C-prefix class name
2015-03-31 12:57:17 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
697a85dd26
Check for UPLOAD_ERR_NO_FILE in UploadedFile
...
fixes #4276 , close #4358
2014-07-19 11:57:14 +02:00
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
1a7da8be90
Use correct files array to allow inheritence
2014-03-26 19:58:40 +01:00
0b2aafc780
fixed private / self in helpers
...
fixes #2886
2014-03-26 16:03:42 +01: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
21ae27b306
updated phpdoc properties
2014-01-28 00:11:18 +01: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
3ed7b62233
Use Html::getInputName instead ActiveForm::getInputName
2013-05-05 06:36:48 +03:00
bb5b6a4191
Finished FileValidator and UploadedFile.
...
Added Model::formName().
2013-04-04 16:53:50 -04:00