| /data/pear/pear/Forum/lib/classes/db/Mysql.php |
| error |
2 |
Missing file doc comment |
| error |
5 |
The @author tag is in the wrong order; the tag follows @package |
| error |
5 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
7 |
Missing @category tag in class comment |
| error |
7 |
Missing @license tag in class comment |
| error |
7 |
Missing @link tag in class comment |
| error |
8 |
Opening brace of a class must be on the line after the definition. |
| error |
9 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
9 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
9 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
12 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
15 |
Opening function brace should be on a new line |
| error |
17 |
Expected "if (...) {\n"; found "if(...){\n" |
| error |
18 |
Expected "if (...) {\n"; found "if(...){\n" |
| warning |
19 |
Line exceeds 85 characters; contains 98 characters |
| warning |
19 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
21 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
24 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
25 |
Line indented incorrectly; expected at least 12 spaces, found 3 |
| error |
25 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
28 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
29 |
No space found after comma in function call |
| warning |
29 |
Line exceeds 85 characters; contains 95 characters |
| error |
37 |
Last parameter comment requires a blank newline after it |
| error |
37 |
Doc comment var "$SQL" does not match actual variable name "&$SQL" at position 1 |
| error |
40 |
Opening function brace should be on a new line |
| error |
41 |
Expected "if (...) {\n"; found "if(...){\n" |
| error |
42 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
43 |
No space found after comma in function call |
| warning |
43 |
Line exceeds 85 characters; contains 109 characters |
| error |
44 |
Expected "} else {\n"; found "} else{\n" |
| error |
45 |
No space found after comma in function call |
| error |
51 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
51 |
Missing function doc comment |
| error |
51 |
Method name "ForumMysql::insert_id" is not in camel caps format |
| error |
51 |
Line indented incorrectly; expected 4 spaces, found 1 |
| error |
51 |
Opening function brace should be on a new line |
| error |
52 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
52 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
53 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
62 |
You must use "/**" style comments for a function comment |
| error |
62 |
Method name "ForumMysql::get_row" is not in camel caps format |
| error |
62 |
Opening function brace should be on a new line |
| error |
63 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
64 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
77 |
Doc comment var "$SQL" does not match actual variable name "&$SQL" at position 1 |
| error |
78 |
The comments for parameters $SQL (1) and $field (2) do not align |
| error |
79 |
Missing @return tag in function comment |
| error |
80 |
Method name "ForumMysql::get_rows_by_field" is not in camel caps format |
| error |
80 |
Opening function brace should be on a new line |
| warning |
81 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
82 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
83 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
94 |
Doc comment var "$SQL" does not match actual variable name "&$SQL" at position 1 |
| error |
95 |
Last parameter comment requires a blank newline after it |
| error |
95 |
The comments for parameters $SQL (1) and $field (2) do not align |
| warning |
97 |
@author tag is not allowed in function comment |
| error |
99 |
Method name "ForumMysql::get_vals_by_field" is not in camel caps format |
| error |
99 |
Opening function brace should be on a new line |
| warning |
100 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
101 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
102 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
110 |
Missing function doc comment |
| error |
110 |
Method name "ForumMysql::build_set_query" is not in camel caps format |
| error |
110 |
Opening function brace should be on a new line |
| warning |
111 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
112 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
115 |
No space found after comma in function call |
| error |
115 |
No space found after comma in function call |
| error |
118 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
118 |
Missing function doc comment |
| error |
118 |
Line indented incorrectly; expected 4 spaces, found 1 |
| error |
118 |
Opening function brace should be on a new line |
| error |
119 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
119 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
119 |
Line indented incorrectly; expected 8 spaces, found 2 |
| error |
120 |
Line indented incorrectly; expected at least 12 spaces, found 3 |
| error |
120 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
121 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
123 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
123 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
123 |
Line indented incorrectly; expected 8 spaces, found 2 |
| error |
124 |
Line indented incorrectly; expected at least 12 spaces, found 3 |
| error |
124 |
No space found after comma in function call |
| error |
124 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
124 |
Line exceeds 85 characters; contains 99 characters |
| error |
125 |
Line indented incorrectly; expected at least 12 spaces, found 3 |
| error |
125 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
126 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
126 |
Line indented incorrectly; expected 8 spaces, found 2 |
| error |
127 |
Line indented incorrectly; expected at least 12 spaces, found 3 |
| error |
127 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
128 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
128 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
128 |
Line indented incorrectly; expected 12 spaces, found 3 |
| error |
129 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
129 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
130 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
130 |
Line indented incorrectly; expected 12 spaces, found 3 |
| error |
131 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
131 |
No space found after comma in function call |
| error |
131 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
131 |
Line exceeds 85 characters; contains 93 characters |
| error |
132 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
132 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
133 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
134 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
134 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
136 |
Spaces must be used to indent lines; tabs are not allowed |
| Sum |
97 errors and 12 warnings |
| /data/pear/pear/Forum/lib/classes/db/MysqlStandard.php |
| error |
2 |
Missing file doc comment |
| error |
3 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
7 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
8 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
8 |
File is being conditionally included; use "include_once" instead |
| error |
12 |
There must be exactly one blank line before the tags in class comment |
| error |
12 |
The @author tag is in the wrong order; the tag follows @package |
| error |
12 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
13 |
The @since tag is in the wrong order; the tag follows @see (if used) or @link |
| error |
13 |
@since tag comment indented incorrectly. Expected 3 spaces but found 1. |
| error |
16 |
Missing @category tag in class comment |
| error |
16 |
Missing @license tag in class comment |
| error |
16 |
Missing @link tag in class comment |
| error |
17 |
Opening brace of a class must be on the line after the definition. |
| warning |
24 |
@author tag is not allowed in function comment |
| error |
27 |
Opening function brace should be on a new line |
| error |
36 |
The comments for parameters $forum_id (1) and $thread_id (2) do not align |
| error |
37 |
Last parameter comment requires a blank newline after it |
| error |
37 |
The variable names for parameters $thread_id (2) and $status (3) do not align |
| error |
37 |
The comments for parameters $thread_id (2) and $status (3) do not align |
| warning |
40 |
@author tag is not allowed in function comment |
| error |
42 |
Method name "ForumMysqlStandard::approve_thread" is not in camel caps format |
| error |
42 |
Opening function brace should be on a new line |
| error |
44 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
44 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
44 |
Line exceeds 85 characters; contains 118 characters |
| warning |
44 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
45 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
45 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
52 |
The comments for parameters $forum_id (1) and $message_id (2) do not align |
| error |
53 |
Last parameter comment requires a blank newline after it |
| error |
53 |
The variable names for parameters $message_id (2) and $status (3) do not align |
| error |
53 |
The comments for parameters $message_id (2) and $status (3) do not align |
| warning |
56 |
@author tag is not allowed in function comment |
| error |
58 |
Method name "ForumMysqlStandard::approve_message" is not in camel caps format |
| error |
58 |
Opening function brace should be on a new line |
| error |
60 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
60 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
60 |
Line exceeds 85 characters; contains 120 characters |
| error |
61 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
61 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
66 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
69 |
Last parameter comment requires a blank newline after it |
| warning |
71 |
@author tag is not allowed in function comment |
| error |
71 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
73 |
Method name "ForumMysqlStandard::get_forum_settings" is not in camel caps format |
| error |
73 |
Opening function brace should be on a new line |
| error |
76 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
80 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
80 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
80 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
81 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
81 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
81 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 12 spaces |
| error |
83 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
83 |
No space found after comma in function call |
| warning |
83 |
Line exceeds 85 characters; contains 93 characters |
| error |
85 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
85 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
86 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
86 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
93 |
Doc comment var "mixed" does not match actual variable name "$forum_id" at position 1 |
| error |
93 |
Missing comment for param "mixed" at position 1 |
| error |
94 |
The variable names for parameters mixed (1) and int (2) do not align |
| error |
94 |
The comments for parameters mixed (1) and int (2) do not align |
| error |
94 |
Doc comment var "int" does not match actual variable name "$from" at position 2 |
| error |
95 |
The variable names for parameters int (2) and int (3) do not align |
| error |
95 |
Doc comment var "int" does not match actual variable name "$to" at position 3 |
| warning |
96 |
Line exceeds 85 characters; contains 111 characters |
| error |
96 |
Last parameter comment requires a blank newline after it |
| error |
96 |
The variable names for parameters int (3) and int (4) do not align |
| error |
96 |
Doc comment var "int" does not match actual variable name "$whattoget" at position 4 |
| error |
100 |
Method name "ForumMysqlStandard::get_headers" is not in camel caps format |
| error |
100 |
Opening function brace should be on a new line |
| warning |
105 |
Line exceeds 85 characters; contains 176 characters |
| warning |
105 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces |
| warning |
106 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
107 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
108 |
Line indented incorrectly; expected at least 12 spaces, found 5 |
| error |
108 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
108 |
Line exceeds 85 characters; contains 141 characters |
| warning |
108 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
109 |
No space found after comma in function call |
| warning |
113 |
Line exceeds 85 characters; contains 188 characters |
| warning |
113 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
114 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
115 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
117 |
Line exceeds 85 characters; contains 117 characters |
| warning |
117 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
118 |
No space found after comma in function call |
| warning |
121 |
Line exceeds 85 characters; contains 169 characters |
| warning |
121 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
122 |
No space found after comma in function call |
| warning |
125 |
Line exceeds 85 characters; contains 179 characters |
| warning |
125 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
126 |
No space found after comma in function call |
| error |
129 |
No space found after comma in function call |
| error |
130 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
137 |
Missing comment for param "$forum_id" at position 1 |
| error |
138 |
The comments for parameters $forum_id (1) and $thread_id (2) do not align |
| error |
138 |
Missing comment for param "$thread_id" at position 2 |
| error |
139 |
Last parameter comment requires a blank newline after it |
| error |
139 |
The variable names for parameters $thread_id (2) and $whattoget (3) do not align |
| error |
139 |
The comments for parameters $thread_id (2) and $whattoget (3) do not align |
| warning |
141 |
@author tag is not allowed in function comment |
| error |
144 |
Method name "ForumMysqlStandard::get_thread" is not in camel caps format |
| error |
144 |
Opening function brace should be on a new line |
| warning |
146 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
150 |
Line exceeds 85 characters; contains 268 characters |
| warning |
150 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
151 |
No space found after comma in function call |
| warning |
153 |
Line exceeds 85 characters; contains 95 characters |
| warning |
153 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
154 |
No space found after comma in function call |
| error |
156 |
No space found after comma in function call |
| error |
164 |
Doc comment var "int" does not match actual variable name "$forum_id" at position 1 |
| error |
165 |
The variable names for parameters int (1) and mixed (2) do not align |
| error |
165 |
The comments for parameters int (1) and mixed (2) do not align |
| error |
165 |
Doc comment var "mixed" does not match actual variable name "$message_id" at position 2 |
| error |
166 |
Last parameter comment requires a blank newline after it |
| error |
166 |
The variable names for parameters mixed (2) and int (3) do not align |
| error |
166 |
The comments for parameters mixed (2) and int (3) do not align |
| error |
166 |
Doc comment var "int" does not match actual variable name "$whattoget" at position 3 |
| warning |
167 |
@author tag is not allowed in function comment |
| error |
169 |
Missing @return tag in function comment |
| error |
170 |
Method name "ForumMysqlStandard::get_message" is not in camel caps format |
| error |
170 |
Opening function brace should be on a new line |
| error |
171 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
172 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
172 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
173 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
174 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
175 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
175 |
Line exceeds 85 characters; contains 191 characters |
| warning |
175 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
176 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
177 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
178 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
178 |
Line exceeds 85 characters; contains 100 characters |
| warning |
178 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
179 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
180 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
181 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
181 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
182 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
183 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
184 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
184 |
No space found after comma in function call |
| error |
185 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
187 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
189 |
No space found after comma in function call |
| warning |
189 |
Line exceeds 85 characters; contains 108 characters |
| error |
190 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
193 |
Doc comment for "$parent_id" missing |
| warning |
194 |
@author tag is not allowed in function comment |
| error |
194 |
There must be exactly one blank line before the tags in function comment |
| error |
196 |
Missing @return tag in function comment |
| error |
197 |
Method name "ForumMysqlStandard::get_forums" is not in camel caps format |
| error |
197 |
Opening function brace should be on a new line |
| warning |
199 |
Line exceeds 85 characters; contains 91 characters |
| warning |
199 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
203 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
203 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
204 |
@author tag is not allowed in function comment |
| error |
204 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
204 |
There must be exactly one blank line before the tags in function comment |
| error |
205 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
206 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
206 |
Missing @return tag in function comment |
| error |
207 |
Method name "ForumMysqlStandard::get_all_forums" is not in camel caps format |
| error |
207 |
Opening function brace should be on a new line |
| warning |
209 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
213 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
213 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
214 |
@author tag is not allowed in function comment |
| error |
214 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
214 |
There must be exactly one blank line before the tags in function comment |
| error |
215 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
216 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
216 |
Missing @return tag in function comment |
| error |
217 |
Method name "ForumMysqlStandard::get_all_folders" is not in camel caps format |
| error |
217 |
Opening function brace should be on a new line |
| warning |
219 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
221 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
221 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
227 |
@author tag is not allowed in function comment |
| error |
229 |
Parameters must appear immediately after the comment |
| error |
229 |
Doc comment var "array" does not match actual variable name "$message" at position 1 |
| error |
230 |
Missing @return tag in function comment |
| error |
231 |
Method name "ForumMysqlStandard::insert_message" is not in camel caps format |
| error |
231 |
Opening function brace should be on a new line |
| error |
232 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
232 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
236 |
Expected "if (...) {\n"; found "if(...){\n" |
| error |
236 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
237 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
237 |
No space found after comma in function call |
| warning |
237 |
Line exceeds 85 characters; contains 95 characters |
| error |
238 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
239 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
239 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
240 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
240 |
Line indented incorrectly; expected 12 spaces, found 8 |
| error |
241 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| error |
242 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| error |
244 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
246 |
Line indented incorrectly; expected at least 12 spaces, found 2 |
| error |
246 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
247 |
Line indented incorrectly; expected at least 12 spaces, found 2 |
| error |
247 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
250 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
250 |
Line indented incorrectly; expected 12 spaces, found 8 |
| error |
251 |
Line indented incorrectly; expected at least 16 spaces, found 12 |
| error |
254 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
255 |
Line indented incorrectly; expected at least 12 spaces, found 4 |
| error |
255 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
255 |
Space after opening parenthesis of function call prohibited |
| error |
257 |
No space found after comma in function call |
| warning |
257 |
Line exceeds 85 characters; contains 175 characters |
| error |
258 |
Space before closing parenthesis of function call prohibited |
| error |
259 |
Space before closing parenthesis of function call prohibited |
| error |
260 |
Space before closing parenthesis of function call prohibited |
| error |
262 |
Line indented incorrectly; expected at least 12 spaces, found 5 |
| error |
262 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
263 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
264 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
265 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
266 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
267 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
268 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
269 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
270 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
271 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
272 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
273 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
274 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
275 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
276 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
277 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
278 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
279 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
280 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
281 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
282 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
283 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
284 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
285 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
286 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
287 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
288 |
Line indented incorrectly; expected at least 12 spaces, found 5 |
| error |
290 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
290 |
Line indented incorrectly; expected 12 spaces, found 8 |
| error |
291 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| error |
292 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| warning |
292 |
Line exceeds 85 characters; contains 117 characters |
| warning |
292 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
293 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| error |
294 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| error |
294 |
No space found after comma in function call |
| error |
295 |
Expected "} elseif (...) {\n"; found "} elseif(...) {\n" |
| error |
295 |
Line indented incorrectly; expected 12 spaces, found 8 |
| error |
296 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| warning |
296 |
Line exceeds 85 characters; contains 150 characters |
| warning |
296 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
297 |
Line indented incorrectly; expected at least 16 spaces, found 10 |
| error |
300 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
301 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
301 |
No space found after comma in function call |
| warning |
301 |
Line exceeds 85 characters; contains 194 characters |
| warning |
301 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
302 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
303 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
303 |
Line exceeds 85 characters; contains 103 characters |
| warning |
303 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
304 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
307 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
309 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
313 |
@author tag is not allowed in function comment |
| error |
313 |
There must be exactly one blank line before the tags in function comment |
| error |
315 |
Missing @return tag in function comment |
| error |
316 |
Method name "ForumMysqlStandard::get_server_vars" is not in camel caps format |
| error |
316 |
Opening function brace should be on a new line |
| error |
317 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
317 |
Line exceeds 85 characters; contains 88 characters |
| warning |
317 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
318 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
318 |
Line exceeds 85 characters; contains 88 characters |
| warning |
318 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
319 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
319 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
320 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
320 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
321 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
321 |
Line exceeds 85 characters; contains 87 characters |
| warning |
321 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
322 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
325 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
325 |
Doc comment for "$forum_id" missing |
| error |
325 |
Doc comment for "$settings" missing |
| error |
325 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
326 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
326 |
Extra newlines found before function comment short description |
| error |
327 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
328 |
@author tag is not allowed in function comment |
| error |
328 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
328 |
There must be exactly one blank line before the tags in function comment |
| error |
329 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
329 |
Missing @return tag in function comment |
| error |
330 |
Method name "ForumMysqlStandard::modify_forum_settings" is not in camel caps format |
| error |
330 |
Opening function brace should be on a new line |
| warning |
332 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
339 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
339 |
Missing function doc comment |
| error |
339 |
Method name "ForumMysqlStandard::create_folders_table" is not in camel caps format |
| error |
339 |
Line indented incorrectly; expected 4 spaces, found 1 |
| error |
340 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
341 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
341 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
363 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
363 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
364 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
366 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
366 |
Doc comment for "$settings" missing |
| error |
366 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
367 |
@author tag is not allowed in function comment |
| error |
367 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
367 |
There must be exactly one blank line before the tags in function comment |
| error |
368 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
368 |
Missing @return tag in function comment |
| error |
369 |
Method name "ForumMysqlStandard::create_forum" is not in camel caps format |
| error |
370 |
Opening brace indented incorrectly; expected 4 spaces, found 1 |
| error |
370 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
371 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
371 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
373 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
375 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
375 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
376 |
Line indented incorrectly; expected at least 8 spaces, found 0 |
| warning |
376 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
394 |
Line indented incorrectly; expected at least 8 spaces, found 0 |
| warning |
394 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| Sum |
267 errors and 74 warnings |
| /data/pear/pear/Forum/lib/classes/db/MysqlUser.php |
| error |
2 |
Missing file doc comment |
| error |
3 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
4 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
4 |
File is being conditionally included; use "include_once" instead |
| error |
10 |
The @author tag is in the wrong order; the tag follows @package |
| error |
10 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
12 |
Package name "user" is not valid; Consider "User" instead. |
| error |
13 |
Missing @category tag in class comment |
| error |
13 |
Missing @license tag in class comment |
| error |
13 |
Missing @link tag in class comment |
| error |
14 |
Opening brace of a class must be on the line after the definition. |
| warning |
19 |
@author tag is not allowed in function comment |
| error |
20 |
Parameters must appear immediately after the comment |
| error |
20 |
Doc comment var "$user_id" does not match actual variable name "$user" at position 1 |
| error |
21 |
Last parameter comment requires a blank newline after it |
| error |
21 |
The comments for parameters $user_id (1) and $field (2) do not align |
| error |
24 |
Method name "ForumDBUser::get_user" is not in camel caps format |
| error |
24 |
Opening function brace should be on a new line |
| warning |
25 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
31 |
Line exceeds 85 characters; contains 94 characters |
| warning |
33 |
@author tag is not allowed in function comment |
| error |
34 |
Parameters must appear immediately after the comment |
| error |
35 |
Missing @return tag in function comment |
| error |
36 |
Method name "ForumDBUser::insert_user" is not in camel caps format |
| error |
36 |
Opening function brace should be on a new line |
| warning |
37 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
52 |
@author tag is not allowed in function comment |
| error |
53 |
Parameters must appear immediately after the comment |
| error |
53 |
Missing comment for param "$user" at position 1 |
| error |
54 |
Missing @return tag in function comment |
| error |
55 |
Method name "ForumDBUser::update_user" is not in camel caps format |
| error |
55 |
Opening function brace should be on a new line |
| warning |
56 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
71 |
@author tag is not allowed in function comment |
| error |
72 |
Parameters must appear immediately after the comment |
| error |
73 |
Last parameter comment requires a blank newline after it |
| error |
73 |
The variable names for parameters $user (1) and $md5 (2) do not align |
| error |
73 |
The comments for parameters $user (1) and $md5 (2) do not align |
| error |
76 |
Method name "ForumDBUser::check_user" is not in camel caps format |
| error |
76 |
Opening function brace should be on a new line |
| error |
77 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
78 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
80 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| Sum |
35 errors and 8 warnings |
| /data/pear/pear/Forum/lib/classes/db/NNTP.php |
| error |
2 |
Missing file doc comment |
| error |
5 |
Opening brace of a class must be on the line after the definition. |
| error |
5 |
Missing class doc comment |
| error |
8 |
Missing function doc comment |
| error |
8 |
Opening function brace should be on a new line |
| error |
10 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
19 |
Missing function doc comment |
| error |
19 |
Opening function brace should be on a new line |
| error |
20 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
21 |
No space found after comma in function call |
| error |
24 |
No space found after comma in function call |
| error |
27 |
No space found after comma in function call |
| error |
28 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
29 |
No space found after comma in function call |
| warning |
29 |
Line exceeds 85 characters; contains 90 characters |
| error |
35 |
Missing function doc comment |
| error |
35 |
Opening function brace should be on a new line |
| warning |
36 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
37 |
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces |
| error |
43 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
44 |
No space found after comma in function call |
| warning |
44 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space |
| error |
50 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| warning |
51 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
52 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
52 |
No space found after comma in function call |
| error |
60 |
Missing function doc comment |
| error |
60 |
Method name "ForumNNTP::get_line" is not in camel caps format |
| error |
60 |
Opening function brace should be on a new line |
| error |
61 |
No space found after comma in function call |
| error |
65 |
Missing function doc comment |
| error |
65 |
Method name "ForumNNTP::get_body" is not in camel caps format |
| error |
65 |
Opening function brace should be on a new line |
| error |
66 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
66 |
No space found after comma in function call |
| error |
73 |
Missing function doc comment |
| error |
73 |
Opening function brace should be on a new line |
| error |
74 |
No space found after comma in function call |
| error |
79 |
Missing function doc comment |
| error |
79 |
Method name "ForumNNTP::_ForumNNTP" is not in camel caps format |
| error |
79 |
Opening function brace should be on a new line |
| error |
80 |
No space found after comma in function call |
| Sum |
37 errors and 5 warnings |
| /data/pear/pear/Forum/lib/classes/db/NNTPStandard.php |
| error |
2 |
You must use "/**" style comments for a file comment |
| error |
4 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
7 |
There must be exactly one blank line before the tags in class comment |
| error |
7 |
The @author tag is in the wrong order; the tag follows @package |
| error |
7 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
8 |
The @since tag is in the wrong order; the tag follows @see (if used) or @link |
| error |
8 |
@since tag comment indented incorrectly. Expected 3 spaces but found 1. |
| error |
11 |
Missing @category tag in class comment |
| error |
11 |
Missing @license tag in class comment |
| error |
11 |
Missing @link tag in class comment |
| error |
12 |
Opening brace of a class must be on the line after the definition. |
| error |
13 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
15 |
Missing function doc comment |
| error |
15 |
Opening function brace should be on a new line |
| error |
16 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
17 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
17 |
File is being conditionally included; use "include_once" instead |
| warning |
29 |
@author tag is not allowed in function comment |
| error |
32 |
Opening function brace should be on a new line |
| error |
41 |
The comments for parameters $forum_id (1) and $thread_id (2) do not align |
| error |
42 |
Last parameter comment requires a blank newline after it |
| error |
42 |
The variable names for parameters $thread_id (2) and $status (3) do not align |
| error |
42 |
The comments for parameters $thread_id (2) and $status (3) do not align |
| warning |
45 |
@author tag is not allowed in function comment |
| error |
47 |
Method name "ForumNNTPStandard::approve_thread" is not in camel caps format |
| error |
47 |
Opening function brace should be on a new line |
| error |
48 |
No space found after comma in function call |
| warning |
50 |
Line exceeds 85 characters; contains 124 characters |
| warning |
50 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
51 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
51 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
58 |
The comments for parameters $forum_id (1) and $message_id (2) do not align |
| error |
59 |
Last parameter comment requires a blank newline after it |
| error |
59 |
The variable names for parameters $message_id (2) and $status (3) do not align |
| error |
59 |
The comments for parameters $message_id (2) and $status (3) do not align |
| warning |
62 |
@author tag is not allowed in function comment |
| error |
64 |
Method name "ForumNNTPStandard::approve_message" is not in camel caps format |
| error |
64 |
Opening function brace should be on a new line |
| error |
65 |
No space found after comma in function call |
| warning |
67 |
Line exceeds 85 characters; contains 126 characters |
| error |
68 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
68 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
76 |
Last parameter comment requires a blank newline after it |
| warning |
78 |
@author tag is not allowed in function comment |
| error |
80 |
Method name "ForumNNTPStandard::get_forum_settings" is not in camel caps format |
| error |
80 |
Opening function brace should be on a new line |
| error |
84 |
No space found after comma in function call |
| error |
94 |
No space found after comma in function call |
| warning |
94 |
Line exceeds 85 characters; contains 99 characters |
| error |
104 |
Doc comment var "mixed" does not match actual variable name "$forum_id" at position 1 |
| error |
104 |
Missing comment for param "mixed" at position 1 |
| error |
105 |
The variable names for parameters mixed (1) and int (2) do not align |
| error |
105 |
The comments for parameters mixed (1) and int (2) do not align |
| error |
105 |
Doc comment var "int" does not match actual variable name "$from" at position 2 |
| error |
106 |
The variable names for parameters int (2) and int (3) do not align |
| error |
106 |
Doc comment var "int" does not match actual variable name "$to" at position 3 |
| warning |
107 |
Line exceeds 85 characters; contains 111 characters |
| error |
107 |
Last parameter comment requires a blank newline after it |
| error |
107 |
The variable names for parameters int (3) and int (4) do not align |
| error |
107 |
Doc comment var "int" does not match actual variable name "$whattoget" at position 4 |
| error |
111 |
Method name "ForumNNTPStandard::get_headers" is not in camel caps format |
| error |
116 |
Line indented incorrectly; expected 8 spaces, found 12 |
| error |
117 |
Line indented incorrectly; expected 8 spaces, found 12 |
| error |
118 |
No space found after comma in function call |
| error |
121 |
Line indented incorrectly; expected 8 spaces, found 12 |
| error |
122 |
Line indented incorrectly; expected 8 spaces, found 12 |
| error |
124 |
Line indented incorrectly; expected at least 12 spaces, found 2 |
| error |
124 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
126 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
126 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
126 |
Line indented incorrectly; expected 12 spaces, found 2 |
| error |
127 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
127 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
128 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
128 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
129 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
130 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
130 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
130 |
Line indented incorrectly; expected 12 spaces, found 2 |
| error |
131 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
131 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
132 |
Line indented incorrectly; expected at least 16 spaces, found 4 |
| error |
132 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
133 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
134 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
135 |
Line indented incorrectly; expected at least 12 spaces, found 2 |
| error |
135 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
135 |
No space found after comma in function call |
| error |
137 |
Line indented incorrectly; expected 8 spaces, found 12 |
| error |
138 |
No space found after comma in function call |
| error |
139 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
140 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
140 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
140 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
140 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
140 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
143 |
Missing function doc comment |
| error |
143 |
Method name "ForumNNTPStandard::process_headers" is not in camel caps format |
| error |
143 |
Opening function brace should be on a new line |
| error |
144 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
146 |
PHP keywords must be lowercase; expected "null" but found "NULL" |
| warning |
146 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space |
| warning |
148 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space |
| warning |
151 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space |
| warning |
152 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space |
| warning |
153 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| warning |
154 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| warning |
155 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
156 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
157 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
168 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
170 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
171 |
No space found after comma in function call |
| error |
175 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
176 |
Line exceeds 85 characters; contains 138 characters |
| warning |
178 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space |
| warning |
180 |
Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space |
| error |
188 |
Missing comment for param "$forum_id" at position 1 |
| error |
189 |
The comments for parameters $forum_id (1) and $thread_id (2) do not align |
| error |
189 |
Missing comment for param "$thread_id" at position 2 |
| error |
190 |
Last parameter comment requires a blank newline after it |
| error |
190 |
The variable names for parameters $thread_id (2) and $whattoget (3) do not align |
| error |
190 |
The comments for parameters $thread_id (2) and $whattoget (3) do not align |
| warning |
192 |
@author tag is not allowed in function comment |
| error |
195 |
Method name "ForumNNTPStandard::get_thread" is not in camel caps format |
| error |
195 |
Opening function brace should be on a new line |
| error |
196 |
No space found after comma in function call |
| warning |
198 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
202 |
Line exceeds 85 characters; contains 268 characters |
| warning |
202 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
203 |
No space found after comma in function call |
| warning |
205 |
Line exceeds 85 characters; contains 95 characters |
| warning |
205 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
206 |
No space found after comma in function call |
| error |
208 |
No space found after comma in function call |
| error |
216 |
Doc comment var "int" does not match actual variable name "$forum_id" at position 1 |
| error |
217 |
The variable names for parameters int (1) and mixed (2) do not align |
| error |
217 |
The comments for parameters int (1) and mixed (2) do not align |
| error |
217 |
Doc comment var "mixed" does not match actual variable name "$message_id" at position 2 |
| error |
218 |
Last parameter comment requires a blank newline after it |
| error |
218 |
The variable names for parameters mixed (2) and int (3) do not align |
| error |
218 |
The comments for parameters mixed (2) and int (3) do not align |
| error |
218 |
Doc comment var "int" does not match actual variable name "$whattoget" at position 3 |
| warning |
219 |
@author tag is not allowed in function comment |
| error |
221 |
Missing @return tag in function comment |
| error |
222 |
Method name "ForumNNTPStandard::get_message" is not in camel caps format |
| error |
222 |
Opening function brace should be on a new line |
| error |
223 |
No space found after comma in function call |
| error |
224 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
225 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
225 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
226 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
227 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
228 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
228 |
Line exceeds 85 characters; contains 191 characters |
| warning |
228 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
229 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
230 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
231 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
231 |
Line exceeds 85 characters; contains 100 characters |
| warning |
231 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
232 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
233 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
234 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
234 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
235 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
236 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
237 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
237 |
No space found after comma in function call |
| error |
238 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
240 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
242 |
No space found after comma in function call |
| warning |
242 |
Line exceeds 85 characters; contains 108 characters |
| error |
243 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
246 |
Doc comment for "$parent_id" missing |
| warning |
247 |
@author tag is not allowed in function comment |
| error |
247 |
There must be exactly one blank line before the tags in function comment |
| error |
249 |
Missing @return tag in function comment |
| error |
250 |
Method name "ForumNNTPStandard::get_forums" is not in camel caps format |
| error |
250 |
Opening function brace should be on a new line |
| warning |
252 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
253 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| warning |
257 |
Line exceeds 85 characters; contains 89 characters |
| warning |
266 |
@author tag is not allowed in function comment |
| error |
266 |
There must be exactly one blank line before the tags in function comment |
| error |
268 |
Missing @return tag in function comment |
| error |
269 |
Method name "ForumNNTPStandard::get_all_forums" is not in camel caps format |
| error |
269 |
Opening function brace should be on a new line |
| error |
270 |
No space found after comma in function call |
| warning |
272 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
277 |
@author tag is not allowed in function comment |
| error |
277 |
There must be exactly one blank line before the tags in function comment |
| error |
279 |
Missing @return tag in function comment |
| error |
280 |
Method name "ForumNNTPStandard::get_all_folders" is not in camel caps format |
| error |
280 |
Opening function brace should be on a new line |
| error |
281 |
No space found after comma in function call |
| warning |
283 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
291 |
@author tag is not allowed in function comment |
| error |
293 |
Parameters must appear immediately after the comment |
| error |
293 |
Doc comment var "array" does not match actual variable name "$message" at position 1 |
| error |
294 |
Missing @return tag in function comment |
| error |
295 |
Method name "ForumNNTPStandard::insert_message" is not in camel caps format |
| error |
297 |
No space found after comma in function call |
| warning |
299 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
314 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
317 |
Line exceeds 85 characters; contains 125 characters |
| warning |
318 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space |
| warning |
322 |
Line exceeds 85 characters; contains 119 characters |
| warning |
327 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
334 |
Space found before comma in function call |
| error |
348 |
Doc comment for "$forum_id" missing |
| error |
348 |
Doc comment for "$settings" missing |
| error |
349 |
Extra newlines found before function comment short description |
| warning |
351 |
@author tag is not allowed in function comment |
| error |
351 |
There must be exactly one blank line before the tags in function comment |
| error |
352 |
Missing @return tag in function comment |
| error |
353 |
Method name "ForumNNTPStandard::modify_forum_settings" is not in camel caps format |
| error |
353 |
Opening function brace should be on a new line |
| error |
354 |
No space found after comma in function call |
| warning |
356 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| Sum |
171 errors and 49 warnings |
| /data/pear/pear/Forum/lib/classes/db/PearDB.php |
| warning |
6 |
PHP version not specified |
| error |
6 |
Missing @category tag in file comment |
| error |
6 |
Missing @package tag in file comment |
| error |
6 |
Missing @license tag in file comment |
| error |
6 |
Missing @link tag in file comment |
| error |
10 |
Missing function doc comment |
| error |
10 |
Function name "pear_error" is prefixed with a package name but does not begin with a captial letter |
| error |
22 |
Opening brace of a class must be on the line after the definition. |
| error |
22 |
Missing class doc comment |
| error |
31 |
Opening function brace should be on a new line |
| error |
33 |
Expected "if (...) {\n"; found "if (...){\n" |
| error |
56 |
Last parameter comment requires a blank newline after it |
| error |
56 |
Doc comment var "$SQL" does not match actual variable name "&$SQL" at position 1 |
| error |
71 |
Missing function doc comment |
| error |
71 |
Method name "ForumDB::insert_id" is not in camel caps format |
| error |
71 |
Opening function brace should be on a new line |
| error |
82 |
You must use "/**" style comments for a function comment |
| error |
82 |
Method name "ForumDB::get_row" is not in camel caps format |
| error |
94 |
You must use "/**" style comments for a function comment |
| error |
94 |
Method name "ForumDB::get_col" is not in camel caps format |
| warning |
100 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
102 |
Expected "for (...) {\n"; found "for(...) {\n" |
| warning |
103 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space |
| error |
107 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
118 |
Doc comment var "$SQL" does not match actual variable name "&$SQL" at position 1 |
| error |
119 |
The comments for parameters $SQL (1) and $field (2) do not align |
| error |
119 |
Doc comment for "$from" missing |
| error |
119 |
Doc comment for "$to" missing |
| error |
120 |
Missing @return tag in function comment |
| error |
121 |
Method name "ForumDB::get_rows_by_field" is not in camel caps format |
| warning |
123 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
124 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
126 |
Expected "for (...) {\n"; found "for(...) {\n" |
| warning |
127 |
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space |
| error |
131 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
142 |
Doc comment var "$SQL" does not match actual variable name "&$SQL" at position 1 |
| error |
143 |
Last parameter comment requires a blank newline after it |
| error |
143 |
The comments for parameters $SQL (1) and $field (2) do not align |
| warning |
145 |
@author tag is not allowed in function comment |
| error |
147 |
Method name "ForumDB::get_vals_by_field" is not in camel caps format |
| error |
147 |
Opening function brace should be on a new line |
| warning |
148 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
149 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
150 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
157 |
Missing function doc comment |
| error |
157 |
Method name "ForumDB::build_set_query" is not in camel caps format |
| error |
161 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
172 |
Missing function doc comment |
| error |
172 |
Method name "ForumDB::build_insert_query" is not in camel caps format |
| error |
178 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
186 |
Missing function doc comment |
| error |
186 |
Opening function brace should be on a new line |
| error |
187 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
191 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
192 |
No space found after comma in function call |
| warning |
192 |
Line exceeds 85 characters; contains 108 characters |
| error |
196 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
199 |
No space found after comma in function call |
| warning |
199 |
Line exceeds 85 characters; contains 105 characters |
| Sum |
48 errors and 11 warnings |
| /data/pear/pear/Forum/lib/classes/db/PearDBStandard.php |
| error |
2 |
Missing file doc comment |
| error |
3 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
4 |
File is being conditionally included; use "include_once" instead |
| error |
8 |
There must be exactly one blank line before the tags in class comment |
| error |
8 |
The @author tag is in the wrong order; the tag follows @package |
| error |
8 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
9 |
The @since tag is in the wrong order; the tag follows @see (if used) or @link |
| error |
9 |
@since tag comment indented incorrectly. Expected 3 spaces but found 1. |
| error |
12 |
Missing @category tag in class comment |
| error |
12 |
Missing @license tag in class comment |
| error |
12 |
Missing @link tag in class comment |
| error |
13 |
Opening brace of a class must be on the line after the definition. |
| warning |
21 |
Line exceeds 85 characters; contains 108 characters |
| warning |
23 |
@author tag is not allowed in function comment |
| warning |
24 |
Line exceeds 85 characters; contains 104 characters |
| error |
24 |
Parameters must appear immediately after the comment |
| error |
24 |
Doc comment var "&$rows" does not match actual variable name "$rows" at position 1 |
| error |
25 |
Missing @return tag in function comment |
| error |
26 |
Method name "ForumDBStandard::process_headers" is not in camel caps format |
| error |
26 |
Opening function brace should be on a new line |
| error |
32 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
33 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
35 |
Line exceeds 85 characters; contains 132 characters |
| warning |
37 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces |
| warning |
48 |
@author tag is not allowed in function comment |
| error |
51 |
Opening function brace should be on a new line |
| error |
60 |
The comments for parameters $forum_id (1) and $thread_id (2) do not align |
| error |
61 |
Last parameter comment requires a blank newline after it |
| error |
61 |
The variable names for parameters $thread_id (2) and $status (3) do not align |
| error |
61 |
The comments for parameters $thread_id (2) and $status (3) do not align |
| warning |
64 |
@author tag is not allowed in function comment |
| error |
66 |
Method name "ForumDBStandard::approve_thread" is not in camel caps format |
| error |
66 |
Opening function brace should be on a new line |
| warning |
68 |
Line exceeds 85 characters; contains 124 characters |
| warning |
68 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
69 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
69 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
76 |
The comments for parameters $forum_id (1) and $message_id (2) do not align |
| error |
77 |
Last parameter comment requires a blank newline after it |
| error |
77 |
The variable names for parameters $message_id (2) and $status (3) do not align |
| error |
77 |
The comments for parameters $message_id (2) and $status (3) do not align |
| warning |
80 |
@author tag is not allowed in function comment |
| error |
82 |
Method name "ForumDBStandard::approve_message" is not in camel caps format |
| error |
82 |
Opening function brace should be on a new line |
| warning |
84 |
Line exceeds 85 characters; contains 126 characters |
| error |
85 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
85 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
93 |
Last parameter comment requires a blank newline after it |
| warning |
95 |
@author tag is not allowed in function comment |
| error |
97 |
Method name "ForumDBStandard::get_forum_settings" is not in camel caps format |
| error |
97 |
Opening function brace should be on a new line |
| error |
107 |
No space found after comma in function call |
| warning |
107 |
Line exceeds 85 characters; contains 99 characters |
| error |
117 |
Doc comment var "mixed" does not match actual variable name "$forum_id" at position 1 |
| error |
117 |
Missing comment for param "mixed" at position 1 |
| error |
118 |
The variable names for parameters mixed (1) and int (2) do not align |
| error |
118 |
The comments for parameters mixed (1) and int (2) do not align |
| error |
118 |
Doc comment var "int" does not match actual variable name "$from" at position 2 |
| error |
119 |
The variable names for parameters int (2) and int (3) do not align |
| error |
119 |
Doc comment var "int" does not match actual variable name "$to" at position 3 |
| warning |
120 |
Line exceeds 85 characters; contains 111 characters |
| error |
120 |
Last parameter comment requires a blank newline after it |
| error |
120 |
The variable names for parameters int (3) and int (4) do not align |
| error |
120 |
Doc comment var "int" does not match actual variable name "$whattoget" at position 4 |
| error |
124 |
Method name "ForumDBStandard::get_headers" is not in camel caps format |
| error |
129 |
Line indented incorrectly; expected 8 spaces, found 12 |
| warning |
130 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space |
| warning |
131 |
Line exceeds 85 characters; contains 86 characters |
| error |
134 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
134 |
Line indented incorrectly; expected 12 spaces, found 16 |
| warning |
137 |
Line exceeds 85 characters; contains 94 characters |
| error |
139 |
No space found after comma in function call |
| warning |
139 |
Line exceeds 85 characters; contains 91 characters |
| error |
141 |
Line indented incorrectly; expected 8 spaces, found 12 |
| warning |
143 |
Line exceeds 85 characters; contains 109 characters |
| error |
147 |
Line indented incorrectly; expected 12 spaces, found 16 |
| warning |
151 |
Line exceeds 85 characters; contains 95 characters |
| error |
153 |
No space found after comma in function call |
| warning |
153 |
Line exceeds 85 characters; contains 91 characters |
| error |
155 |
Line indented incorrectly; expected 8 spaces, found 12 |
| warning |
156 |
Line exceeds 85 characters; contains 94 characters |
| error |
159 |
No space found after comma in function call |
| error |
161 |
Line indented incorrectly; expected 8 spaces, found 12 |
| warning |
162 |
Line exceeds 85 characters; contains 94 characters |
| error |
165 |
No space found after comma in function call |
| error |
167 |
Line indented incorrectly; expected 8 spaces, found 12 |
| error |
168 |
No space found after comma in function call |
| error |
169 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
170 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
170 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
170 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
170 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
170 |
Closing brace indented incorrectly; expected 12 spaces, found 8 |
| error |
176 |
Missing comment for param "$forum_id" at position 1 |
| error |
177 |
The comments for parameters $forum_id (1) and $thread_id (2) do not align |
| error |
177 |
Missing comment for param "$thread_id" at position 2 |
| error |
178 |
Last parameter comment requires a blank newline after it |
| error |
178 |
The variable names for parameters $thread_id (2) and $whattoget (3) do not align |
| error |
178 |
The comments for parameters $thread_id (2) and $whattoget (3) do not align |
| warning |
180 |
@author tag is not allowed in function comment |
| error |
183 |
Method name "ForumDBStandard::get_thread" is not in camel caps format |
| error |
183 |
Opening function brace should be on a new line |
| warning |
185 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
189 |
Line exceeds 85 characters; contains 268 characters |
| warning |
189 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
190 |
No space found after comma in function call |
| warning |
192 |
Line exceeds 85 characters; contains 95 characters |
| warning |
192 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
193 |
No space found after comma in function call |
| error |
195 |
No space found after comma in function call |
| error |
203 |
Doc comment var "int" does not match actual variable name "$forum_id" at position 1 |
| error |
204 |
The variable names for parameters int (1) and mixed (2) do not align |
| error |
204 |
The comments for parameters int (1) and mixed (2) do not align |
| error |
204 |
Doc comment var "mixed" does not match actual variable name "$message_id" at position 2 |
| error |
205 |
Last parameter comment requires a blank newline after it |
| error |
205 |
The variable names for parameters mixed (2) and int (3) do not align |
| error |
205 |
The comments for parameters mixed (2) and int (3) do not align |
| error |
205 |
Doc comment var "int" does not match actual variable name "$whattoget" at position 3 |
| warning |
206 |
@author tag is not allowed in function comment |
| error |
208 |
Missing @return tag in function comment |
| error |
209 |
Method name "ForumDBStandard::get_message" is not in camel caps format |
| error |
209 |
Opening function brace should be on a new line |
| error |
210 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
211 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
211 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
212 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
213 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
214 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
214 |
Line exceeds 85 characters; contains 191 characters |
| warning |
214 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
215 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
216 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
217 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
217 |
Line exceeds 85 characters; contains 100 characters |
| warning |
217 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
218 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
219 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
220 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| warning |
220 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
221 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
222 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
223 |
Line indented incorrectly; expected at least 12 spaces, found 8 |
| error |
223 |
No space found after comma in function call |
| error |
224 |
Break statement indented incorrectly; expected 10 spaces, found 8 |
| error |
226 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
228 |
No space found after comma in function call |
| warning |
228 |
Line exceeds 85 characters; contains 108 characters |
| error |
229 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
232 |
Doc comment for "$parent_id" missing |
| warning |
233 |
@author tag is not allowed in function comment |
| error |
233 |
There must be exactly one blank line before the tags in function comment |
| error |
235 |
Missing @return tag in function comment |
| error |
236 |
Method name "ForumDBStandard::get_forums" is not in camel caps format |
| error |
236 |
Opening function brace should be on a new line |
| warning |
238 |
Line exceeds 85 characters; contains 91 characters |
| warning |
238 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
243 |
@author tag is not allowed in function comment |
| error |
243 |
There must be exactly one blank line before the tags in function comment |
| error |
245 |
Missing @return tag in function comment |
| error |
246 |
Method name "ForumDBStandard::get_all_forums" is not in camel caps format |
| error |
246 |
Opening function brace should be on a new line |
| warning |
248 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
253 |
@author tag is not allowed in function comment |
| error |
253 |
There must be exactly one blank line before the tags in function comment |
| error |
255 |
Missing @return tag in function comment |
| error |
256 |
Method name "ForumDBStandard::get_all_folders" is not in camel caps format |
| error |
256 |
Opening function brace should be on a new line |
| warning |
258 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
266 |
@author tag is not allowed in function comment |
| error |
268 |
Parameters must appear immediately after the comment |
| error |
268 |
Doc comment var "array" does not match actual variable name "$message" at position 1 |
| error |
269 |
Missing @return tag in function comment |
| error |
270 |
Method name "ForumDBStandard::insert_message" is not in camel caps format |
| warning |
273 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
288 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
291 |
Line exceeds 85 characters; contains 125 characters |
| warning |
292 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space |
| warning |
296 |
Line exceeds 85 characters; contains 119 characters |
| warning |
301 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
308 |
Space found before comma in function call |
| warning |
322 |
@author tag is not allowed in function comment |
| error |
322 |
There must be exactly one blank line before the tags in function comment |
| error |
324 |
Missing @return tag in function comment |
| error |
325 |
Method name "ForumDBStandard::get_server_vars" is not in camel caps format |
| error |
325 |
Opening function brace should be on a new line |
| error |
326 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
326 |
Line exceeds 85 characters; contains 88 characters |
| warning |
326 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
327 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
327 |
Line exceeds 85 characters; contains 88 characters |
| warning |
327 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
328 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
328 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
329 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
329 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
330 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| warning |
330 |
Line exceeds 85 characters; contains 87 characters |
| warning |
330 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
331 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
334 |
Doc comment for "$forum_id" missing |
| error |
334 |
Doc comment for "$settings" missing |
| error |
335 |
Extra newlines found before function comment short description |
| warning |
337 |
@author tag is not allowed in function comment |
| error |
337 |
There must be exactly one blank line before the tags in function comment |
| error |
338 |
Missing @return tag in function comment |
| error |
339 |
Method name "ForumDBStandard::modify_forum_settings" is not in camel caps format |
| error |
339 |
Opening function brace should be on a new line |
| warning |
341 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
348 |
Missing function doc comment |
| error |
348 |
Method name "ForumDBStandard::create_folders_table" is not in camel caps format |
| error |
375 |
Doc comment for "$settings" missing |
| warning |
376 |
@author tag is not allowed in function comment |
| error |
376 |
There must be exactly one blank line before the tags in function comment |
| error |
377 |
Missing @return tag in function comment |
| error |
378 |
Method name "ForumDBStandard::create_forum" is not in camel caps format |
| warning |
382 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
385 |
Line indented incorrectly; expected at least 8 spaces, found 0 |
| warning |
385 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
386 |
Line exceeds 85 characters; contains 86 characters |
| error |
403 |
Line indented incorrectly; expected at least 8 spaces, found 0 |
| warning |
403 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| Sum |
155 errors and 66 warnings |
| /data/pear/pear/Forum/lib/classes/db/PearDbUser.php |
| error |
2 |
Missing file doc comment |
| error |
7 |
The @author tag is in the wrong order; the tag follows @package |
| error |
7 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
9 |
Package name "user" is not valid; Consider "User" instead. |
| error |
10 |
Missing @category tag in class comment |
| error |
10 |
Missing @license tag in class comment |
| error |
10 |
Missing @link tag in class comment |
| error |
11 |
Opening brace of a class must be on the line after the definition. |
| warning |
16 |
@author tag is not allowed in function comment |
| error |
17 |
Parameters must appear immediately after the comment |
| error |
17 |
Doc comment var "$user_id" does not match actual variable name "$user" at position 1 |
| error |
18 |
Last parameter comment requires a blank newline after it |
| error |
18 |
The comments for parameters $user_id (1) and $field (2) do not align |
| error |
21 |
Method name "ForumDBUser::get_user" is not in camel caps format |
| error |
21 |
Opening function brace should be on a new line |
| warning |
22 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
28 |
Line exceeds 85 characters; contains 94 characters |
| warning |
30 |
@author tag is not allowed in function comment |
| error |
31 |
Parameters must appear immediately after the comment |
| error |
32 |
Missing @return tag in function comment |
| error |
33 |
Method name "ForumDBUser::insert_user" is not in camel caps format |
| error |
33 |
Opening function brace should be on a new line |
| warning |
34 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
49 |
@author tag is not allowed in function comment |
| error |
50 |
Parameters must appear immediately after the comment |
| error |
50 |
Missing comment for param "$user" at position 1 |
| error |
51 |
Missing @return tag in function comment |
| error |
52 |
Method name "ForumDBUser::update_user" is not in camel caps format |
| error |
52 |
Opening function brace should be on a new line |
| warning |
53 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
68 |
@author tag is not allowed in function comment |
| error |
69 |
Parameters must appear immediately after the comment |
| error |
70 |
Last parameter comment requires a blank newline after it |
| error |
70 |
The variable names for parameters $user (1) and $md5 (2) do not align |
| error |
70 |
The comments for parameters $user (1) and $md5 (2) do not align |
| error |
73 |
Method name "ForumDBUser::check_user" is not in camel caps format |
| error |
73 |
Opening function brace should be on a new line |
| error |
74 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
75 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
77 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| Sum |
32 errors and 8 warnings |
| /data/pear/pear/Forum/lib/classes/Forum.php |
| error |
2 |
Missing file doc comment |
| error |
5 |
There must be exactly one blank line before the tags in class comment |
| error |
5 |
The @author tag is in the wrong order; the tag follows @package |
| error |
5 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
7 |
Missing @category tag in class comment |
| error |
7 |
Missing @license tag in class comment |
| error |
7 |
Missing @link tag in class comment |
| error |
8 |
Opening brace of a class must be on the line after the definition. |
| warning |
15 |
@author tag is not allowed in function comment |
| error |
16 |
Missing @return tag in function comment |
| error |
17 |
Opening function brace should be on a new line |
| warning |
19 |
Equals sign not aligned correctly; expected 1 space but found 6 spaces |
| error |
20 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
21 |
No space found after comma in function call |
| warning |
30 |
@author tag is not allowed in function comment |
| error |
31 |
Missing @return tag in function comment |
| error |
32 |
Method name "Forum::get_settings" is not in camel caps format |
| error |
32 |
Opening function brace should be on a new line |
| error |
34 |
No space found after comma in function call |
| warning |
42 |
Line exceeds 85 characters; contains 89 characters |
| warning |
45 |
@author tag is not allowed in function comment |
| error |
46 |
Missing @return tag in function comment |
| error |
47 |
Method name "Forum::get_skin" is not in camel caps format |
| error |
47 |
Opening function brace should be on a new line |
| error |
49 |
No space found after comma in function call |
| warning |
49 |
Line exceeds 85 characters; contains 86 characters |
| error |
51 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
51 |
Line exceeds 85 characters; contains 103 characters |
| error |
56 |
"include_once" is a statement, not a function; no parentheses are required |
| warning |
60 |
Line exceeds 85 characters; contains 87 characters |
| warning |
61 |
Line exceeds 85 characters; contains 86 characters |
| Sum |
22 errors and 9 warnings |
| /data/pear/pear/Forum/lib/classes/ForumIndex.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
3 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
3 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
3 |
File is being conditionally included; use "include_once" instead |
| error |
3 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
8 |
The @author tag is in the wrong order; the tag follows @package |
| error |
8 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
10 |
Missing @category tag in class comment |
| error |
10 |
Missing @license tag in class comment |
| error |
10 |
Missing @link tag in class comment |
| error |
11 |
Opening brace of a class must be on the line after the definition. |
| error |
20 |
Missing function doc comment |
| error |
20 |
Opening function brace should be on a new line |
| error |
25 |
Missing function doc comment |
| error |
25 |
Opening function brace should be on a new line |
| error |
27 |
Line indented incorrectly; expected at least 8 spaces, found 1 |
| error |
27 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
29 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
29 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
29 |
Line indented incorrectly; expected 8 spaces, found 1 |
| error |
30 |
Line indented incorrectly; expected at least 12 spaces, found 5 |
| error |
30 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
31 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
33 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
34 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
34 |
"include" is a statement, not a function; no parentheses are required |
| error |
39 |
You must use "/**" style comments for a function comment |
| error |
39 |
Opening function brace should be on a new line |
| error |
42 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
44 |
No space found after comma in function call |
| error |
47 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
54 |
Missing function doc comment |
| error |
54 |
Method name "ForumIndex::last_post2str" is not in camel caps format |
| error |
54 |
Opening function brace should be on a new line |
| error |
57 |
Expected "if (...) {\n"; found "if(...) { //more than 1 day\n" |
| error |
58 |
No space found after comma in function call |
| error |
60 |
Expected "if (...) {\n"; found "if(...) { //more than 1 hour\n" |
| error |
61 |
No space found after comma in function call |
| error |
63 |
Expected "if (...) {\n"; found "if(...) { // more than 1 minute\n" |
| error |
64 |
No space found after comma in function call |
| error |
66 |
No space found after comma in function call |
| error |
69 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
72 |
No space found after comma in function call |
| error |
72 |
No space found after comma in function call |
| Sum |
45 errors and 0 warnings |
| /data/pear/pear/Forum/lib/classes/ForumList.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
11 |
Opening brace of a class must be on the line after the definition. |
| error |
11 |
Missing class doc comment |
| error |
19 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| warning |
31 |
Line exceeds 85 characters; contains 86 characters |
| error |
33 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
39 |
Missing function doc comment |
| error |
39 |
Line indented incorrectly; expected 4 spaces, found 2 |
| error |
39 |
Opening function brace should be on a new line |
| error |
40 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
43 |
Missing function doc comment |
| error |
43 |
Line indented incorrectly; expected 4 spaces, found 2 |
| error |
43 |
Opening function brace should be on a new line |
| error |
44 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
45 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
47 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
47 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
48 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
51 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
51 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
52 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
53 |
Line indented incorrectly; expected 12 spaces, found 10 |
| error |
54 |
Line indented incorrectly; expected 12 spaces, found 10 |
| error |
55 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
55 |
Line indented incorrectly; expected 16 spaces, found 14 |
| error |
56 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
57 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
58 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
58 |
No space found after comma in function call |
| warning |
58 |
Line exceeds 85 characters; contains 132 characters |
| error |
59 |
Line indented incorrectly; expected 16 spaces, found 14 |
| error |
60 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
61 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
61 |
No space found after comma in function call |
| warning |
61 |
Line exceeds 85 characters; contains 144 characters |
| warning |
61 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
64 |
Line indented incorrectly; expected 12 spaces, found 10 |
| error |
65 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
65 |
Line indented incorrectly; expected 16 spaces, found 14 |
| error |
66 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
67 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
67 |
No space found after comma in function call |
| warning |
67 |
Line exceeds 85 characters; contains 86 characters |
| warning |
67 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
68 |
No space found after comma in function call |
| warning |
68 |
Line exceeds 85 characters; contains 117 characters |
| error |
69 |
Line indented incorrectly; expected 16 spaces, found 14 |
| error |
70 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
71 |
Line indented incorrectly; expected at least 20 spaces, found 18 |
| error |
71 |
No space found after comma in function call |
| warning |
71 |
Line exceeds 85 characters; contains 148 characters |
| warning |
71 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
76 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
77 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
83 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| warning |
86 |
Line exceeds 85 characters; contains 126 characters |
| error |
90 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
91 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
93 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
95 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
96 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
96 |
Line indented incorrectly; expected 8 spaces, found 6 |
| error |
97 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| warning |
97 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
98 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
98 |
No space found after comma in function call |
| error |
99 |
Line indented incorrectly; expected at least 12 spaces, found 10 |
| error |
102 |
Line indented incorrectly; expected at least 8 spaces, found 6 |
| error |
102 |
"include" is a statement, not a function; no parentheses are required |
| error |
106 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
107 |
You must use "/**" style comments for a function comment |
| error |
107 |
Line indented incorrectly; expected 4 spaces, found 2 |
| error |
107 |
Opening function brace should be on a new line |
| error |
108 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
109 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
111 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
111 |
Line indented incorrectly; expected 8 spaces, found 4 |
| error |
112 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
113 |
Line indented incorrectly; expected 8 spaces, found 4 |
| error |
114 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
117 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
117 |
Line indented incorrectly; expected 8 spaces, found 4 |
| error |
118 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
120 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
123 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| warning |
123 |
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space |
| error |
124 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
127 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
127 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
128 |
Expected "foreach (...) {\n"; found "foreach(...){\n" |
| error |
128 |
Line indented incorrectly; expected 8 spaces, found 4 |
| error |
129 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| warning |
129 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
130 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
133 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
135 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| warning |
135 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces |
| error |
136 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| warning |
136 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
137 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
137 |
No space found after comma in function call |
| warning |
137 |
Line exceeds 85 characters; contains 97 characters |
| warning |
137 |
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 0 spaces |
| error |
139 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
140 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
141 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| warning |
141 |
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 0 spaces |
| error |
142 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
142 |
Line indented incorrectly; expected 8 spaces, found 4 |
| error |
143 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| warning |
143 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
146 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
148 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
148 |
Line indented incorrectly; expected 12 spaces, found 6 |
| error |
149 |
Line indented incorrectly; expected at least 16 spaces, found 8 |
| error |
150 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
150 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
151 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
151 |
Line indented incorrectly; expected 20 spaces, found 10 |
| error |
152 |
Line indented incorrectly; expected at least 24 spaces, found 12 |
| error |
153 |
Line indented incorrectly; expected 20 spaces, found 10 |
| error |
154 |
Line indented incorrectly; expected at least 24 spaces, found 12 |
| error |
156 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
157 |
Expected "} elseif (...) {\n"; found "} elseif(...) {\n" |
| error |
157 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
158 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
160 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
161 |
Expected "} elseif (...) {\n"; found "} elseif(...) {\n" |
| error |
161 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
162 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
164 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
165 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
166 |
Line indented incorrectly; expected at least 20 spaces, found 12 |
| error |
168 |
Line indented incorrectly; expected 12 spaces, found 6 |
| error |
169 |
Line indented incorrectly; expected at least 16 spaces, found 8 |
| error |
170 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
170 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
171 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
173 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
174 |
Expected "} elseif (...) {\n"; found "} elseif(...) {\n" |
| error |
174 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
175 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
177 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
178 |
Expected "} elseif (...) {\n"; found "} elseif(...) {\n" |
| error |
178 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
179 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
180 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
181 |
Line indented incorrectly; expected 16 spaces, found 8 |
| error |
182 |
Line indented incorrectly; expected at least 20 spaces, found 10 |
| error |
187 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
188 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
188 |
No space found after comma in function call |
| warning |
188 |
Line exceeds 85 characters; contains 88 characters |
| warning |
188 |
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space |
| error |
190 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| warning |
191 |
Line exceeds 85 characters; contains 212 characters |
| error |
191 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
193 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
193 |
Line indented incorrectly; expected 8 spaces, found 4 |
| error |
194 |
Line indented incorrectly; expected at least 12 spaces, found 6 |
| error |
196 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
196 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| Sum |
141 errors and 22 warnings |
| /data/pear/pear/Forum/lib/classes/ForumPost.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
3 |
"include_once" is a statement, not a function; no parentheses are required |
| error |
9 |
The @author tag is in the wrong order; the tag follows @package |
| error |
9 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
11 |
Missing @category tag in class comment |
| error |
11 |
Missing @license tag in class comment |
| error |
11 |
Missing @link tag in class comment |
| error |
11 |
Content of the @author tag must be in the form "Display Name " |
| error |
12 |
Opening brace of a class must be on the line after the definition. |
| error |
28 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
29 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
31 |
Missing function doc comment |
| error |
31 |
Opening function brace should be on a new line |
| error |
35 |
Missing function doc comment |
| error |
35 |
Opening function brace should be on a new line |
| error |
39 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
43 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
44 |
Line exceeds 85 characters; contains 103 characters |
| error |
48 |
No space found after comma in function call |
| error |
48 |
No space found after comma in function call |
| warning |
48 |
Line exceeds 85 characters; contains 88 characters |
| error |
56 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
59 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
63 |
"include" is a statement, not a function; no parentheses are required |
| error |
66 |
Missing function doc comment |
| error |
66 |
Opening function brace should be on a new line |
| error |
71 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
73 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
74 |
Line exceeds 85 characters; contains 95 characters |
| warning |
74 |
Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space |
| warning |
75 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| warning |
93 |
Line exceeds 85 characters; contains 97 characters |
| Sum |
27 errors and 6 warnings |
| /data/pear/pear/Forum/lib/classes/ForumRead.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
3 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
3 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
3 |
File is being conditionally included; use "include_once" instead |
| error |
3 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
8 |
The @author tag is in the wrong order; the tag follows @package |
| error |
8 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| error |
10 |
Missing @category tag in class comment |
| error |
10 |
Missing @license tag in class comment |
| error |
10 |
Missing @link tag in class comment |
| error |
11 |
Opening brace of a class must be on the line after the definition. |
| error |
17 |
Missing function doc comment |
| error |
17 |
Opening function brace should be on a new line |
| error |
21 |
Missing function doc comment |
| error |
21 |
Opening function brace should be on a new line |
| error |
24 |
No space found after comma in function call |
| warning |
24 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
25 |
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces |
| error |
27 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
28 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 0 spaces |
| warning |
29 |
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces |
| error |
36 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| warning |
37 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces |
| error |
41 |
"include" is a statement, not a function; no parentheses are required |
| error |
44 |
Missing function doc comment |
| error |
44 |
Opening function brace should be on a new line |
| error |
48 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
54 |
Expected "while (...) {\n"; found "while(...) {\n" |
| warning |
60 |
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space |
| error |
66 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
66 |
No space found after comma in function call |
| error |
66 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
68 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| warning |
69 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
72 |
Line indented incorrectly; expected at least 8 spaces, found 0 |
| error |
72 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| warning |
74 |
Line exceeds 85 characters; contains 87 characters |
| warning |
74 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces |
| warning |
75 |
Line exceeds 85 characters; contains 89 characters |
| warning |
75 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
76 |
No space found after comma in function call |
| warning |
76 |
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 0 spaces |
| error |
77 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| Sum |
32 errors and 12 warnings |
| /data/pear/pear/Forum/lib/config.php |
| error |
2 |
You must use "/**" style comments for a file comment |
| warning |
8 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces |
| warning |
9 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces |
| warning |
10 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 5 spaces |
| warning |
11 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces |
| warning |
12 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces |
| warning |
13 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces |
| warning |
14 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces |
| warning |
16 |
Equals sign not aligned correctly; expected 1 space but found 10 spaces |
| warning |
18 |
Equals sign not aligned correctly; expected 1 space but found 9 spaces |
| error |
24 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| warning |
24 |
Equals sign not aligned correctly; expected 1 space but found 13 spaces |
| Sum |
2 errors and 10 warnings |
| /data/pear/pear/Forum/lib/forum.php |
| error |
2 |
Missing file doc comment |
| error |
3 |
"include" is a statement, not a function; no parentheses are required |
| error |
3 |
File is being unconditionally included; use "require" instead |
| error |
5 |
No space found after comma in function call |
| error |
6 |
No space found after comma in function call |
| error |
7 |
No space found after comma in function call |
| error |
8 |
No space found after comma in function call |
| error |
9 |
No space found after comma in function call |
| warning |
11 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
23 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
24 |
No space found after comma in function call |
| error |
25 |
No space found after comma in function call |
| error |
26 |
No space found after comma in function call |
| warning |
28 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
40 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
54 |
Missing function doc comment |
| error |
54 |
Function name "my_var_dump" is prefixed with a package name but does not begin with a captial letter |
| error |
54 |
Opening function brace should be on a new line |
| error |
56 |
Expected "if (...) {\n"; found "if(...) { " |
| error |
56 |
Closing brace must be on a line by itself |
| error |
56 |
No space found after comma in function call |
| warning |
56 |
Line exceeds 85 characters; contains 95 characters |
| error |
67 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
67 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
70 |
Missing function doc comment |
| error |
70 |
Function name "my_print_r" is prefixed with a package name but does not begin with a captial letter |
| error |
70 |
Opening function brace should be on a new line |
| warning |
81 |
@package tag is not allowed in function comment |
| warning |
82 |
@author tag is not allowed in function comment |
| error |
83 |
Last parameter comment requires a blank newline after it |
| error |
83 |
Parameters must appear immediately after the comment |
| error |
86 |
Function name "forum_start" is prefixed with a package name but does not begin with a captial letter |
| error |
86 |
Opening function brace should be on a new line |
| error |
91 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
91 |
File is being conditionally included; use "include_once" instead |
| error |
95 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
95 |
File is being conditionally included; use "include_once" instead |
| error |
99 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
99 |
File is being conditionally included; use "include_once" instead |
| error |
103 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
103 |
File is being conditionally included; use "include_once" instead |
| error |
107 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
107 |
File is being conditionally included; use "include_once" instead |
| error |
111 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
111 |
File is being conditionally included; use "include_once" instead |
| error |
115 |
No space found after comma in function call |
| error |
118 |
No space found after comma in function call |
| error |
123 |
Missing function doc comment |
| error |
123 |
Function name "forum_sort" is prefixed with a package name but does not begin with a captial letter |
| error |
123 |
Opening function brace should be on a new line |
| error |
124 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
125 |
Line exceeds 85 characters; contains 90 characters |
| error |
126 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
129 |
Missing function doc comment |
| error |
129 |
Function name "forum_get_skins" is prefixed with a package name but does not begin with a captial letter |
| error |
129 |
Opening function brace should be on a new line |
| error |
130 |
No space found after comma in function call |
| error |
138 |
Line indented incorrectly; expected 0 spaces, found 1 |
| error |
140 |
"include_once" is a statement, not a function; no parentheses are required |
| error |
144 |
Line indented incorrectly; expected 0 spaces, found 1 |
| error |
145 |
"include_once" is a statement, not a function; no parentheses are required |
| error |
148 |
Line indented incorrectly; expected 0 spaces, found 1 |
| error |
149 |
"include_once" is a statement, not a function; no parentheses are required |
| error |
152 |
Break statement indented incorrectly; expected 5 spaces, found 4 |
| error |
153 |
Line indented incorrectly; expected 0 spaces, found 1 |
| error |
154 |
No space found after comma in function call |
| error |
158 |
"require_once" is a statement, not a function; no parentheses are required |
| error |
161 |
PHP keywords must be lowercase; expected "null" but found "NULL" |
| warning |
166 |
Line exceeds 85 characters; contains 93 characters |
| error |
168 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| warning |
174 |
Line exceeds 85 characters; contains 101 characters |
| error |
179 |
Doc comment var "[ UNKNOWN ]" does not match actual variable name "$array" at position 1 |
| error |
179 |
Missing parameter name at position 1 |
| error |
179 |
Missing comment for param "[ UNKNOWN ]" at position 1 |
| error |
179 |
Doc comment for "$arg" missing |
| warning |
181 |
@author tag is not allowed in function comment |
| error |
182 |
Missing @return tag in function comment |
| error |
183 |
Function name "array_key_intersect" is prefixed with a package name but does not begin with a captial letter |
| error |
183 |
Opening function brace should be on a new line |
| error |
190 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
190 |
Line indented incorrectly; expected 4 spaces, found 8 |
| error |
191 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
191 |
Line indented incorrectly; expected 8 spaces, found 16 |
| Sum |
72 errors and 11 warnings |
| /data/pear/pear/Forum/lib/plugins/glasstags/glasstags.php |
| error |
6 |
Package name "plugins" is not valid; Consider "Plugins" instead. |
| error |
8 |
The @link tag is in the wrong order; the tag follows @version |
| error |
8 |
@link tag comment indented incorrectly. Expected 4 spaces but found 1. |
| error |
9 |
@author tag comment indented incorrectly. Expected 2 spaces but found 1. |
| warning |
10 |
PHP version not specified |
| error |
10 |
Missing @category tag in file comment |
| error |
10 |
Missing @license tag in file comment |
| error |
12 |
Opening brace of a class must be on the line after the definition. |
| error |
12 |
Class name must begin with a captial letter |
| error |
12 |
Class name is not valid; consider Mod_Glasstags instead |
| error |
12 |
Missing class doc comment |
| error |
13 |
Missing function doc comment |
| error |
13 |
Method name "mod_glasstags::read_body" is not in camel caps format |
| error |
13 |
Opening function brace should be on a new line |
| error |
14 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
14 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
15 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
15 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
16 |
Line exceeds 85 characters; contains 97 characters |
| warning |
17 |
Line exceeds 85 characters; contains 90 characters |
| error |
18 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
19 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
19 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
20 |
No space found after comma in function call |
| warning |
20 |
Line exceeds 85 characters; contains 100 characters |
| warning |
21 |
Line exceeds 85 characters; contains 90 characters |
| error |
24 |
You must use "/**" style comments for a function comment |
| error |
24 |
Method name "mod_glasstags::form_footer" is not in camel caps format |
| error |
24 |
Opening function brace should be on a new line |
| warning |
25 |
Line exceeds 85 characters; contains 149 characters |
| Sum |
24 errors and 6 warnings |
| /data/pear/pear/Forum/lib/plugins/plugin.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| warning |
2 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space |
| error |
3 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
5 |
Missing function doc comment |
| error |
5 |
Function name "plugin_register" is prefixed with a package name but does not begin with a captial letter |
| error |
5 |
Opening function brace should be on a new line |
| error |
10 |
Missing function doc comment |
| error |
10 |
Function name "plugin_exec" is prefixed with a package name but does not begin with a captial letter |
| error |
10 |
Opening function brace should be on a new line |
| error |
13 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
13 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
14 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
15 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
24 |
You must use "/**" style comments for a function comment |
| error |
24 |
Function name "plugin_load_hook" is prefixed with a package name but does not begin with a captial letter |
| error |
24 |
Opening function brace should be on a new line |
| error |
25 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
25 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
25 |
Line indented incorrectly; expected 4 spaces, found 1 |
| error |
26 |
Line indented incorrectly; expected at least 8 spaces, found 2 |
| error |
26 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
27 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
30 |
Missing function doc comment |
| error |
30 |
Function name "plugin_load_all" is prefixed with a package name but does not begin with a captial letter |
| error |
30 |
Opening function brace should be on a new line |
| error |
31 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
31 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
32 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
32 |
PHP keywords must be lowercase; expected "true" but found "TRUE" |
| error |
34 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
34 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
35 |
No space found after comma in function call |
| error |
37 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
38 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
43 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
43 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
44 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
45 |
No space found after comma in function call |
| error |
46 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| error |
48 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
48 |
Expected "while (...) {\n"; found "while(...) {\n" |
| error |
48 |
Line indented incorrectly; expected 4 spaces, found 1 |
| error |
49 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
49 |
No space found after comma in function call |
| error |
50 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
51 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
51 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
51 |
Line indented incorrectly; expected 8 spaces, found 2 |
| error |
52 |
Line indented incorrectly; expected at least 12 spaces, found 3 |
| error |
52 |
"include_once" is a statement, not a function; no parentheses are required |
| error |
52 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
53 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
54 |
Spaces must be used to indent lines; tabs are not allowed |
| Sum |
53 errors and 1 warnings |
| /data/pear/pear/Forum/lib/skins/simple/form.tpl.php |
| error |
1 |
Missing file doc comment |
| warning |
16 |
Line exceeds 85 characters; contains 119 characters |
| warning |
18 |
Line exceeds 85 characters; contains 88 characters |
| warning |
26 |
Line exceeds 85 characters; contains 107 characters |
| warning |
28 |
Line exceeds 85 characters; contains 86 characters |
| warning |
35 |
Line exceeds 85 characters; contains 95 characters |
| warning |
44 |
Line exceeds 85 characters; contains 127 characters |
| warning |
47 |
Line exceeds 85 characters; contains 93 characters |
| Sum |
1 errors and 7 warnings |
| /data/pear/pear/Forum/lib/skins/simple/index.tpl.php |
| error |
6 |
Missing file doc comment |
| warning |
8 |
Line exceeds 85 characters; contains 136 characters |
| Sum |
1 errors and 1 warnings |
| /data/pear/pear/Forum/lib/skins/simple/list.tpl.php |
| error |
3 |
Missing file doc comment |
| error |
3 |
No space found after comma in function call |
| error |
3 |
No space found after comma in function call |
| warning |
3 |
Line exceeds 85 characters; contains 239 characters |
| warning |
12 |
Line exceeds 85 characters; contains 315 characters |
| warning |
13 |
Line exceeds 85 characters; contains 118 characters |
| Sum |
3 errors and 3 warnings |
| /data/pear/pear/Forum/lib/skins/simple/read.tpl.php |
| error |
1 |
Missing file doc comment |
| warning |
4 |
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space |
| warning |
5 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| warning |
7 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space |
| error |
12 |
No space found after comma in function call |
| warning |
15 |
Line exceeds 85 characters; contains 214 characters |
| error |
27 |
No space found after comma in function call |
| Sum |
3 errors and 4 warnings |
| /data/pear/pear/Forum/lib/skins/simple/skin.php |
| error |
2 |
Missing file doc comment |
| error |
3 |
Missing function doc comment |
| error |
3 |
Function name "image_format" is prefixed with a package name but does not begin with a captial letter |
| error |
3 |
Opening function brace should be on a new line |
| Sum |
4 errors and 0 warnings |
| /data/pear/pear/Forum/lib/skins/simple/template.php |
| error |
2 |
You must use "/**" style comments for a file comment |
| error |
3 |
Opening brace of a class must be on the line after the definition. |
| error |
3 |
You must use "/**" style comments for a class comment |
| error |
3 |
Class name must begin with a captial letter |
| error |
3 |
Class name is not valid; consider Phorumskin_Simple instead |
| error |
19 |
Missing function doc comment |
| error |
19 |
Method name "phorumskin_simple::format_new" is not in camel caps format |
| error |
19 |
Opening function brace should be on a new line |
| error |
24 |
Missing function doc comment |
| error |
24 |
Method name "phorumskin_simple::format_image" is not in camel caps format |
| error |
24 |
Opening function brace should be on a new line |
| warning |
34 |
Line exceeds 85 characters; contains 87 characters |
| error |
36 |
Expected "foreach (...) {\n"; found "foreach(...) {\n" |
| error |
42 |
Missing function doc comment |
| error |
42 |
Method name "phorumskin_simple::date_format" is not in camel caps format |
| error |
42 |
Opening function brace should be on a new line |
| Sum |
15 errors and 1 warnings |
| /data/pear/pear/Forum/frontend/forum.php |
| error |
2 |
You must use "/**" style comments for a file comment |
| error |
2 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
4 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
7 |
"include" is a statement, not a function; no parentheses are required |
| error |
7 |
File is being unconditionally included; use "require" instead |
| warning |
9 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 0 spaces |
| warning |
10 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 0 spaces |
| warning |
11 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 0 spaces |
| warning |
12 |
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 0 spaces |
| warning |
13 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 0 spaces |
| warning |
14 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| warning |
15 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 0 spaces |
| warning |
16 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces |
| warning |
17 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces |
| error |
20 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
21 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
24 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
25 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
26 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
28 |
No space found after comma in function call |
| error |
28 |
No space found after comma in function call |
| warning |
28 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
36 |
Superfluous doc comment at position 1 |
| error |
37 |
Missing @return tag in function comment |
| error |
38 |
Function name "forum_get_url" is prefixed with a package name but does not begin with a captial letter |
| error |
38 |
Opening function brace should be on a new line |
| error |
41 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
41 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
41 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
42 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
42 |
Spaces must be used to indent lines; tabs are not allowed |
| warning |
42 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
46 |
No space found after comma in function call |
| warning |
46 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| warning |
49 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces |
| error |
50 |
No space found after comma in function call |
| warning |
50 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
53 |
No space found after comma in function call |
| warning |
53 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
56 |
No space found after comma in function call |
| error |
58 |
Line indented incorrectly; expected at least 8 spaces, found 7 |
| error |
60 |
No space found after comma in function call |
| error |
64 |
No space found after comma in function call |
| error |
68 |
No space found after comma in function call |
| warning |
68 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
71 |
No space found after comma in function call |
| warning |
71 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
76 |
No space found after comma in function call |
| Sum |
30 errors and 18 warnings |
| /data/pear/pear/Forum/frontend/index.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
"include" is a statement, not a function; no parentheses are required |
| error |
2 |
File is being unconditionally included; use "require" instead |
| error |
6 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
14 |
"include" is a statement, not a function; no parentheses are required |
| error |
14 |
File is being unconditionally included; use "require" instead |
| error |
16 |
"include" is a statement, not a function; no parentheses are required |
| error |
16 |
File is being unconditionally included; use "require" instead |
| Sum |
8 errors and 0 warnings |
| /data/pear/pear/Forum/frontend/list.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
"include" is a statement, not a function; no parentheses are required |
| error |
2 |
File is being unconditionally included; use "require" instead |
| error |
3 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
12 |
Line exceeds 85 characters; contains 90 characters |
| warning |
15 |
Line exceeds 85 characters; contains 90 characters |
| error |
37 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
38 |
Line indented incorrectly; expected at least 4 spaces, found 1 |
| error |
38 |
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. |
| error |
38 |
Spaces must be used to indent lines; tabs are not allowed |
| error |
44 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
47 |
Expected "if (...) {\n"; found "if(...) {\n" |
| warning |
54 |
Equals sign not aligned correctly; expected 1 space but found 0 spaces |
| error |
57 |
"include" is a statement, not a function; no parentheses are required |
| error |
57 |
File is being unconditionally included; use "require" instead |
| error |
59 |
"include" is a statement, not a function; no parentheses are required |
| error |
59 |
File is being unconditionally included; use "require" instead |
| Sum |
14 errors and 3 warnings |
| /data/pear/pear/Forum/frontend/post.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
"include" is a statement, not a function; no parentheses are required |
| error |
2 |
File is being unconditionally included; use "require" instead |
| warning |
6 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
9 |
Expected "if (...) {\n"; found "if(...) {\n" |
| error |
10 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
10 |
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 0 spaces |
| error |
11 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
11 |
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 0 spaces |
| error |
12 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
12 |
Equals sign not aligned with surrounding assignments; expected 7 spaces but found 0 spaces |
| error |
13 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
13 |
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces |
| error |
14 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
14 |
PHP keywords must be lowercase; expected "false" but found "FALSE" |
| warning |
14 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
16 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
17 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
18 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
18 |
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces |
| error |
19 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| warning |
19 |
Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces |
| error |
21 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
22 |
Expected "if (...) {\n"; found "if(...) { // post() returns array on error.\n" |
| error |
22 |
Line indented incorrectly; expected 4 spaces, found 2 |
| error |
22 |
Expected 1 space before = sign of default value |
| error |
22 |
Expected 1 space after = sign of default value |
| error |
23 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
24 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
24 |
"include" is a statement, not a function; no parentheses are required |
| error |
25 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
26 |
Line indented incorrectly; expected 4 spaces, found 2 |
| error |
27 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
27 |
No space found after comma in function call |
| error |
28 |
Line indented incorrectly; expected at least 8 spaces, found 4 |
| error |
31 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
32 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
32 |
"include" is a statement, not a function; no parentheses are required |
| error |
33 |
Line indented incorrectly; expected at least 4 spaces, found 2 |
| error |
35 |
"include" is a statement, not a function; no parentheses are required |
| error |
35 |
File is being unconditionally included; use "require" instead |
| Sum |
33 errors and 8 warnings |
| /data/pear/pear/Forum/frontend/read.php |
| error |
2 |
Missing file doc comment |
| error |
2 |
"include" is a statement, not a function; no parentheses are required |
| error |
2 |
File is being unconditionally included; use "require" instead |
| warning |
5 |
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space |
| error |
12 |
"include" is a statement, not a function; no parentheses are required |
| error |
12 |
File is being unconditionally included; use "require" instead |
| error |
14 |
"include" is a statement, not a function; no parentheses are required |
| error |
14 |
File is being unconditionally included; use "require" instead |
| Sum |
7 errors and 1 warnings |