[TASK] Deprecate path prefixes in callUserFunction and getUserObj 52/48352/5
authorBenni Mack <benni@typo3.org>
Sat, 28 May 2016 11:31:04 +0000 (13:31 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Sat, 28 May 2016 12:26:45 +0000 (14:26 +0200)
commitd5a49594f4e8f605b4010abb415a5e8c1c7de55e
treefa9b4844380da0e760cfd9f4a81dcc5c52834881
parentb84df22d64bf30531dc617a0d8e63c5177ba23bc
[TASK] Deprecate path prefixes in callUserFunction and getUserObj

The possibility to call "GeneralUtility::callUserFunc()"
and "getUserObj()" with the first parameter containing the file reference
to the function or class separated by a colon is deprecated.

An example is "EXT:realurl/class.tx_realurl.php:tx_realurl->encodeSpURL".

Calling one of the methods above with this syntax now triggers a
deprecation message.

It is encouraged to use the common autoloading functionality of
composer or via the fallback autoloader by TYPO3 to achieve the
same functionality.

Resolves: #76345
Releases: master
Change-Id: Iaaa2f825d330681199f0b0928727b93bbd3c73a7
Reviewed-on: https://review.typo3.org/48352
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-76345-PathPrefixesInCallUserFunctionAndGetUserObj.rst [new file with mode: 0644]
typo3/sysext/dbal/ext_conf_template.txt
typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php
typo3/sysext/saltedpasswords/ext_conf_template.txt