Actions
Bug #43331
closed"Strict standards: Declaration of "CompatbilityClassLoaderPhpBelow50307" bug
Start date:
2012-11-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
On PHP < 5.3 I get this warning on top of the login screen (and also in the whole backend, making it completely unusable):
Strict standards: Declaration of TYPO3\CMS\Core\Compatibility\CompatbilityClassLoaderPhpBelow50307::requireClassFileOnce() should be compatible with that of TYPO3\CMS\Core\Core\ClassLoader::requireClassFileOnce() in /.../typo3_src/typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php on line 239
Acording to git bisect this got broken with change #43285.
Indeed the declaration of the methods differ:
class ClassLoader { ... static protected function requireClassFileOnce($classPath) { ...
class CompatbilityClassLoaderPhpBelow50307 extends \TYPO3\CMS\Core\Core\ClassLoader { ... static public function requireClassFileOnce($classPath, $className) { ...
And by the way, the classname CompatbilityClassLoaderPhpBelow50307 is misspelled (misses an "i" in Compat*i*bility).
Actions