Completed
Push — master ( 26b490...31307f )
by Michael
03:13
created
class/pear/Calendar/tests/simple_include.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
class/pear/Calendar/tests/validator_error_test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/decorator_tests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/validator_tests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/table_helper_tests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/calendar_tests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/decorator_uri_test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/util_tests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
class/pear/Calendar/docs/examples/21.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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>&nbsp;</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
         }
Please login to merge, or discard this patch.