Coding Standards Report for HTTP_Server

Type Line Message
Package 141 errors and 20 warnings
/data/pear/pear/HTTP_Server/Server/Request.php
error 2 You must use "/**" style comments for a file comment
error 26 @author tag comment indented incorrectly. Expected 1 spaces but found 2.
error 27 Missing @category tag in class comment
error 27 Missing @package tag in class comment
error 27 Missing @license tag in class comment
error 27 Missing @link tag in class comment
error 28 Opening brace of a class must be on the line after the definition
error 30 Line indented incorrectly; expected at least 4 spaces, found 3
error 38 Line indented incorrectly; expected at least 4 spaces, found 3
error 46 Line indented incorrectly; expected at least 4 spaces, found 3
error 54 Line indented incorrectly; expected at least 4 spaces, found 3
error 62 Line indented incorrectly; expected at least 4 spaces, found 3
error 70 Line indented incorrectly; expected at least 4 spaces, found 3
warning 76 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 83 Equals sign not aligned correctly; expected 1 space but found 4 spaces
error 85 Line indented incorrectly; expected at least 4 spaces, found 3
error 90 Last parameter comment requires a blank newline after it
error 90 Parameters must appear immediately after the comment
error 90 Expected 1 space before variable type
error 90 Expected 1 space after the longest type
error 90 Expected 1 space after the longest variable name
error 96 Space before opening parenthesis of function call prohibited
warning 119 Line exceeds 85 characters; contains 90 characters
warning 128 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 130 Equals sign not aligned correctly; expected 1 space but found 4 spaces
error 142 Line indented incorrectly; expected at least 4 spaces, found 3
error 153 Line indented incorrectly; expected at least 4 spaces, found 3
error 164 Line indented incorrectly; expected at least 4 spaces, found 3
error 168 Last parameter comment requires a blank newline after it
error 168 Parameters must appear immediately after the comment
error 168 Expected 1 space before variable type
error 168 Expected 1 space after the longest type
error 168 Expected 1 space after the longest variable name
error 184 Line indented incorrectly; expected at least 4 spaces, found 3
error 191 Missing @return tag in function comment
warning 196 Line exceeds 85 characters; contains 86 characters
error 201 Space after opening parenthesis of function call prohibited
error 202 Space after opening parenthesis of function call prohibited
Sum 32 errors and 6 warnings
/data/pear/pear/HTTP_Server/Server.php
error 2 You must use "/**" style comments for a file comment
error 46 Expected "if (...) {\n"; found "if(...) {\n"
error 47 Space after opening parenthesis of function call prohibited
error 47 Space before closing parenthesis of function call prohibited
warning 83 Invalid version "0.4.0" in doc comment; consider "Release: " instead
error 83 The @version tag is in the wrong order; the tag follows @licence
error 85 Missing @category tag in class comment
error 85 Missing @package tag in class comment
error 85 Missing @license tag in class comment
error 85 Missing @link tag in class comment
error 88 Line indented incorrectly; expected at least 4 spaces, found 3
error 94 Line indented incorrectly; expected at least 4 spaces, found 3
error 146 Line indented incorrectly; expected at least 4 spaces, found 3
error 155 Line indented incorrectly; expected at least 4 spaces, found 3
error 156 Line indented incorrectly; expected at least 4 spaces, found 1
error 157 Line indented incorrectly; expected at least 4 spaces, found 1
error 158 Line indented incorrectly; expected at least 4 spaces, found 1
error 159 Parameters must appear immediately after the comment
error 159 Expected 1 space before variable type
error 159 Doc comment var "hostname" does not match actual variable name "$hostname" at position 1
error 159 Missing comment for param "hostname" at position 1
error 160 Expected 1 space before variable type
error 160 The comments for parameters hostname (1) and port (2) do not align
error 160 Doc comment var "port" does not match actual variable name "$port" at position 2
error 160 Missing comment for param "port" at position 2
error 160 Expected 1 space after the longest type
error 161 Expected 1 space before variable type
error 161 The comments for parameters port (2) and driver, (3) do not align
error 161 Doc comment var "driver," does not match actual variable name "$driver" at position 3
error 162 Line indented incorrectly; expected at least 4 spaces, found 1
error 165 Space after opening parenthesis of function call prohibited
error 165 Space before closing parenthesis of function call prohibited
error 168 Line indented incorrectly; expected at least 4 spaces, found 3
error 169 Line indented incorrectly; expected at least 4 spaces, found 1
error 170 Line indented incorrectly; expected at least 4 spaces, found 1
error 171 Line indented incorrectly; expected at least 4 spaces, found 1
error 172 Parameters must appear immediately after the comment
error 172 Expected 1 space before variable type
error 172 Doc comment var "hostname" does not match actual variable name "$hostname" at position 1
error 172 Missing comment for param "hostname" at position 1
error 173 Expected 1 space before variable type
error 173 The comments for parameters hostname (1) and port (2) do not align
error 173 Doc comment var "port" does not match actual variable name "$port" at position 2
error 173 Missing comment for param "port" at position 2
error 173 Expected 1 space after the longest type
error 174 Expected 1 space before variable type
error 174 The comments for parameters port (2) and driver, (3) do not align
error 174 Doc comment var "driver," does not match actual variable name "$driver" at position 3
error 175 Line indented incorrectly; expected at least 4 spaces, found 1
warning 178 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 179 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
error 184 Line indented incorrectly; expected at least 4 spaces, found 3
error 188 Missing @return tag in function comment
error 194 Line indented incorrectly; expected at least 4 spaces, found 3
error 197 Expected 1 space before variable type
error 197 Expected 1 space after the longest type
error 197 Expected 1 space after the longest variable name
error 198 Expected 1 space before variable type
error 199 Missing @return tag in function comment
error 216 Line indented incorrectly; expected at least 4 spaces, found 3
error 220 Parameters must appear immediately after the comment
error 220 Expected 1 space before variable type
error 220 Doc comment var "$headers" does not match actual variable name "$clientId" at position 1
error 220 Expected 1 space after the longest variable name
error 220 Doc comment for "$request" missing
error 221 Missing @return tag in function comment
error 236 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 242 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 249 Line indented incorrectly; expected at least 4 spaces, found 3
error 253 Parameters must appear immediately after the comment
error 253 Expected 1 space before variable type
error 253 Doc comment var "client" does not match actual variable name "$clientId" at position 1
error 254 Last parameter comment requires a blank newline after it
error 254 Expected 1 space before variable type
error 254 The comments for parameters client (1) and response (2) do not align
error 254 Doc comment var "response" does not match actual variable name "$response" at position 2
error 254 Missing comment for param "response" at position 2
error 254 Expected 1 space after the longest type
warning 268 Line exceeds 85 characters; contains 124 characters
warning 276 Line exceeds 85 characters; contains 97 characters
error 290 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 291 Line exceeds 85 characters; contains 92 characters
error 301 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 312 Line indented incorrectly; expected at least 4 spaces, found 3
error 326 Parameters must appear immediately after the comment
error 326 Expected 1 space before variable type
error 326 Expected 1 space after the longest variable name
error 327 Last parameter comment requires a blank newline after it
error 327 Expected 1 space before variable type
warning 328 Line exceeds 85 characters; contains 107 characters
error 331 Method name "HTTP_Server::GET" is not in camel caps format
error 335 Line indented incorrectly; expected at least 4 spaces, found 3
error 349 Parameters must appear immediately after the comment
error 349 Expected 1 space before variable type
error 349 Expected 1 space after the longest variable name
error 350 Last parameter comment requires a blank newline after it
error 350 Expected 1 space before variable type
warning 351 Line exceeds 85 characters; contains 107 characters
error 354 Method name "HTTP_Server::POST" is not in camel caps format
error 358 Line indented incorrectly; expected at least 4 spaces, found 3
error 375 Parameters must appear immediately after the comment
error 375 Expected 1 space before variable type
error 375 Doc comment var "client" does not match actual variable name "$clientId" at position 1
error 375 Expected 1 space after the longest type
error 376 Expected 1 space before variable type
error 376 The comments for parameters client (1) and request (2) do not align
error 376 Doc comment var "request" does not match actual variable name "$data" at position 2
error 377 Missing @return tag in function comment
error 385 Line indented incorrectly; expected at least 4 spaces, found 3
error 389 Last parameter comment requires a blank newline after it
error 389 Parameters must appear immediately after the comment
Sum 102 errors and 9 warnings
/data/pear/pear/HTTP_Server/package.php
error 8 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 8 @author tag comment indented incorrectly. Expected 5 spaces but found 6.
error 9 @package tag comment indented incorrectly. Expected 4 spaces but found 5.
error 10 @subpackage tag comment indented incorrectly. Expected 1 spaces but found 2.
warning 11 PHP version not specified
error 11 Missing @category tag in file comment
error 11 Missing @license tag in file comment
error 11 Missing @link tag in file comment
warning 44 Line exceeds 85 characters; contains 90 characters
warning 45 Line exceeds 85 characters; contains 89 characters
warning 76 Line exceeds 85 characters; contains 87 characters
warning 83 Line exceeds 85 characters; contains 92 characters
Sum 7 errors and 5 warnings