SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Alexander Makarov
9f7d09cfae
Removed unneeded quotes
7 years ago
Alexander Makarov
d9fdf0f235
Added missing escaping to Windows fallback of FileHelper::unlink()
7 years ago
Alexander Makarov
7febeb8ad4
Renamed yii\helpers\FileHelper findDirectory() method to findDirectories() to be consistend with findFiles()
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Arsen
16e63f6de2
Fixes #13465 : Added `yii\helpers\FileHelper::findDirectory()` method
7 years ago
Elvira Sheina
06ebd3faa7
Fixes #13034 : Fixed `normalizePath` for windows network shares that start with two backslashes
7 years ago
Paul Klimov
1b8da6d951
Add `StringHelper::matchWildcard()` ( #15389 )
...
`StringHelper::matchWildcard()` added
7 years ago
Alexander Makarov
efac23dde7
Fixes #15335 : Added `FileHelper::unlink()` that works well under all OSes
7 years ago
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