Alexander Makarov
|
1e00a050d7
|
Fixes #15322: Fixed PHP 7.2 compatibility of `FileHelper::getExtensionsByMimeType()`
|
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
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Nikolay Oleynikov
|
ea33bbd369
|
Fix docs of a base file helper (#14477) [skip ci]
|
7 years ago |
Robert Korulczyk
|
a50d9d8e3e
|
Enable `include` rule in php-cs-fixer (#14418)
|
7 years ago |
Robert Korulczyk
|
fe8a0a6a2e
|
Enable `no_useless_else` rule in php-cs-fixer (#14420)
|
7 years ago |
corpsepk
|
ac70262bfc
|
Fixed typo in BaseFileHelper::findFiles() docs (#14200) [skip ci]
|
7 years ago |
Carsten Brandt
|
5e8e6840b6
|
Added copyEmptyDirectories option to FileHelper
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
|
7 years ago |
Brandon Kelly
|
debe85fa34
|
Fixes #14098: `yii\helpers\BaseFileHelper::normalizeOptions()` is now protected
|
8 years ago |
zalatov
|
1d5a6d1722
|
Add is_dir() validation for BaseFileHelper::findFiles().
Sometimes it throws exception when file/directory is deleted or moved while executing script.
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Carsten Brandt
|
740a97de49
|
fixed file helper docs about ordering in findFiles()
fixes #12546
|
8 years ago |
SilverFire - Dmitry Naumenko
|
fd54ff2212
|
Update PHPDoc
|
8 years ago |
AnikanovD
|
b39a0a1e5a
|
Fixes #11774: Fixed incorrect recusuive symlinks check in FileHelper
|
8 years ago |
Alexander Makarov
|
4f4fa6fdf0
|
Fixes #10710: `yii\helpers\FileHelper::copyDirectory()` is now throwing exception when trying to copy a directory to itself or a subdirectory
|
9 years ago |
Ni-san
|
77599dc179
|
fixes #11040: make copyDirectory method work correctly with parameter 'recursive'
|
9 years ago |
SilverFire - Dima Naumenko
|
a6e1ba2cf6
|
Fixed mb_ functions calls to use UTF-8 or app charset
|
9 years ago |
Alexander Makarov
|
8d2af0d2d9
|
Added last resort measure for `FileHelper::removeDirectory()` fail to unlink symlinks under Windows
|
9 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Carsten Brandt
|
f007fc1e60
|
avoid recursion on the root of the file system
fixes #9791
|
9 years ago |
Boudewijn Vahrmeijer
|
b4da7b570c
|
Better fix for #9288
|
9 years ago |
Alexander Makarov
|
6b2748a0b3
|
Code formatting for #9288
|
9 years ago |
Boudewijn Vahrmeijer
|
4d21c48bc4
|
Fixes #9288: Fixed `FileHelper::createDirectory` directory creation to be concurrency friendly
|
9 years ago |
Alexander Mohorev
|
39cb131984
|
Spelling and sc fixes
|
9 years ago |
Alexander Mohorev
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
9 years ago |
Alexander Mohorev
|
38ca276e1f
|
PSR-2 try-catch statement
|
9 years ago |
Carsten Brandt
|
14c003acab
|
improved error message on createDirectory
ensure the directory name is included in the error message.
fixes #6442
|
10 years ago |
Carsten Brandt
|
16c94efaf5
|
improved error messages in FileHelper
|
10 years ago |
Alexander Makarov
|
6481d13494
|
Optimized checks order in conditions
|
10 years ago |
Alexander Mohorev
|
64b4d6dca1
|
Correct order of property declaration
|
10 years ago |
Qiang Xue
|
b835422479
|
Fixes #4897: Added `yii\helpers\FileHelper::mimeMagicFile
|
10 years ago |
Klimov Paul
|
0bf16497af
|
Convert 'caseless' option into 'caseSensitive' option at `yii\helpers\BaseFileHelper::findFiles()`
|
10 years ago |
Klimov Paul
|
6461523aca
|
Added 'caseless' option to `yii\helpers\BaseFileHelper::findFiles()`
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Alexander Makarov
|
77e4a80edc
|
Removed unused code
|
10 years ago |
Alexander Makarov
|
92c64994cd
|
Improved strtr calls
|
10 years ago |
Carsten Brandt
|
74843ccbf4
|
make fileinfo optional requirement
|
10 years ago |
resurtm
|
9bc8c3304b
|
https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860
|
10 years ago |
resurtm
|
1327d8ad2d
|
Fix possibility of non-removed symlinked directory.
|
10 years ago |
resurtm
|
fb9df78795
|
Fixes #4080, FileHelper::removeDirectory():
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
|
10 years ago |
Qiang Xue
|
084819b84c
|
refactored file validator.
|
10 years ago |
Mark
|
42643e3747
|
type validation adjusted
|
10 years ago |
Mark
|
718d114828
|
file helper adjusted , upgrade notes added
|
10 years ago |
Klimov Paul
|
f19a97e308
|
Fix `yii\helpers\FileHelper::copyDirectory()` pattern not working
|
10 years ago |
Scott Tester
|
330f4609bf
|
Implemented qiangxue's solution as it is much simpler.
|
11 years ago |
Scott Tester
|
39265da4f5
|
Code style fix & CHANGELOG typo fix for bug #3522
|
11 years ago |
Scott Tester
|
be89ff97d3
|
fixed normalizePath to keep a '.' path when necessary.
|
11 years ago |
Carsten Brandt
|
78a8694eb5
|
file helper did not preserve relative paths
|
11 years ago |
Qiang Xue
|
ab218addda
|
Fixes #2563: Theming is not working if the path map of the theme contains ".." or "." in the paths
|
11 years ago |