Completed
Push — master ( 5f5d60...a9decc )
by Michael
03:36
created
class/pcltar.lib.php 2 patches
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1190,7 +1190,7 @@  discard block
 block discarded – undo
1190 1190
     /**
1191 1191
      * @param        $p_tarname
1192 1192
      * @param        $p_list
1193
-     * @param        $p_mode
1193
+     * @param        string $p_mode
1194 1194
      * @param string $p_add_dir
1195 1195
      * @param string $p_remove_dir
1196 1196
      *
@@ -1290,10 +1290,10 @@  discard block
 block discarded – undo
1290 1290
     /**
1291 1291
      * @param $p_tarname
1292 1292
      * @param $p_list
1293
-     * @param $p_mode
1293
+     * @param string $p_mode
1294 1294
      * @param $p_list_detail
1295
-     * @param $p_add_dir
1296
-     * @param $p_remove_dir
1295
+     * @param string $p_add_dir
1296
+     * @param string $p_remove_dir
1297 1297
      *
1298 1298
      * @return int
1299 1299
      */
@@ -2092,10 +2092,10 @@  discard block
 block discarded – undo
2092 2092
      * @param $p_tarname
2093 2093
      * @param $p_file_list
2094 2094
      * @param $p_list_detail
2095
-     * @param $p_mode
2096
-     * @param $p_path
2095
+     * @param string $p_mode
2096
+     * @param string $p_path
2097 2097
      * @param $p_tar_mode
2098
-     * @param $p_remove_path
2098
+     * @param string $p_remove_path
2099 2099
      *
2100 2100
      * @return int
2101 2101
      */
@@ -2648,8 +2648,8 @@  discard block
 block discarded – undo
2648 2648
      * @param $p_tarname
2649 2649
      * @param $p_index_string
2650 2650
      * @param $p_list_detail
2651
-     * @param $p_path
2652
-     * @param $p_remove_path
2651
+     * @param string $p_path
2652
+     * @param string $p_remove_path
2653 2653
      * @param $p_tar_mode
2654 2654
      *
2655 2655
      * @return int
@@ -3219,7 +3219,7 @@  discard block
 block discarded – undo
3219 3219
      * @param $p_tarname
3220 3220
      * @param $p_file_list
3221 3221
      * @param $p_list_detail
3222
-     * @param $p_tar_mode
3222
+     * @param string $p_tar_mode
3223 3223
      *
3224 3224
      * @return int
3225 3225
      */
@@ -3513,9 +3513,9 @@  discard block
 block discarded – undo
3513 3513
      * @param $p_tarname
3514 3514
      * @param $p_file_list
3515 3515
      * @param $p_list_detail
3516
-     * @param $p_tar_mode
3517
-     * @param $p_add_dir
3518
-     * @param $p_remove_dir
3516
+     * @param string $p_tar_mode
3517
+     * @param string $p_add_dir
3518
+     * @param string $p_remove_dir
3519 3519
      *
3520 3520
      * @return int
3521 3521
      */
@@ -3922,7 +3922,7 @@  discard block
 block discarded – undo
3922 3922
     // Return Values :
3923 3923
     // --------------------------------------------------------------------------------
3924 3924
     /**
3925
-     * @param $v_binary_data
3925
+     * @param string $v_binary_data
3926 3926
      * @param $v_header
3927 3927
      *
3928 3928
      * @return int
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2418,7 +2418,7 @@  discard block
 block discarded – undo
2418 2418
         $p_tar_mode
2419 2419
     ) {
2420 2420
         TrFctStart(__FILE__, __LINE__, 'PclTarHandleExtractByIndex',
2421
-                   "archive_descr='$p_tar', index_current=$p_index_current, index_start='$p_index_start', index_stop='$p_index_stop', list, path=$p_path, remove_path='$p_remove_path', tar_mode=$p_tar_mode");
2421
+                    "archive_descr='$p_tar', index_current=$p_index_current, index_start='$p_index_start', index_stop='$p_index_stop', list, path=$p_path, remove_path='$p_remove_path', tar_mode=$p_tar_mode");
2422 2422
         $v_result = 1;
2423 2423
         $v_nb     = 0;
2424 2424
 
@@ -2621,7 +2621,7 @@  discard block
 block discarded – undo
2621 2621
                 else {
2622 2622
                     if (filemtime($v_header['filename']) > $v_header['mtime']) {
2623 2623
                         TrFctMessage(__FILE__, __LINE__, 2,
2624
-                                     'Existing file ' . $v_header['filename'] . ' is newer (' . date('l dS of F Y h:i:s A', filemtime($v_header['filename'])) . ') than the extracted file (' . date('l dS of F Y h:i:s A', $v_header['mtime']) . ')');
2624
+                                        'Existing file ' . $v_header['filename'] . ' is newer (' . date('l dS of F Y h:i:s A', filemtime($v_header['filename'])) . ') than the extracted file (' . date('l dS of F Y h:i:s A', $v_header['mtime']) . ')');
2625 2625
 
2626 2626
                         // ----- Change the file status
2627 2627
                         $v_header['status'] = 'newer_exist';
Please login to merge, or discard this patch.
class/pear/Calendar/docs/examples/11.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public $entry;
20 20
 
21 21
     /**
22
-     * @param $calendar
22
+     * @param Calendar_Day $calendar
23 23
      */
