All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning] (http://semver.org/). For change log format, use [Keep a Changelog] (http://keepachangelog.com/).
- New method
ArrayHelper::simpleArray()
to simplify a multidimensional array
- New method
FileHelper::ftruncate()
to truncate a part of file and shift rest of data.
- New method
FileHelper::fwritei()
to write with insertion of content instead of replacement
StringHelper::parseStr()
missing decode value in case of variable starts with brackets
StringHelper::parseStr()
with variable names starts with brackets
FileHelper::resolveAbsolutePath()
confuse directory of 2 characters with '..'
FileHelper::resolveAbsolutePath()
with empty destination path
StringHelper::parseStr()
with encoded brackets
- New method
ArrayHelper::column()
to do similar job thanarray_column()
native function but accepts \Closure in arguments to found keys
- Method
ArrayHelper::isSequential()
becomes deprecated (b_array_is_sequential()
function), useArrayHelper::isList()
instead (b_array_is_list()
function)
- Resolution of directory paths
- New method
FileHelper::resolveAbsolutePath()
to resolve absolute path from another - New method
FileHelper::resolveRelativePath()
to resolve relative path from another
ArrayHelper::isSequential()
usearray_is_list()
function in PHP 8.1
ArrayHelper::isSequential()
return TRUE only if keys are sequential INTEGERStringHelper::parseStr()
with empty string or empty key
- Fix not decoded variable name with
StringHelper::parseStr()
- New method
StringHelper::parseStr()
which keep dots in variable name
ArrayHelper::mergeRecursive()
accepts no parametersArrayHelper::traverse*()
have typediterable
first parameter
- Array merge with empty arrays
- Bump PHPUnit version to 9.3
- Cast parameters given to
imagecopyresampled
function to integer
- Fixed ArrayHelper::traverseHas() not returning true for null value
- Fixed ArrayHelper::traverseGet() not returning a null value
- Fixed ArrayHelper::traverseGet() not returning any default value on a non-existent final key
- Fixed ArrayHelper::traverseSet() not set value on a non-existent final key
- ArrayHelper::traverseExists() returns true on non-existent final key
- PHP 8 compatibility in
composer.json
- Bump PHP compatibility to 7.3
- StringHelper::removeAccents() returns empty string if error
- Bad image resize for portrait/landscape ratio
- ImageHelperTest::providerSizes() parameters name
- Deprecated assertRegExp() and assertNotRegExp() methods
- Cast value given to dechex() function in ImageHelper::gradientColor() method
- Add support of GdImage class in PHP 8
- Simplify FQN in sources
First version