@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | if (!defined('SIMPLE_TEST')) { |
| 4 | - define('SIMPLE_TEST', dirname(dirname(dirname(__DIR__))) . '/simpletest/'); |
|
| 4 | + define('SIMPLE_TEST', dirname(dirname(dirname(__DIR__))).'/simpletest/'); |
|
| 5 | 5 | } |
| 6 | 6 | |
| 7 | -require_once SIMPLE_TEST . 'unit_tester.php'; |
|
| 8 | -require_once SIMPLE_TEST . 'reporter.php'; |
|
| 9 | -require_once SIMPLE_TEST . 'mock_objects.php'; |
|
| 7 | +require_once SIMPLE_TEST.'unit_tester.php'; |
|
| 8 | +require_once SIMPLE_TEST.'reporter.php'; |
|
| 9 | +require_once SIMPLE_TEST.'mock_objects.php'; |
|
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class TestOfValidationError. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class DecoratorTests. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class ValidatorTests. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class TableHelperTests. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class CalendarTests. |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | -require_once __DIR__ . '/./decorator_test.php'; |
|
| 7 | +require_once __DIR__.'/./decorator_test.php'; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class TestOfDecoratorUri. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // |
| 3 | 3 | |
| 4 | -require_once __DIR__ . '/simple_include.php'; |
|
| 5 | -require_once __DIR__ . '/calendar_include.php'; |
|
| 4 | +require_once __DIR__.'/simple_include.php'; |
|
| 5 | +require_once __DIR__.'/calendar_include.php'; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Class UtilTests. |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | { |
| 7 | 7 | list($usec, $sec) = explode(' ', microtime()); |
| 8 | 8 | |
| 9 | - return (float)$usec + (float)$sec; |
|
| 9 | + return (float) $usec + (float) $sec; |
|
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | $start = getmicrotime(); |
@@ -15,8 +15,8 @@ discard block |
||
| 15 | 15 | define('CALENDAR_ROOT', '../../'); |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | -require_once CALENDAR_ROOT . 'Year.php'; |
|
| 19 | -require_once CALENDAR_ROOT . 'Month/Weeks.php'; |
|
| 18 | +require_once CALENDAR_ROOT.'Year.php'; |
|
| 19 | +require_once CALENDAR_ROOT.'Month/Weeks.php'; |
|
| 20 | 20 | |
| 21 | 21 | define('CALENDAR_MONTH_STATE', CALENDAR_USE_MONTH_WEEKS); |
| 22 | 22 | |
@@ -124,20 +124,20 @@ discard block |
||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | echo "<td>\n<table class=\"month\">\n"; |
| 127 | - echo '<caption class="month">' . date('F', $Month->thisMonth(true)) . '</caption>'; |
|
| 128 | - echo '<colgroup><col class="weekNumbers"><col span="7"></colgroup>' . "\n"; |
|
| 127 | + echo '<caption class="month">'.date('F', $Month->thisMonth(true)).'</caption>'; |
|
| 128 | + echo '<colgroup><col class="weekNumbers"><col span="7"></colgroup>'."\n"; |
|
| 129 | 129 | echo "<tr>\n<th>Week</th><th>M</th><th>T</th><th>W</th><th>T</th><th>F</th><th>S</th><th>S</th>\n</tr>"; |
| 130 | 130 | $Month->build(); |
| 131 | 131 | while ($Week = $Month->fetch()) { |
| 132 | 132 | echo "<tr>\n"; |
| 133 | - echo '<td>' . $Week->thisWeek($_GET['week_type']) . "</td>\n"; |
|
| 133 | + echo '<td>'.$Week->thisWeek($_GET['week_type'])."</td>\n"; |
|
| 134 | 134 | $Week->build(); |
| 135 | 135 | |
| 136 | 136 | while ($Day = $Week->fetch()) { |
| 137 | 137 | if ($Day->isEmpty()) { |
| 138 | 138 | echo "<td> </td>\n"; |
| 139 | 139 | } else { |
| 140 | - echo '<td>' . $Day->thisDay() . "</td>\n"; |
|
| 140 | + echo '<td>'.$Day->thisDay()."</td>\n"; |
|
| 141 | 141 | } |
| 142 | 142 | } |
| 143 | 143 | } |