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 . ' {}');