Task #97602
closed
Always call GU::trimExplode with a string parameter
Added by Oliver Klee almost 3 years ago.
Updated 3 days ago.
Description
This avoids type errors when GeneralUtility is switched to strict mode.
- Blocks Task #97578: Mark GeneralUtility as strict added
- Status changed from New to Accepted
- Subject changed from Always call GU::trimeExplode with a string parameter to Always call GU::trimExplode with a string parameter
- Blocks deleted (Task #97578: Mark GeneralUtility as strict)
This is not necessary (at least not for marking GU as strict): GU::trimExplode already casts the parameter to string. So this ticket can be closed.
Ah, let's keep this open as this will become necessary once GU::trimExplode has native type declarations (and GU is marked as strict).
There are really a lot a places to change. We should split this up:
- backend
- core
- extbase & fluid
- felogin
- frontend
- install
- recordlist
- workspaces
- everything else
- Tracker changed from Bug to Epic
- TYPO3 Version deleted (
12)
- Blocked by Bug #97960: Always call GU::trimExplode with a string parameter in EXT:extbase and EXT:fluid added
- Target version deleted (
12 LTS)
- Status changed from Accepted to Under Review
request to close issue from author as he currently doesn't plan to work on those issues.
If you find the issue valid and want to work on that, feel free to comment or contact me on slack
- Tracker changed from Epic to Task
- Status changed from Under Review to Closed
- TYPO3 Version set to 12
Also available in: Atom
PDF