See Issue #94791
The static method
has been marked as deprecated.
Back in TYPO3 4.x times, the “jsmin” library was used to minify
introduced, and then “jsmin” was removed again. Since then,
and should rather be moved into the
where it resides now.
The hook itself works exactly as before.
Calling the method will trigger a PHP
E_USER_DEPRECATED error. Extension
scanner will detect calls as strong match.
TYPO3 installations with custom extensions calling this method, which is highly unlikely.
Custom extensions using this hook will still work as before without any changes.
As this method was used to only trigger a hook, it is recommended
to use the
ResourceCompressor API instead, removing
any direct calls to this method.
If still needed, extension authors can also copy the hook call execution to use the hook logic, which is not recommended though.