|
1b8da6d951
|
Add StringHelper::matchWildcard() (#15389)
`StringHelper::matchWildcard()` added
|
2017-12-20 16:16:25 +02:00 |
|
|
efac23dde7
|
Fixes #15335: Added FileHelper::unlink() that works well under all OSes
|
2017-12-11 22:29:31 +03:00 |
|
|
1e00a050d7
|
Fixes #15322: Fixed PHP 7.2 compatibility of FileHelper::getExtensionsByMimeType()
|
2017-12-10 16:31:42 +03:00 |
|
|
5a8c3d537b
|
Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
|
2017-08-21 11:19:35 +02:00 |
|
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
2017-08-21 01:58:49 +03:00 |
|
|
ea33bbd369
|
Fix docs of a base file helper (#14477) [skip ci]
|
2017-07-18 13:45:22 +03:00 |
|
|
a50d9d8e3e
|
Enable include rule in php-cs-fixer (#14418)
|
2017-07-10 13:19:57 +03:00 |
|
|
fe8a0a6a2e
|
Enable no_useless_else rule in php-cs-fixer (#14420)
|
2017-07-10 11:26:21 +03:00 |
|
|
ac70262bfc
|
Fixed typo in BaseFileHelper::findFiles() docs (#14200) [skip ci]
|
2017-05-24 20:59:35 +05:00 |
|
|
5e8e6840b6
|
Added copyEmptyDirectories option to FileHelper
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
|
2017-05-08 00:21:53 +02:00 |
|
|
debe85fa34
|
Fixes #14098: yii\helpers\BaseFileHelper::normalizeOptions() is now protected
|
2017-05-03 00:53:21 +02:00 |
|
|
1d5a6d1722
|
Add is_dir() validation for BaseFileHelper::findFiles().
Sometimes it throws exception when file/directory is deleted or moved while executing script.
|
2016-12-15 23:21:17 +02:00 |
|
|
4aa935e69e
|
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
|
2016-11-07 02:51:39 +03:00 |
|
|
740a97de49
|
fixed file helper docs about ordering in findFiles()
fixes #12546
|
2016-09-16 09:45:09 +02:00 |
|
|
fd54ff2212
|
Update PHPDoc
|
2016-09-15 20:20:45 +03:00 |
|
|
b39a0a1e5a
|
Fixes #11774: Fixed incorrect recusuive symlinks check in FileHelper
|
2016-06-18 17:34:25 +03:00 |
|
|
4f4fa6fdf0
|
Fixes #10710: yii\helpers\FileHelper::copyDirectory() is now throwing exception when trying to copy a directory to itself or a subdirectory
|
2016-04-23 01:58:33 +03:00 |
|
|
77599dc179
|
fixes #11040: make copyDirectory method work correctly with parameter 'recursive'
|
2016-03-08 00:45:52 +06:00 |
|
|
a6e1ba2cf6
|
Fixed mb_ functions calls to use UTF-8 or app charset
|
2015-11-17 09:02:22 +02:00 |
|
|
8d2af0d2d9
|
Added last resort measure for FileHelper::removeDirectory() fail to unlink symlinks under Windows
|
2015-10-11 02:05:15 +03:00 |
|
|
1b3770fd21
|
Use === instead of == where possible
|
2015-10-10 01:04:35 +03:00 |
|
|
f007fc1e60
|
avoid recursion on the root of the file system
fixes #9791
|
2015-09-29 15:37:05 +02:00 |
|
|
b4da7b570c
|
Better fix for #9288
|
2015-09-08 15:25:56 +03:00 |
|
|
6b2748a0b3
|
Code formatting for #9288
|
2015-09-05 01:41:52 +03:00 |
|
|
4d21c48bc4
|
Fixes #9288: Fixed FileHelper::createDirectory directory creation to be concurrency friendly
|
2015-09-05 01:39:27 +03:00 |
|
|
39cb131984
|
Spelling and sc fixes
|
2015-06-16 23:53:12 +03:00 |
|
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
2015-06-09 00:05:06 +03:00 |
|
|
38ca276e1f
|
PSR-2 try-catch statement
|
2015-06-08 23:32:08 +03:00 |
|
|
14c003acab
|
improved error message on createDirectory
ensure the directory name is included in the error message.
fixes #6442
|
2015-04-01 00:53:03 +02:00 |
|
|
16c94efaf5
|
improved error messages in FileHelper
|
2015-03-26 13:24:59 +01:00 |
|
|
6481d13494
|
Optimized checks order in conditions
|
2015-02-08 17:56:36 +03:00 |
|
|
64b4d6dca1
|
Correct order of property declaration
|
2014-10-25 16:28:36 +03:00 |
|
|
b835422479
|
Fixes #4897: Added `yii\helpers\FileHelper::mimeMagicFile
|
2014-09-10 14:17:16 -04:00 |
|
|
0bf16497af
|
Convert 'caseless' option into 'caseSensitive' option at yii\helpers\BaseFileHelper::findFiles()
|
2014-08-19 17:33:11 +03:00 |
|
|
6461523aca
|
Added 'caseless' option to yii\helpers\BaseFileHelper::findFiles()
|
2014-08-19 14:52:56 +03:00 |
|
|
3a1e0f3a5c
|
property codestyle framework
|
2014-07-30 00:21:31 +02:00 |
|
|
77e4a80edc
|
Removed unused code
|
2014-07-25 17:34:16 +04:00 |
|
|
92c64994cd
|
Improved strtr calls
|
2014-07-23 16:19:28 +04:00 |
|
|
74843ccbf4
|
make fileinfo optional requirement
|
2014-06-30 11:31:15 +02:00 |
|
|
9bc8c3304b
|
https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860
|
2014-06-27 21:07:12 +06:00 |
|
|
1327d8ad2d
|
Fix possibility of non-removed symlinked directory.
|
2014-06-27 20:38:05 +06:00 |
|
|
fb9df78795
|
Fixes #4080, FileHelper::removeDirectory():
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
|
2014-06-27 13:47:43 +06:00 |
|
|
084819b84c
|
refactored file validator.
|
2014-06-14 16:21:59 -04:00 |
|
|
42643e3747
|
type validation adjusted
|
2014-06-14 12:42:12 +04:00 |
|
|
718d114828
|
file helper adjusted , upgrade notes added
|
2014-06-11 21:43:51 +04:00 |
|
|
f19a97e308
|
Fix yii\helpers\FileHelper::copyDirectory() pattern not working
|
2014-05-30 14:50:11 +03:00 |
|
|
330f4609bf
|
Implemented qiangxue's solution as it is much simpler.
|
2014-05-22 08:23:26 +10:00 |
|
|
39265da4f5
|
Code style fix & CHANGELOG typo fix for bug #3522
|
2014-05-21 22:24:49 +10:00 |
|
|
be89ff97d3
|
fixed normalizePath to keep a '.' path when necessary.
|
2014-05-21 20:55:52 +10:00 |
|
|
78a8694eb5
|
file helper did not preserve relative paths
|
2014-04-25 04:06:07 +02:00 |
|