Completed
Push — master ( 3f8ec2...f62223 )
by Michael
03:23 queued 14s
created
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/peardate_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 TestOfPearDateEngine.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/calendar_test.php 2 patches
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 TestOfCalendar.
Please login to merge, or discard this patch.
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
     public function testPrevYear_Array()
38 38
     {
39 39
         $this->assertEqual([
40
-                               'year'   => 2002,
41
-                               'month'  => 1,
42
-                               'day'    => 1,
43
-                               'hour'   => 0,
44
-                               'minute' => 0,
45
-                               'second' => 0,
46
-                           ], $this->cal->prevYear('array'));
40
+                                'year'   => 2002,
41
+                                'month'  => 1,
42
+                                'day'    => 1,
43
+                                'hour'   => 0,
44
+                                'minute' => 0,
45
+                                'second' => 0,
46
+                            ], $this->cal->prevYear('array'));
47 47
     }
48 48
 
49 49
     public function testThisYear()
@@ -64,13 +64,13 @@  discard block
 block discarded – undo
64 64
     public function testPrevMonth_Array()
65 65
     {
66 66
         $this->assertEqual([
67
-                               'year'   => 2003,
68
-                               'month'  => 9,
69
-                               'day'    => 1,
70
-                               'hour'   => 0,
71
-                               'minute' => 0,
72
-                               'second' => 0,
73
-                           ], $this->cal->prevMonth('array'));
67
+                                'year'   => 2003,
68
+                                'month'  => 9,
69
+                                'day'    => 1,
70
+                                'hour'   => 0,
71
+                                'minute' => 0,
72
+                                'second' => 0,
73
+                            ], $this->cal->prevMonth('array'));
74 74
     }
75 75
 
76 76
     public function testThisMonth()
@@ -91,13 +91,13 @@  discard block
 block discarded – undo
91 91
     public function testPrevDay_Array()
92 92
     {
93 93
         $this->assertEqual([
94
-                               'year'   => 2003,
95
-                               'month'  => 10,
96
-                               'day'    => 24,
97
-                               'hour'   => 0,
98
-                               'minute' => 0,
99
-                               'second' => 0,
100
-                           ], $this->cal->prevDay('array'));
94
+                                'year'   => 2003,
95
+                                'month'  => 10,
96
+                                'day'    => 24,
97
+                                'hour'   => 0,
98
+                                'minute' => 0,
99
+                                'second' => 0,
100
+                            ], $this->cal->prevDay('array'));
101 101
     }
102 102
 
103 103
     public function testThisDay()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/calendar_engine_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 CalendarEngineTests.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/calendar_tabular_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 CalendarTabularTests.
Please login to merge, or discard this patch.
class/pear/Calendar/tests/util_uri_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_Day', 'Mock_Calendar_Day');
8 8
 Mock::generate('Calendar_Engine_Interface', 'Mock_Calendar_Engine');
Please login to merge, or discard this patch.
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.