Task #68800
closedStory #67665: Removes eval() in extbase Unit Tests
Removes eval() in extbase Mvc Unit Tests
0%
Description
sysext/extbase/Tests/Unit/Mvc/Controller/AbstractControllerTest.php:27: eval('class ' . $className . ' extends \\' . \TYPO3\CMS\Extbase\Mvc\Controller\AbstractController::class . ' { function getExtensionName() { return $this->extensionName; } }');
sysext/extbase/Tests/Unit/Mvc/Controller/AbstractControllerTest.php:39: eval('namespace ' . NAMESPACE . '; class ' . $className . ' extends \\' . \TYPO3\CMS\Extbase\Mvc\Controller\AbstractController::class . ' { function getExtensionName() { return $this->extensionName; } }');
sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php:138: eval('namespace MyVendor\MyPackage\View\MyController; class MyActionMyFormat {}');
sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php:240: eval('namespace ' . $namespace . '; class ' . $className . ' {}');
Updated by Christian Kuhn about 7 years ago
- Related to Task #68797: Get rid of eval in the BaseTestCase added