Passed
Branch master (a12a9a)
by Fredrik
02:18
created
src/Calendar/CCalendar.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
 {
12 12
 
13 13
     /**
14
-    * Properties
15
-    *
16
-    */
14
+     * Properties
15
+     *
16
+     */
17 17
     private $today;
18 18
     private $firstDayInWeekOfMonth;
19 19
     private $lastDayInLastWeek;
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
     private $nextMonth;
24 24
 
25 25
     /**
26
-    * Constructor
27
-    *
28
-    * @param string date in month to display. Format yyyy-mm-dd
29
-    *
30
-    */
26
+     * Constructor
27
+     *
28
+     * @param string date in month to display. Format yyyy-mm-dd
29
+     *
30
+     */
31 31
     public function __construct($displayDate = null)
32 32
     {
33 33
         // setlocale(LC_TIME, "Swedish");
@@ -80,49 +80,49 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-    * Get current month with month and year
84
-    */
83
+     * Get current month with month and year
84
+     */
85 85
     public function thisMonth()
86 86
     {
87 87
         return utf8_encode(strftime("%B %Y", strtotime($this->thisMonth->format('Y-m-d'))));
88 88
     }
89 89
 
90 90
     /**
91
-    * Get previous month in text format
92
-    */
91
+     * Get previous month in text format
92
+     */
93 93
     public function prevMonth()
94 94
     {
95 95
         return utf8_encode(strftime("%B", strtotime($this->prevMonth->format('Y-m-d'))));
96 96
     }
97 97
 
98 98
     /**
99
-    * Get previous month in format yyyy-mm-dd
100
-    */
99
+     * Get previous month in format yyyy-mm-dd
100
+     */
101 101
     public function prevMonthDate()
102 102
     {
103 103
         return $this->prevMonth->format('Y-m-d');
104 104
     }
105 105
 
106 106
     /**
107
-    * Get next month in text format
108
-    */
107
+     * Get next month in text format
108
+     */
109 109
     public function nextMonth()
110 110
     {
111 111
         return utf8_encode(strftime("%B", strtotime($this->nextMonth->format('Y-m-d'))));
112 112
     }
113 113
 
114 114
     /**
115
-    * Get next month in format yyyy-mm-dd
116
-    */
115
+     * Get next month in format yyyy-mm-dd
116
+     */
117 117
     public function nextMonthDate()
118 118
     {
119 119
         return $this->nextMonth->format('Y-m-d');
120 120
     }
121 121
 
122 122
     /**
123
-    * Get all dates in month with additional days in first and last week.
124
-    *
125
-    */
123
+     * Get all dates in month with additional days in first and last week.
124
+     *
125
+     */
126 126
     public function datesInMonth()
127 127
     {
128 128
         $date = $this->firstDayInWeekOfMonth;
Please login to merge, or discard this patch.
autoloader.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * An example of a project-specific implementation.
4
- *
5
- * After registering this autoload function with SPL, the following line
6
- * would cause the function to attempt to load the \Foo\Bar\Baz\Qux class
7
- * from /path/to/project/src/Baz/Qux.php:
8
- *
9
- *      new \Foo\Bar\Baz\Qux;
10
- *
11
- * @param string $class The fully-qualified class name.
12
- * @return void
13
- */
3
+     * An example of a project-specific implementation.
4
+     *
5
+     * After registering this autoload function with SPL, the following line
6
+     * would cause the function to attempt to load the \Foo\Bar\Baz\Qux class
7
+     * from /path/to/project/src/Baz/Qux.php:
8
+     *
9
+     *      new \Foo\Bar\Baz\Qux;
10
+     *
11
+     * @param string $class The fully-qualified class name.
12
+     * @return void
13
+     */
14 14
 spl_autoload_register(
15 15
     function ($class) {
16 16
 
Please login to merge, or discard this patch.