24 24
     public function __construct($calendar)
25 25
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @return mixed
38
+     * @return boolean
39 39
      */
40 40
     public function getEntry()
41 41
     {
Please login to merge, or discard this patch.
class/ExtcalPersistableObjectHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
 
537 537
     /**
538 538
      * @param        $objects
539
-     * @param array  $externalKeys
539
+     * @param string[]  $externalKeys
540 540
      * @param string $format
541 541
      *
542 542
      * @return array
Please login to merge, or discard this patch.
class/pear/Calendar/Decorator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Returns the date as an associative array (helper method).
138 138
      *
139
-     * @param mixed $stamp timestamp (leave empty for current timestamp)
139
+     * @param integer $stamp timestamp (leave empty for current timestamp)
140 140
      *
141 141
      * @return array
142 142
      */
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      *
243 243
      * @param array $sDates array containing Calendar objects to select (optional)
244 244
      *
245
-     * @return bool
245
+     * @return boolean|null
246 246
      * @abstract
247 247
      */
248 248
     public function build($sDates = array())
Please login to merge, or discard this patch.
class/pear/Calendar/Engine/Interface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
346 346
      *
347 347
      * @param int timestamp (depending on implementation)
348 348
      *
349
-     * @return bool
349
+     * @return boolean|null
350 350
      */
351 351
     public function isToday($stamp)
352 352
     {
Please login to merge, or discard this patch.
class/pear/Calendar/tests/day_test.php 1 patch
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
     public function testPrevHour()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/minute_test.php 1 patch
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
     public function testPrevSecond()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/hour_test.php 1 patch
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
     public function testPrevMinute()
Please login to merge, or discard this patch.
class/pear/Calendar/tests/year_test.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@  discard block
 block discarded – undo
42 42
     public function testPrevMonth_Array()
43 43
     {
44 44
         $this->assertEqual(array(
45
-                               'year' => 2002,
46
-                               'month' => 12,
47
-                               'day' => 1,
48
-                               'hour' => 0,
49
-                               'minute' => 0,
50
-                               'second' => 0,
51
-                           ), $this->cal->prevMonth('array'));
45
+                                'year' => 2002,
46
+                                'month' => 12,
47
+                                'day' => 1,
48
+                                'hour' => 0,
49
+                                'minute' => 0,
50
+                                'second' => 0,
51
+                            ), $this->cal->prevMonth('array'));
52 52
     }
53 53
 
54 54
     public function testThisMonth()
@@ -69,13 +69,13 @@  discard block
 block discarded – undo
69 69
     public function testPrevDay_Array()
70 70
     {
71 71
         $this->assertEqual(array(
72
-                               'year' => 2002,
73
-                               'month' => 12,
74
-                               'day' => 31,
75
-                               'hour' => 0,
76
-                               'minute' => 0,
77
-                               'second' => 0,
78
-                           ), $this->cal->prevDay('array'));
72
+                                'year' => 2002,
73
+                                'month' => 12,
74
+                                'day' => 31,
75
+                                'hour' => 0,
76
+                                'minute' => 0,
77
+                                'second' => 0,
78
+                            ), $this->cal->prevDay('array'));
79 79
     }
80 80
 
81 81
     public function testThisDay()
Please login to merge, or discard this patch.