[TASK] Deprecate 2nd argument of GeneralUtility::explodeUrl2Array 70/57770/7
authorBenni Mack <benni@typo3.org>
Thu, 2 Aug 2018 08:06:48 +0000 (10:06 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 10 Aug 2018 10:30:04 +0000 (12:30 +0200)
commit0e654ec78a2beb3116a178bf11fbe68806289fa3
treeea8ecfcca72a0ab7b4b90b4607ec6f72244c3225
parent2c26eaff85da3dc8e2becdf47e391f9c6bfc703d
[TASK] Deprecate 2nd argument of GeneralUtility::explodeUrl2Array

Calling `GeneralUtility::explodeUrl2Array` with a second
parameter "true" can be simplified by using PHP's
native parse_str() method directly.

The second parameter is then deprecated.

All occurrences are replaced with "parse_str()" where
the second parameter was set to true.

Resolves: #85801
Releases: master
Change-Id: Ifd590bc17626cb93495f3f43935671e3f2296c7b
Reviewed-on: https://review.typo3.org/57770
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
13 files changed:
typo3/sysext/backend/Classes/Backend/Shortcut/ShortcutRepository.php
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85801-GeneralUtilityexplodeUrl2Array-2ndMethodArgument.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php
typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedStaticMatcher.php
typo3/sysext/redirects/Classes/Service/RedirectService.php