Skip to content

Releases: BerliozFramework/Helpers

v1.5.0

22 Dec 17:25
Compare
Choose a tag to compare

Added

  • New method FileHelper::resolveAbsolutePath() to resolve absolute path from another
  • New method FileHelper::resolveRelativePath() to resolve relative path from another

v1.4.0

07 Dec 17:22
f77eee1
Compare
Choose a tag to compare

Changed

  • ArrayHelper::isSequential() use array_is_list() function in PHP 8.1

Fixed

  • ArrayHelper::isSequential() return TRUE only if keys are sequential INTEGER
  • StringHelper::parseStr() with empty string or empty key

v1.3.1

18 Oct 13:06
Compare
Choose a tag to compare

Fixed

  • Fix not decoded variable name with StringHelper::parseStr()

v1.3.0

18 Oct 12:43
Compare
Choose a tag to compare

Added

  • New method StringHelper::parseStr() which keep dots in variable name

v1.2.0

03 May 16:01
Compare
Choose a tag to compare

Changed

  • ArrayHelper::mergeRecursive() accepts no parameters
  • ArrayHelper::traverse*() have typed iterable first parameter

Fixed

  • Array merge with empty arrays

v1.1.5

26 Apr 10:35
Compare
Choose a tag to compare

Changed

  • Bump PHPUnit version to 9.3

Fixed

  • Cast parameters given to imagecopyresampled function to integer

v1.1.4

02 Apr 20:57
Compare
Choose a tag to compare

Fixed

  • Fixed ArrayHelper::traverseHas() not returning true for null value
  • Fixed ArrayHelper::traverseGet() not returning a null value

v1.1.3

31 Mar 07:56
Compare
Choose a tag to compare

Fixed

  • 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

v1.1.2

11 Mar 14:10
Compare
Choose a tag to compare

Fixed

  • ArrayHelper::traverseExists() returns true on non-existent final key

v1.1.1

05 Nov 12:58
Compare
Choose a tag to compare

Added

  • PHP 8 compatibility in composer.json

Changed

  • Bump PHP compatibility to 7.3

Fixed

  • 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