[BUGFIX] Cast `$chars` argument of `fixed_lgd_cs()` to int
Since #97578, `GeneralUtility` is declared strict, potentially breaking calls to `fixed_lgd_cs()` in at least the "List" module. The argument `$chars` must be of type int, but sometimes it's a string which breaks the call of `abs()`. All calls to this method are adjusted, where required, and the value is explicitly cast to int. Resolves: #97887 Related: #97578 Releases: main Change-Id: I7feed1ae8dbe7cdbc906d73cfbc49f7d9dbeb6fe Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75091 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/backend/Classes/Clipboard/Clipboard.php 3 additions, 3 deletionstypo3/sysext/backend/Classes/Clipboard/Clipboard.php
- typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php 3 additions, 3 deletions...kend/Classes/ContextMenu/ItemProviders/RecordProvider.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 1 addition, 1 deletion...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Classes/Form/Element/GroupElement.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/Element/GroupElement.php
- typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php 1 addition, 1 deletion...sext/backend/Classes/Form/FieldWizard/RecordsOverview.php
- typo3/sysext/backend/Classes/Template/Components/MetaInformation.php 1 addition, 1 deletion...t/backend/Classes/Template/Components/MetaInformation.php
- typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
- typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Tree/View/PagePositionMap.php
- typo3/sysext/backend/Classes/Tree/View/PageTreeView.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Tree/View/PageTreeView.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/core/Classes/TimeTracker/TimeTracker.php 1 addition, 1 deletiontypo3/sysext/core/Classes/TimeTracker/TimeTracker.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 3 additions, 1 deletiontypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileProvider.php 1 addition, 1 deletion...lelist/Classes/ContextMenu/ItemProviders/FileProvider.php
- typo3/sysext/filelist/Classes/FileList.php 1 addition, 1 deletiontypo3/sysext/filelist/Classes/FileList.php
- typo3/sysext/indexed_search/Classes/Controller/SearchController.php 2 additions, 2 deletions...xt/indexed_search/Classes/Controller/SearchController.php
- typo3/sysext/info/Classes/Controller/TranslationStatusController.php 1 addition, 1 deletion...t/info/Classes/Controller/TranslationStatusController.php
- typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerController.php 1 addition, 1 deletion...emplate/Classes/Controller/TemplateAnalyzerController.php
- typo3/sysext/workspaces/Classes/Service/GridDataService.php 2 additions, 2 deletionstypo3/sysext/workspaces/Classes/Service/GridDataService.php
Please register or sign in to comment