Completed
Push — master ( a21b67...ec1681 )
by Michael
02:43
created
class/pear/Calendar/tests/month_weekdays_test.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@
 block discarded – undo
32 32
     public function testPrevDay_Array()
33 33
     {
34 34
         $this->assertEqual(array(
35
-                               'year'   => 2003,
36
-                               'month'  => 9,
37
-                               'day'    => 30,
38
-                               'hour'   => 0,
39
-                               'minute' => 0,
40
-                               'second' => 0,
41
-                           ), $this->cal->prevDay('array'));
35
+                                'year'   => 2003,
36
+                                'month'  => 9,
37
+                                'day'    => 30,
38
+                                'hour'   => 0,
39
+                                'minute' => 0,
40
+                                'second' => 0,
41
+                            ), $this->cal->prevDay('array'));
42 42
     }
43 43
 
44 44
     public function testThisDay()
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 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__ . '/./calendar_test.php';
7
+require_once __DIR__.'/./calendar_test.php';
8 8
 
9 9
 /**
10 10
  * Class TestOfMonthWeekdays.
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
     public function testSelection()
148 148
     {
149
-        require_once CALENDAR_ROOT . 'Day.php';
149
+        require_once CALENDAR_ROOT.'Day.php';
150 150
         $selection = array(new Calendar_Day(2003, 10, 25));
151 151
         $this->cal->build($selection);
152 152
         $daysInPrevMonth = (0 == CALENDAR_FIRST_DAY_OF_WEEK) ? 3 : 2;
Please login to merge, or discard this patch.
class/pear/Calendar/tests/second_test.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
     public function testPrevDay_Array()
28 28
     {
29 29
         $this->assertEqual(array(
30
-                               'year'   => 2003,
31
-                               'month'  => 10,
32
-                               'day'    => 24,
33
-                               'hour'   => 0,
34
-                               'minute' => 0,
35
-                               'second' => 0,
36
-                           ), $this->cal->prevDay('array'));
30
+                                'year'   => 2003,
31
+                                'month'  => 10,
32
+                                'day'    => 24,
33
+                                'hour'   => 0,
34
+                                'minute' => 0,
35
+                                'second' => 0,
36
+                            ), $this->cal->prevDay('array'));
37 37
     }
38 38
 }
39 39
 
Please login to merge, or discard this 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__ . '/./calendar_test.php';
7
+require_once __DIR__.'/./calendar_test.php';
8 8
 
9 9
 /**
10 10
  * Class TestOfSecond.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/all_tests.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 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
 define('TEST_RUNNING', true);
8 8
 
9
-require_once __DIR__ . '/calendar_tests.php';
10
-require_once __DIR__ . '/calendar_tabular_tests.php';
11
-require_once __DIR__ . '/validator_tests.php';
12
-require_once __DIR__ . '/calendar_engine_tests.php';
13
-require_once __DIR__ . '/calendar_engine_tests.php';
14
-require_once __DIR__ . '/table_helper_tests.php';
15
-require_once __DIR__ . '/decorator_tests.php';
16
-require_once __DIR__ . '/util_tests.php';
9
+require_once __DIR__.'/calendar_tests.php';
10
+require_once __DIR__.'/calendar_tabular_tests.php';
11
+require_once __DIR__.'/validator_tests.php';
12
+require_once __DIR__.'/calendar_engine_tests.php';
13
+require_once __DIR__.'/calendar_engine_tests.php';
14
+require_once __DIR__.'/table_helper_tests.php';
15
+require_once __DIR__.'/decorator_tests.php';
16
+require_once __DIR__.'/util_tests.php';
17 17
 
18 18
 /**
19 19
  * Class AllTests.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/calendar_include.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -1,27 +1,27 @@
 block discarded – undo
1 1
 <?php
2 2
 //
3
-if (!@include __DIR__ . '/Calendar/Calendar.php') {
3
+if (!@include __DIR__.'/Calendar/Calendar.php') {
4 4
     @define('CALENDAR_ROOT', '../');
5 5
 }
6
-require_once CALENDAR_ROOT . 'Year.php';
7
-require_once CALENDAR_ROOT . 'Month.php';
8
-require_once CALENDAR_ROOT . 'Day.php';
9
-require_once CALENDAR_ROOT . 'Week.php';
10
-require_once CALENDAR_ROOT . 'Hour.php';
11
-require_once CALENDAR_ROOT . 'Minute.php';
12
-require_once CALENDAR_ROOT . 'Second.php';
13
-require_once CALENDAR_ROOT . 'Month.php';
14
-require_once CALENDAR_ROOT . 'Decorator.php';
15
-require_once CALENDAR_ROOT . 'Month/Weekdays.php';
16
-require_once CALENDAR_ROOT . 'Month/Weeks.php';
17
-require_once CALENDAR_ROOT . 'Validator.php';
18
-require_once CALENDAR_ROOT . 'Engine/Interface.php';
19
-require_once CALENDAR_ROOT . 'Engine/UnixTs.php';
20
-require_once CALENDAR_ROOT . 'Engine/PearDate.php';
21
-require_once CALENDAR_ROOT . 'Table/Helper.php';
22
-require_once CALENDAR_ROOT . 'Decorator/Textual.php';
23
-require_once CALENDAR_ROOT . 'Decorator/Uri.php';
24
-require_once CALENDAR_ROOT . 'Decorator/Weekday.php';
25
-require_once CALENDAR_ROOT . 'Decorator/Wrapper.php';
26
-require_once CALENDAR_ROOT . 'Util/Uri.php';
27
-require_once CALENDAR_ROOT . 'Util/Textual.php';
6
+require_once CALENDAR_ROOT.'Year.php';
7
+require_once CALENDAR_ROOT.'Month.php';
8
+require_once CALENDAR_ROOT.'Day.php';
9
+require_once CALENDAR_ROOT.'Week.php';
10
+require_once CALENDAR_ROOT.'Hour.php';
11
+require_once CALENDAR_ROOT.'Minute.php';
12
+require_once CALENDAR_ROOT.'Second.php';
13
+require_once CALENDAR_ROOT.'Month.php';
14
+require_once CALENDAR_ROOT.'Decorator.php';
15
+require_once CALENDAR_ROOT.'Month/Weekdays.php';
16
+require_once CALENDAR_ROOT.'Month/Weeks.php';
17
+require_once CALENDAR_ROOT.'Validator.php';
18
+require_once CALENDAR_ROOT.'Engine/Interface.php';
19
+require_once CALENDAR_ROOT.'Engine/UnixTs.php';
20
+require_once CALENDAR_ROOT.'Engine/PearDate.php';
21
+require_once CALENDAR_ROOT.'Table/Helper.php';
22
+require_once CALENDAR_ROOT.'Decorator/Textual.php';
23
+require_once CALENDAR_ROOT.'Decorator/Uri.php';
24
+require_once CALENDAR_ROOT.'Decorator/Weekday.php';
25
+require_once CALENDAR_ROOT.'Decorator/Wrapper.php';
26
+require_once CALENDAR_ROOT.'Util/Uri.php';
27
+require_once CALENDAR_ROOT.'Util/Textual.php';
Please login to merge, or discard this patch.
class/pear/Calendar/tests/unixts_engine_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 TestOfUnixTsEngine.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/util_textual_test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 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 TestOfUtilTextual.
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
             5 => 'Fri',
217 217
             6 => 'Sat',
218 218
         );
219
-        $nShifts      = CALENDAR_FIRST_DAY_OF_WEEK;
219
+        $nShifts = CALENDAR_FIRST_DAY_OF_WEEK;
220 220
         while ($nShifts-- > 0) {
221 221
             $day = array_shift($weekdayNames);
222 222
             array_push($weekdayNames, $day);
Please login to merge, or discard this patch.
class/pear/Calendar/tests/validator_unit_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
 Mock::generate('Calendar_Engine_Interface', 'Mock_Calendar_Engine');
8 8
 Mock::generate('Calendar_Second', 'Mock_Calendar_Second');
Please login to merge, or discard this patch.
class/pear/Calendar/tests/month_test.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
     public function testPrevDay_Array()
38 38
     {
39 39
         $this->assertEqual(array(
40
-                               'year'   => 2003,
41
-                               'month'  => 9,
42
-                               'day'    => 30,
43
-                               'hour'   => 0,
44
-                               'minute' => 0,
45
-                               'second' => 0,
46
-                           ), $this->cal->prevDay('array'));
40
+                                'year'   => 2003,
41
+                                'month'  => 9,
42
+                                'day'    => 30,
43
+                                'hour'   => 0,
44
+                                'minute' => 0,
45
+                                'second' => 0,
46
+                            ), $this->cal->prevDay('array'));
47 47
     }
48 48
 
49 49
     public function testThisDay()
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 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__ . '/./calendar_test.php';
7
+require_once __DIR__.'/./calendar_test.php';
8 8
 
9 9
 /**
10 10
  * Class TestOfMonth.
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     public function testSelection()
153 153
     {
154
-        require_once CALENDAR_ROOT . 'Day.php';
154
+        require_once CALENDAR_ROOT.'Day.php';
155 155
         $selection = array(new Calendar_Day(2003, 10, 25));
156 156
         $this->cal->build($selection);
157 157
         $i = 1;
Please login to merge, or discard this patch.
class/pear/Calendar/tests/helper_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
 Mock::generate('Calendar_Engine_Interface', 'Mock_Calendar_Engine');
8 8
 Mock::generate('Calendar_Second', 'Mock_Calendar_Second');
Please login to merge, or discard this patch.