Completed
Push — master ( 5903e5...08322c )
by Marko
22:48 queued 07:53
created
php5/TraitForSharedMethods.inc 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
                 continue;
249 249
             
250 250
             $fparam = $df . (empty($sfx) ? $locale[$lkey][0] : ' ' .
251
-                 (($interval->$lkey === 1) ? $locale[$lkey][1] : $locale[$lkey][2]));
251
+                    (($interval->$lkey === 1) ? $locale[$lkey][1] : $locale[$lkey][2]));
252 252
             
253 253
             if (! empty($ago_single) && ! empty($dfs))
254 254
                 break;
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * {@inheritDoc}
60 60
      *
61
+     * @return string
61 62
      */
62 63
     public function getCwd()
63 64
     {
@@ -196,6 +197,7 @@  discard block
 block discarded – undo
196 197
      *
197 198
      * {@inheritDoc}
198 199
      *
200
+     * @param integer $timestamp
199 201
      */
200 202
     public function ct_ago($timestamp, $date_format = 'y,m,d,h,i,s', $sfx = true, $ommit_zero = true, $ago_single = true, $clocale = [])
201 203
     {
@@ -364,6 +366,7 @@  discard block
 block discarded – undo
364 366
      *
365 367
      * {@inheritDoc}
366 368
      *
369
+     * @return string
367 370
      */
368 371
     public function getPath()
369 372
     {
@@ -375,6 +378,7 @@  discard block
 block discarded – undo
375 378
      *
376 379
      * {@inheritDoc}
377 380
      *
381
+     * @return string
378 382
      */
379 383
     public function getPathname()
380 384
     {
@@ -487,6 +491,7 @@  discard block
 block discarded – undo
487 491
      *
488 492
      * {@inheritDoc}
489 493
      *
494
+     * @return false|string
490 495
      */
491 496
     public function isWritable($path = false)
492 497
     {
@@ -591,6 +596,7 @@  discard block
 block discarded – undo
591 596
      *
592 597
      * {@inheritDoc}
593 598
      *
599
+     * @return boolean
594 600
      */
595 601
     public function getFilename($filename = false)
596 602
     {
Please login to merge, or discard this patch.
php7/TraitForSharedMethods.inc 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
                 continue;
249 249
             
250 250
             $fparam = $df . (empty($sfx) ? $locale[$lkey][0] : ' ' .
251
-                 (($interval->$lkey === 1) ? $locale[$lkey][1] : $locale[$lkey][2]));
251
+                    (($interval->$lkey === 1) ? $locale[$lkey][1] : $locale[$lkey][2]));
252 252
             
253 253
             if (! empty($ago_single) && ! empty($dfs))
254 254
                 break;
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * {@inheritDoc}
60 60
      *
61
+     * @return string
61 62
      */
62 63
     public function getCwd()
63 64
     {
@@ -196,6 +197,7 @@  discard block
 block discarded – undo
196 197
      *
197 198
      * {@inheritDoc}
198 199
      *
200
+     * @param integer $timestamp
199 201
      */
200 202
     public function ct_ago($timestamp, $date_format = 'y,m,d,h,i,s', $sfx = true, $ommit_zero = true, $ago_single = true, $clocale = [])
201 203
     {
@@ -364,6 +366,7 @@  discard block
 block discarded – undo
364 366
      *
365 367
      * {@inheritDoc}
366 368
      *
369
+     * @return string
367 370
      */
368 371
     public function getPath()
369 372
     {
@@ -375,6 +378,7 @@  discard block
 block discarded – undo
375 378
      *
376 379
      * {@inheritDoc}
377 380
      *
381
+     * @return string
378 382
      */
379 383
     public function getPathname()
380 384
     {
@@ -487,6 +491,7 @@  discard block
 block discarded – undo
487 491
      *
488 492
      * {@inheritDoc}
489 493
      *
494
+     * @return false|string
490 495
      */
491 496
     public function isWritable($path = false)
492 497
     {
@@ -591,6 +596,7 @@  discard block
 block discarded – undo
591 596
      *
592 597
      * {@inheritDoc}
593 598
      *
599
+     * @return boolean
594 600
      */
595 601
     public function getFilename($filename = false)
596 602
     {
Please login to merge, or discard this patch.
Commons/FilesystemInterface.inc 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
      * Construct with or without current working directory
31 31
      *
32 32
      * @param string $setCwd            
33
+     * @return void
33 34
      */
34 35
     public function __construct($setCwd = false);
35 36
 
@@ -51,7 +52,7 @@  discard block
 block discarded – undo
51 52
      *
52 53
      * @param string $filename            
53 54
      * @param string $dirname            
54
-     * @param mixed $data            
55
+     * @param string $data            
55 56
      * @param int $flags            
56 57
      * @param resource $context            
57 58
      */
@@ -102,6 +103,7 @@  discard block
 block discarded – undo
102 103
      *
103 104
      * @param unknown $pathname            
104 105
      * @param string $shred            
106
+     * @return boolean
105 107
      */
106 108
     public function rm($pathname, $shred = false);
107 109
 
@@ -167,6 +169,7 @@  discard block
 block discarded – undo
167 169
      *
168 170
      * @param string $filename            
169 171
      * @param string $user            
172
+     * @return boolean
170 173
      */
171 174
     public function chown($filename = false, $user = false);
172 175
 
@@ -228,7 +231,7 @@  discard block
 block discarded – undo
228 231
      * which is similar to the rules used by common shells.
229 232
      *
230 233
      * @param string $pattern            
231
-     * @param number $flags            
234
+     * @param integer $flags            
232 235
      * @return array matching paths
233 236
      */
234 237
     public function getGlob($pattern = false, $flags = 0);
Please login to merge, or discard this patch.
Commons/ObjectInterfaces/FileInterface.inc 1 patch
Doc Comments   +5 added lines, -9 removed lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Assert that if some wierd reason this is called in file
51 51
      * that we return false
52
+     * @return boolean
52 53
      */
53 54
     public function getLinkTarget();
54 55
 
@@ -82,6 +83,7 @@  discard block
 block discarded – undo
82 83
      * No purpose
83 84
      * inherited from iterator but useless
84 85
      * An FileObject does not have children so this method returns allways NULL.
86
+     * @return boolean
85 87
      */
86 88
     public function getChildren();
87 89
 
@@ -90,7 +92,7 @@  discard block
 block discarded – undo
90 92
      *
91 93
      * Forces a write of all buffered output to the file.
92 94
      *
93
-     * @return Returns TRUE on success or FALSE on failure
95
+     * @return boolean TRUE on success or FALSE on failure
94 96
      */
95 97
     public function fflush();
96 98
 
@@ -146,14 +148,8 @@  discard block
 block discarded – undo
146 148
      *
147 149
      * @param array $fields
148 150
      *            An array of values.
149
-     * @param string $delimiter
150
-     *            The optional delimiter parameter sets the field delimiter (one character only).
151
-     * @param string $enclosure
152
-     *            The optional enclosure parameter sets the field enclosure (one character only).
153
-     * @param string $escape
154
-     *            The optional escape parameter sets the escape character (one character only).
155 151
      *            
156
-     * @return int|bool Returns the length of the written string or FALSE on failure.
152
+     * @return integer Returns the length of the written string or FALSE on failure.
157 153
      *         returns FALSE, and does not write the CSV line to the file, if the delimiter
158 154
      *         or enclosure parameter is not a single character.
159 155
      *        
@@ -313,7 +309,7 @@  discard block
 block discarded – undo
313 309
      * FileObject::setMaxLineLen() is used to read fixed lengths of the file.
314 310
      *
315 311
      *
316
-     * @return Returns the current line number.
312
+     * @return integer the current line number.
317 313
      */
318 314
     public function key();
319 315
 
Please login to merge, or discard this patch.
Commons/ObjectInterfaces/InfoInterface.inc 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * Gets an InfoObject object for the file
38 38
      *
39 39
      * @param string $class_name            
40
+     * @return \SplFileInfo
40 41
      */
41 42
     public function getFileInfo($class_name = '\HOWI3\libhowi\Filesystem\php5\Objects\InfoObject');
42 43
 }
Please login to merge, or discard this patch.
Commons/ObjectInterfaces/LinkInterface.inc 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * symlink — Creates a symbolic link
31
+     * @return boolean
31 32
      */
32 33
     public function symlink($target = false, $link = false);
33 34
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * link — Create a hard link
47
+     * @return boolean
46 48
      */
47 49
     public function hardlink($target = false, $link = false);
48 50
 
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
 
69 71
     /**
70 72
      * readlink — Returns the target of a symbolic link
73
+     * @return false|string
71 74
      */
72 75
     public function readlink($link = false);
73 76
 }
Please login to merge, or discard this patch.
Commons/ObjectInterfaces/TmpInterface.inc 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * tmpfile — Creates a temporary file
55 55
      * 
56
-     * @return filehandler
56
+     * @return resource
57 57
      */
58 58
     public function tmpfile();
59 59
 }
Please login to merge, or discard this patch.
Commons/ResponseObject.inc 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -72,21 +72,33 @@  discard block
 block discarded – undo
72 72
     private $level;
73 73
 
74 74
 
75
+    /**
76
+     * @param boolean $arg
77
+     */
75 78
     public function setStatus($arg)
76 79
     {
77 80
         $this->status = is_bool($arg) ? $arg : false;
78 81
     }
79 82
 
83
+    /**
84
+     * @param integer $code
85
+     */
80 86
     public function setCode($code)
81 87
     {
82 88
         $this->code = is_int($code) ? $code : 0;
83 89
     }
84 90
 
91
+    /**
92
+     * @param string $msg
93
+     */
85 94
     public function setMsg($msg)
86 95
     {
87 96
         $this->message = is_string($msg) ? $msg : 'BUG';
88 97
     }
89 98
 
99
+    /**
100
+     * @param integer $UID
101
+     */
90 102
     public function setUID($UID)
91 103
     {
92 104
         $this->UID = is_int($UID) ? $UID : 'BUG';
@@ -102,6 +114,9 @@  discard block
 block discarded – undo
102 114
         $this->microtime = microtime(true);
103 115
     }
104 116
 
117
+    /**
118
+     * @param string $context
119
+     */
105 120
     public function setContext($context)
106 121
     {
107 122
         $this->context = $context;
Please login to merge, or discard this patch.
Commons/SharedMethodsInterface.inc 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@  discard block
 block discarded – undo
46 46
      * Gets last access time of file
47 47
      *
48 48
      * @param string $timeformat            
49
-     * @param string $filename            
50 49
      * @return int or formated output
51 50
      */
52 51
     public function getATime($timeformat = false, $pathname = false);
@@ -55,7 +54,6 @@  discard block
 block discarded – undo
55 54
      * Gets inode change time of file
56 55
      *
57 56
      * @param string $timeformat            
58
-     * @param string $filename            
59 57
      * @return int or formated output
60 58
      */
61 59
     public function getCTime($timeformat = false, $pathname = false);
@@ -64,7 +62,6 @@  discard block
 block discarded – undo
64 62
      * Gets file modification time
65 63
      *
66 64
      * @param string $timeformat            
67
-     * @param string $filename            
68 65
      * @return int or formated output
69 66
      */
70 67
     public function getMTime($timeformat = false, $pathname = false);
@@ -81,6 +78,7 @@  discard block
 block discarded – undo
81 78
      *            ommit emty values?
82 79
      * @param string $ago_single            
83 80
      * @param array $clocale            
81
+     * @return string
84 82
      */
85 83
     public function ct_ago($timestamp, $date_format = 'y,m,d,h,i,s', $sfx = true, $ommit_zero = true, $ago_single = true, $clocale = []);
86 84
 
@@ -101,6 +99,7 @@  discard block
 block discarded – undo
101 99
      * Sets the class used with InfoObject::openFile()
102 100
      *
103 101
      * @param string $class_name            
102
+     * @return boolean
104 103
      */
105 104
     public function setFileClass($class_name = "\HOWI3\libhowi\Filesystem\php5\Objects\FileObject");
106 105
 
@@ -108,6 +107,7 @@  discard block
 block discarded – undo
108 107
      * Sets the class used with InfoObject::getFileInfo() and SplFileInfo::getPathInfo()
109 108
      *
110 109
      * @param string $class_name            
110
+     * @return boolean
111 111
      */
112 112
     public function setInfoClass($class_name = "\HOWI3\libhowi\Filesystem\php5\Objects\InfoObject");
113 113
 
Please login to merge, or discard this patch.