[TASK] Removes eval() in scheduler unit tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Tests / Unit / CronCommand / AccessibleProxies / NormalizeCommandAccessibleProxy.php
1 <?php
2 namespace TYPO3\CMS\Scheduler\Tests\Unit\CronCommand\AccessibleProxies;
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 use TYPO3\CMS\Scheduler\CronCommand\NormalizeCommand;
18
19 /**
20 * Accessible proxy with protected methods made public.
21 */
22 class NormalizeCommandAccessibleProxy extends NormalizeCommand {
23
24 public static function convertKeywordsToCronCommand($cronCommand) {
25 return parent::convertKeywordsToCronCommand($cronCommand);
26 }
27
28 public static function normalizeFields($cronCommand) {
29 return parent::normalizeFields($cronCommand);
30 }
31
32 public static function normalizeMonthAndWeekdayField($expression, $isMonthField = TRUE) {
33 return parent::normalizeMonthAndWeekdayField($expression, $isMonthField);
34 }
35
36 public static function normalizeIntegerField($expression, $lowerBound = 0, $upperBound = 59) {
37 return parent::normalizeIntegerField($expression, $lowerBound, $upperBound);
38 }
39
40 public static function splitFields($cronCommand) {
41 return parent::splitFields($cronCommand);
42 }
43
44 public static function convertRangeToListOfValues($range) {
45 return parent::convertRangeToListOfValues($range);
46 }
47
48 public static function reduceListOfValuesByStepValue($stepExpression) {
49 return parent::reduceListOfValuesByStepValue($stepExpression);
50 }
51
52 public static function normalizeMonthAndWeekday($expression, $isMonth = TRUE) {
53 return parent::normalizeMonthAndWeekday($expression, $isMonth);
54 }
55
56 public static function normalizeMonth($month) {
57 return parent::normalizeMonth($month);
58 }
59
60 public static function normalizeWeekday($weekday) {
61 return parent::normalizeWeekday($weekday);
62 }
63 }