Project

General

Profile

Actions

Task #68800

closed

Story #67665: Removes eval() in extbase Unit Tests

Removes eval() in extbase Mvc Unit Tests

Added by Markus Günther over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2015-08-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #68797: Get rid of eval in the BaseTestCaseClosed2015-08-06

Actions
Actions #1

Updated by Claus Due about 9 years ago

Duplicate of #68797

Actions #2

Updated by Riccardo De Contardi about 9 years ago

  • Category set to Code Cleanup
Actions #3

Updated by Christian Kuhn about 7 years ago

  • Related to Task #68797: Get rid of eval in the BaseTestCase added
Actions #4

Updated by Christian Kuhn about 7 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF