[CLEANUP] Replace create_function() with closure 57/40457/3
authorMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 21:53:24 +0000 (23:53 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 19 Jun 2015 07:03:49 +0000 (09:03 +0200)
commitefadc9f9c7ec40a0b3305d3a38bf07341045f2cb
tree34997d05a7f40aaeb34681b81095d8814867de11
parent22b708c4c40c8302d09560f5a44783d49130dd47
[CLEANUP] Replace create_function() with closure

The create_function() function is discouraged due to internal usage
of eval(). Replace all calls with a real closure, which is supported
since PHP 5.3.

Resolves: #67616
Releases: master
Change-Id: I7943bf69df94d0948b1b2dd0f4821bc48ec67896
Reviewed-on: http://review.typo3.org/40457
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Utility/ArrayUtility.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/AbstractConfigurationManagerTest.php