[FEATURE] Allow camelCased class names in ext_autoload
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 11 May 2012 17:52:04 +0000 (19:52 +0200)
committerBenjamin Mack <benni@typo3.org>
Sat, 12 May 2012 03:11:06 +0000 (05:11 +0200)
commit9090ae4bf58c131a4f500a894909fc21b91dec37
treeb090ce91bd63cc676ecbd5a04c8f24d9c068c532
parent93df49b9184b9545ce11bc2badce0bb06609ca69
[FEATURE] Allow camelCased class names in ext_autoload

Remove the hurdle that class names in ext_autoload (the key part of
the returned array) have to be lower cased.

The patch adds two tests, the first one expects that a case sensitive
class name in ext_autoload.php in actually lowercases before it is
written to the autoload cache file. It fails if the autoloader patch
is not applied.
The second tests that camel cased classes can be successfully autoloaded.

Change-Id: I2ccf916d43a288a520f6f89e9002bdc4df2da0b2
Resolves: #37110
Releases: 6.0
Reviewed-on: http://review.typo3.org/11148
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Philipp Gampe
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
t3lib/class.t3lib_autoloader.php
tests/Unit/t3lib/class.t3lib_autoloaderTest.php