[BUGFIX] Avoid implicit conversion to int in StringUtility
StringUtility::multibyteStringPad() does a happy division feeding str_repeat() to evenly pad on left and right side. The division result can be a float. With PHP 8.1, str_repeat($string, float) emits E_DEPRECATED "Implicit conversion from float looses precision.". Avoid this with an explicit cast. Resolves: #95772 Releases: master Change-Id: I8b918f6a4a304a059729e573a45626d1d5d27d10 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71970 Tested-by:core-ci <typo3@b13.com> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Please register or sign in to comment