Task #45499
closed
\TYPO3\CMS\Utility\StringUtility is not used in core - consider deprecation
Added by Jost Baron over 11 years ago.
Updated almost 7 years ago.
Description
Hi.
If my patch for Issue #45404 is accepted, the class \TYPO3\CMS\Utility\StringUtility will not be used in the core or any system extension anymore. Also it seems not that mature in its current state.
Please consider deprecation of that whole class (and its tests, of course).
I agree with the issue mentioned in #45404 but I think we still should have a string utility class. Instead of deprecating the class I suggest moving other string related methods here.
That would be even better, GeneralUtility really needs fewer functions in it.
I'm not sure if deprecation of the current "isLastPartOfStr" would still be a good idea: It is not used in the core (don't know about extensions), and thus is dead code. On the other hand, that means throwing away quite a bit of work (look at the unit tests).
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF