[TASK] Prepare stateless DiffUtility
DiffUtility has the unfortunate property `$stripTags`, making this tiny service stateful. This service should not `strip_tags()` on its own, consumers should, if needed. The patch adds a new method `diff()`, that does not strip tags anymore and deprecates the property and method `makeDiffDisplay()`. Resolves: #104325 Releases: main Change-Id: Ib6705816bf1547bc2a54eb5bb364fdcde4c10ea9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85141 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php 3 additions, 4 deletions...es/Controller/ContentElement/ElementHistoryController.php
- typo3/sysext/backend/Classes/Form/FieldWizard/DefaultLanguageDifferences.php 1 addition, 2 deletions...d/Classes/Form/FieldWizard/DefaultLanguageDifferences.php
- typo3/sysext/backend/Classes/ViewHelpers/TypoScript/FineDiffViewHelper.php 4 additions, 3 deletions...end/Classes/ViewHelpers/TypoScript/FineDiffViewHelper.php
- typo3/sysext/core/Classes/Utility/DiffUtility.php 12 additions, 1 deletiontypo3/sysext/core/Classes/Utility/DiffUtility.php
- typo3/sysext/core/Documentation/Changelog/13.3/Deprecation-104325-DiffUtility-makeDiffDisplay.rst 53 additions, 0 deletions...g/13.3/Deprecation-104325-DiffUtility-makeDiffDisplay.rst
- typo3/sysext/impexp/Classes/ImportExport.php 6 additions, 16 deletionstypo3/sysext/impexp/Classes/ImportExport.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 7 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php 5 additions, 0 deletions...figuration/ExtensionScanner/Php/PropertyPublicMatcher.php
- typo3/sysext/workspaces/Classes/Controller/Remote/RemoteServer.php 7 additions, 13 deletions...ext/workspaces/Classes/Controller/Remote/RemoteServer.php
- typo3/sysext/workspaces/Classes/Service/HistoryService.php 2 additions, 3 deletionstypo3/sysext/workspaces/Classes/Service/HistoryService.php
- typo3/sysext/workspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php 18 additions, 8 deletions...kspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php
Please register or sign in to comment