Deprecation: #92607 - GeneralUtility::uniqueList
See forge#92607
Description
Since longer than a decade, the
General
method does not
accept an
array
as first argument anymore. The second
parameter is unused just as long. Both throw an
Invalid
upon usage.
As the method doesn't belong to
General
at all, a new refactored
version was added to
String
. Therefore, the exceptions were removed
along with the unused second parameter. The first parameter is now type hinted
string
and the return type
string
was added. The
PHPDoc was updated accordingly.
Impact
Calling the method will trigger a PHP
E_
error.
Affected Installations
TYPO3 installations with custom third-party extensions calling this method.
Migration
Use the new
String
method instead and ensure you
pass a valid string as first argument and omit the second argument.