[TASK] Add `function_to_constant` to php-cs-fixer
php-cs-fixer has the fixer `function_to_constant` which replaces PHP functions to their equivalent constants, which is added with this commit. Resolves: #97697 Releases: main Change-Id: Ibdbfab404d2a7d35698d4afd6bb265294f7c3faf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74773 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/php-cs-fixer.php 1 addition, 0 deletionsBuild/php-cs-fixer.php
- typo3/sysext/core/Classes/Html/RteHtmlParser.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Html/RteHtmlParser.php
- typo3/sysext/core/Classes/Type/Enumeration.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Type/Enumeration.php
Please register or sign in to comment