Completed
Push — master ( a21b67...ec1681 )
by Michael
02:43
created
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/week_test.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@  discard block
 block discarded – undo
2 2
 //
3 3
 define('CALENDAR_FIRST_DAY_OF_WEEK', 1); //force firstDay = monday
4 4
 
5
-require_once __DIR__ . '/simple_include.php';
6
-require_once __DIR__ . '/calendar_include.php';
5
+require_once __DIR__.'/simple_include.php';
6
+require_once __DIR__.'/calendar_include.php';
7 7
 
8
-require_once __DIR__ . '/./calendar_test.php';
8
+require_once __DIR__.'/./calendar_test.php';
9 9
 
10 10
 /**
11 11
  * Class TestOfWeek.
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
 
313 313
     public function testSelection()
314 314
     {
315
-        require_once CALENDAR_ROOT . 'Day.php';
315
+        require_once CALENDAR_ROOT.'Day.php';
316 316
         $selection = array(Calendar_Factory::create('Day', 2003, 10, 7));
317 317
         $this->cal->build($selection);
318 318
         $i = 1;
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
 
328 328
     public function testSelectionCornerCase()
329 329
     {
330
-        require_once CALENDAR_ROOT . 'Day.php';
330
+        require_once CALENDAR_ROOT.'Day.php';
331 331
         $selectedDays = array(
332 332
             Calendar_Factory::create('Day', 2003, 12, 29),
333 333
             Calendar_Factory::create('Day', 2003, 12, 30),
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
             Calendar_Factory::create('Day', 2004, 01, 03),
338 338
             Calendar_Factory::create('Day', 2004, 01, 04),
339 339
         );
340
-        $this->cal    = Calendar_Factory::create('Week', 2003, 12, 31, 0);
340
+        $this->cal = Calendar_Factory::create('Week', 2003, 12, 31, 0);
341 341
         $this->cal->build($selectedDays);
342 342
         while ($Day = $this->cal->fetch()) {
343 343
             $this->assertTrue($Day->isSelected());
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/year_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__ . '/./calendar_test.php';
7
+require_once __DIR__.'/./calendar_test.php';
8 8
 
9 9
 /**
10 10
  * Class TestOfYear.
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
     public function testSelection()
185 185
     {
186
-        require_once CALENDAR_ROOT . 'Month.php';
186
+        require_once CALENDAR_ROOT.'Month.php';
187 187
         $selection = array(new Calendar_Month(2003, 10));
188 188
         $this->cal->build($selection);
189 189
         $i = 1;
Please login to merge, or discard this patch.
class/pear/Calendar/tests/week_firstday_0_test.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@  discard block
 block discarded – undo
2 2
 //
3 3
 define('CALENDAR_FIRST_DAY_OF_WEEK', 0); //force firstDay = Sunday
4 4
 
5
-require_once __DIR__ . '/simple_include.php';
6
-require_once __DIR__ . '/calendar_include.php';
5
+require_once __DIR__.'/simple_include.php';
6
+require_once __DIR__.'/calendar_include.php';
7 7
 
8
-require_once __DIR__ . '/./calendar_test.php';
8
+require_once __DIR__.'/./calendar_test.php';
9 9
 
10 10
 /**
11 11
  * Class TestOfWeek_firstday_0.
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
 
276 276
     public function testSelection()
277 277
     {
278
-        require_once CALENDAR_ROOT . 'Day.php';
278
+        require_once CALENDAR_ROOT.'Day.php';
279 279
         $selection = array(Calendar_Factory::create('Day', 2003, 10, 6));
280 280
         $this->cal->build($selection);
281 281
         $i = 1;
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 
291 291
     public function testSelectionCornerCase()
292 292
     {
293
-        require_once CALENDAR_ROOT . 'Day.php';
293
+        require_once CALENDAR_ROOT.'Day.php';
294 294
         $selectedDays = array(
295 295
             Calendar_Factory::create('Day', 2003, 12, 28),
296 296
             Calendar_Factory::create('Day', 2003, 12, 29),
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
             Calendar_Factory::create('Day', 2004, 01, 02),
301 301
             Calendar_Factory::create('Day', 2004, 01, 03),
302 302
         );
303
-        $this->cal    = Calendar_Factory::create('Week', 2003, 12, 31, 0);
303
+        $this->cal = Calendar_Factory::create('Week', 2003, 12, 31, 0);
304 304
         $this->cal->build($selectedDays);
305 305
         while ($Day = $this->cal->fetch()) {
306 306
             $this->assertTrue($Day->isSelected());
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.