Bug #43331
closed"Strict standards: Declaration of "CompatbilityClassLoaderPhpBelow50307" bug
100%
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).
Updated by Christian Kuhn over 11 years ago
- PHP Version changed from 5.2 to 5.3
- Complexity set to easy
confirmed both the typo and the method signature issue.
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16783
Updated by Christian Kuhn over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5961bc5ca6ad582b1a5c2f0ddf124655010b179f.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed