Passed
Push — master ( f62223...75b16c )
by Michael
02:33
created
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/Second.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 /**
50 50
  * Load Calendar base class.
51 51
  */
52
-require_once CALENDAR_ROOT . 'Calendar.php';
52
+require_once CALENDAR_ROOT.'Calendar.php';
53 53
 
54 54
 /**
55 55
  * Represents a Second<br>
Please login to merge, or discard this patch.
class/pear/Calendar/Decorator.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function __construct(&$calendar)
82 82
     {
83
-        $this->calendar =& $calendar;
83
+        $this->calendar = & $calendar;
84 84
     }
85 85
 
86 86
     /**
@@ -403,8 +403,8 @@  discard block
 block discarded – undo
403 403
         if (method_exists($this->calendar, 'prevWeek')) {
404 404
             return $this->calendar->prevWeek($format);
405 405
         } else {
406
-            require_once __DIR__ . '/PEAR.php';
407
-            PEAR::raiseError('Cannot call prevWeek on Calendar object of type: ' . get_class($this->calendar), 133, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Decorator::prevWeek()');
406
+            require_once __DIR__.'/PEAR.php';
407
+            PEAR::raiseError('Cannot call prevWeek on Calendar object of type: '.get_class($this->calendar), 133, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Decorator::prevWeek()');
408 408
 
409 409
             return false;
410 410
         }
@@ -422,8 +422,8 @@  discard block
 block discarded – undo
422 422
         if (method_exists($this->calendar, 'thisWeek')) {
423 423
             return $this->calendar->thisWeek($format);
424 424
         } else {
425
-            require_once __DIR__ . '/PEAR.php';
426
-            PEAR::raiseError('Cannot call thisWeek on Calendar object of type: ' . get_class($this->calendar), 133, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Decorator::thisWeek()');
425
+            require_once __DIR__.'/PEAR.php';
426
+            PEAR::raiseError('Cannot call thisWeek on Calendar object of type: '.get_class($this->calendar), 133, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Decorator::thisWeek()');
427 427
 
428 428
             return false;
429 429
         }
@@ -441,8 +441,8 @@  discard block
 block discarded – undo
441 441
         if (method_exists($this->calendar, 'nextWeek')) {
442 442
             return $this->calendar->nextWeek($format);
443 443
         } else {
444
-            require_once __DIR__ . '/PEAR.php';
445
-            PEAR::raiseError('Cannot call thisWeek on Calendar object of type: ' . get_class($this->calendar), 133, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Decorator::nextWeek()');
444
+            require_once __DIR__.'/PEAR.php';
445
+            PEAR::raiseError('Cannot call thisWeek on Calendar object of type: '.get_class($this->calendar), 133, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Decorator::nextWeek()');
446 446
 
447 447
             return false;
448 448
         }
Please login to merge, or discard this patch.
class/pear/Calendar/Decorator/Weekday.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@  discard block
 block discarded – undo
50 50
 /**
51 51
  * Load Calendar decorator base class.
52 52
  */
53
-require_once CALENDAR_ROOT . 'Decorator.php';
53
+require_once CALENDAR_ROOT.'Decorator.php';
54 54
 
55 55
 /**
56 56
  * Load a Calendar_Day.
57 57
  */
58
-require_once CALENDAR_ROOT . 'Day.php';
58
+require_once CALENDAR_ROOT.'Day.php';
59 59
 
60 60
 /**
61 61
  * Decorator for fetching the day of the week
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public function setFirstDay($firstDay)
103 103
     {
104
-        $this->firstDay = (int)$firstDay;
104
+        $this->firstDay = (int) $firstDay;
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.
class/pear/Calendar/Decorator/Textual.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,12 +50,12 @@
 block discarded – undo
50 50
 /**
51 51
  * Load Calendar decorator base class.
52 52
  */
53
-require_once CALENDAR_ROOT . 'Decorator.php';
53
+require_once CALENDAR_ROOT.'Decorator.php';
54 54
 
55 55
 /**
56 56
  * Load the Uri utility.
57 57
  */
58
-require_once CALENDAR_ROOT . 'Util/Textual.php';
58
+require_once CALENDAR_ROOT.'Util/Textual.php';
59 59
 
60 60
 /**
61 61
  * Decorator to help with fetching textual representations of months and
Please login to merge, or discard this patch.
class/pear/Calendar/Decorator/Wrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 /**
51 51
  * Load Calendar decorator base class.
52 52
  */
53
-require_once CALENDAR_ROOT . 'Decorator.php';
53
+require_once CALENDAR_ROOT.'Decorator.php';
54 54
 
55 55
 /**
56 56
  * Decorator to help with wrapping built children in another decorator.
Please login to merge, or discard this patch.