[TYPO3-dev] Extension migration
Jigal van Hemert
jigal.van.hemert at typo3.org
Mon Dec 16 21:42:07 CET 2013
Hi,
On 16-12-2013 19:36, Bernhard Kraft wrote:
> Is there any suggested way for upgrade-procedures to make an extension
> 6.x compatible?
>
> Altough it is trivial to simply remove all require_once() statements I
> wonder if it makes sense to write a basic unit test for every file which
> checks if the class file can get included ...
All supported versions of TYPO3 CMS support the use of the autoloader
feature. For your own classes use the ext_autoload.php and simply do not
use and include/require(_once) for core classes.
For 6.x you can/should use the namespaced names of core classes. If you
have XCLASSes use the new method.
--
Jigal van Hemert
TYPO3 CMS Active Contributor
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-dev
mailing list