Completed
Branch test (5c93a7)
by
unknown
177:47 queued 163:22
created
_error.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
     return implode("\n", $result);
53 53
 }
54 54
 
55
+/**
56
+ * @param string $text
57
+ */
55 58
 function system_error($text, $system = 1, $strace = 0)
56 59
 {
57 60
 
Please login to merge, or discard this patch.
development/tools/generate_php_array_for_template.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 $folders = array('../../', '../../admin/', '../../src/', '../../src/func/');
8 8
 $count = 0;
9 9
 
10
+/**
11
+ * @param string $file
12
+ */
10 13
 function extractVariablesFromTemplate($file)
11 14
 {
12 15
     $content = file_get_contents($file);
Please login to merge, or discard this patch.
development/tools/translation_config.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 
46 46
 define("PAGETITLE","PAGETITLE");
47 47
 
48
+/**
49
+ * @param string $string
50
+ */
48 51
 function fixGlobals($string)
49 52
 {
50 53
     return str_replace("PAGETITLE", "'.PAGETITLE.'", $string);
Please login to merge, or discard this patch.
install/functions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
         $this->success = true;
38 38
     }
39 39
 
40
+    /**
41
+     * @param string $query
42
+     */
40 43
     function addQuery($query)
41 44
     {
42 45
         if (!mysqli_query($this->database, $query)) {
Please login to merge, or discard this patch.
src/func/bbcode.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
 ##########################################################################
26 26
 */
27 27
 
28
+/**
29
+ * @return string
30
+ */
28 31
 function unhtmlspecialchars($input)
29 32
 {
30 33
     $input = preg_replace("/>/i", ">", $input);
@@ -115,6 +118,9 @@  discard block
 block discarded – undo
115 118
     return $text;
116 119
 }
117 120
 
121
+/**
122
+ * @return string
123
+ */
118 124
 function htmlnl($text)
119 125
 {
120 126
     preg_match_all(
@@ -249,6 +255,9 @@  discard block
 block discarded – undo
249 255
 }
250 256
 
251 257
 //replace inside [code]-tags
258
+/**
259
+ * @param string $content
260
+ */
252 261
 function insideCode($content)
253 262
 {
254 263
 
@@ -308,6 +317,9 @@  discard block
 block discarded – undo
308 317
             'alt="'.fixJavaEvents($match[1].$match[2]).'" />';
309 318
 }
310 319
 
320
+/**
321
+ * @param string $content
322
+ */
311 323
 function imgreplace($content)
312 324
 {
313 325
     global $_language;
@@ -538,6 +550,9 @@  discard block
 block discarded – undo
538 550
 }
539 551
 
540 552
 //insert member links
553
+/**
554
+ * @param string $content
555
+ */
541 556
 function insertlinks($content, $calledfrom = 'root')
542 557
 {
543 558
     global $insertlinks;
@@ -696,6 +711,9 @@  discard block
 block discarded – undo
696 711
     return $content;
697 712
 }
698 713
 
714
+/**
715
+ * @param string $content
716
+ */
699 717
 function toggle($content, $id)
700 718
 {
701 719
     global $_language;
Please login to merge, or discard this patch.
src/func/captcha.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@
 block discarded – undo
135 135
         return array('text' => $captcha_shown, 'result' => $catpcha_result);
136 136
     }
137 137
 
138
+    /**
139
+     * @param string $text
140
+     */
138 141
     private function createCatpchaImage($text)
139 142
     {
140 143
         global $_language;
Please login to merge, or discard this patch.
src/func/email.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -31,6 +31,10 @@
 block discarded – undo
31 31
 require 'PHPMailer/PHPMailerAutoload.php';
32 32
 class Email
33 33
 {
34
+    /**
35
+     * @param string $module
36
+     * @param string $subject
37
+     */
34 38
     public static function sendEmail($from, $module, $to, $subject, $message, $pop = true)
35 39
     {
36 40
         $GLOBALS['mail_debug'] = '';
Please login to merge, or discard this patch.
src/func/language.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         return $this->language_path;
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $module
64
+     */
62 65
     public function readModule($module, $add = false, $admin = false)
63 66
     {
64 67
 
Please login to merge, or discard this patch.
src/func/page.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
 ##########################################################################
26 26
 */
27 27
 
28
+/**
29
+ * @param string $url
30
+ */
28 31
 function redirect($url, $info, $time = 1)
29 32
 {
30 33
     if ($url == "back" && $info != '' && isset($_SERVER['HTTP_REFERER'])) {
Please login to merge, or discard this patch.