Task #68798
closedStory #67665: Removes eval() in extbase Unit Tests
Removes eval() in extbase Validation Unit Tests
0%
Description
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:48: eval('class ' . $realClassName . ' implements TYPO3\\CMS\\Extbase\\Validation\\Validator\\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:72: eval('class ' . $realClassName . '{}');
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:85: eval('class ' . $expectedValidatorName . ' implements TYPO3\\CMS\\Extbase\\Validation\\Validator\\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:109: eval('class ' . $expectedValidatorName . '{}');
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:135: eval('namespace ' . $namespace . '; class ' . $className . ' implements \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:145: eval('namespace TYPO3\\CMS\\Extbase\\Validation\\Validator;' . LF . 'class FooValidator implements \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php:371: eval('namespace TYPO3\CMS\Extbase\Validation\Validator;' . LF . 'class ' . $validatorName . 'Validator implements \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface {
sysext/extbase/Tests/Unit/Validation/Validator/StringValidatorTest.php:59: eval('
sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php:107: eval('class ' . $classNameA . '{ public $b = array(); public $integer = 5; }');
sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php:109: eval('class ' . $classNameB . '{ public $a; public $c; public $integer = "Not an integer"; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:66: eval('class ' . $classNameForObjectWithPrivateProperties . '{ protected $foo = \'foovalue\'; protected $bar = \'barvalue\'; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:101: eval('class ' . $classNameA . '{ public $b; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:103: eval('class ' . $classNameB . '{ public $a; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:123: eval('class ' . $classNameA . '{ public $b; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:125: eval('class ' . $classNameB . '{ public $a; public $uuid = 0xF; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:150: eval('class ' . $classNameA . '{ public $b; public $uuid = 0xF; }');
sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php:152: eval('class ' . $classNameB . '{ public $a; public $uuid = 0xF; }');
sysext/extbase/Tests/Unit/Validation/Validator/StringLengthValidatorTest.php:172: eval('
sysext/extbase/Tests/Unit/Validation/Validator/StringLengthValidatorTest.php:193: eval('