Coding Standards Report for Auth_HTTP

Type Line Message
Package 121 errors and 29 warnings
/data/pear/pear/Auth_HTTP/Auth_HTTP.php
error 2 You must use "/**" style comments for a file comment
error 47 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 52 Invalid version "$Revision: 1.30 $" in doc comment; consider "Release: " instead
error 53 Missing @category tag in class comment
error 53 Missing @license tag in class comment
error 53 Missing @link tag in class comment
error 166 Doc comment var "Type" does not match actual variable name "$storageDriver" at position 1
error 166 Expected 1 space after the longest type
error 167 The comments for parameters Type (1) and Additional (2) do not align
error 167 Doc comment var "Additional" does not match actual variable name "$options" at position 2
error 186 Spaces must be used to indent lines; tabs are not allowed
error 190 Spaces must be used to indent lines; tabs are not allowed
error 192 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 193 Space after opening parenthesis of function call prohibited
error 197 Spaces must be used to indent lines; tabs are not allowed
error 202 Spaces must be used to indent lines; tabs are not allowed
error 203 Line indented incorrectly; expected at least 8 spaces, found 2
error 203 Spaces must be used to indent lines; tabs are not allowed
error 204 Closing brace indented incorrectly; expected 4 spaces, found 1
error 204 Spaces must be used to indent lines; tabs are not allowed
error 205 Spaces must be used to indent lines; tabs are not allowed
error 206 Line indented incorrectly; expected at least 4 spaces, found 1
error 206 Spaces must be used to indent lines; tabs are not allowed
error 236 Expected "if (...) {\n"; found "if (...) {\n"
warning 239 Line exceeds 85 characters; contains 100 characters
warning 249 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 252 Expected "if (...) {\n"; found "if(...) {\n"
warning 252 Line exceeds 85 characters; contains 91 characters
error 254 No space found after comma in function call
warning 254 Line exceeds 85 characters; contains 91 characters
error 258 Expected "if (...) {\n"; found "if(...) {\n"
warning 260 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 261 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 263 Expected "if (...) {\n"; found "if(...) {\n"
error 263 No space found after comma in function call
error 264 No space found after comma in function call
error 264 No space found after comma in function call
error 264 No space found after comma in function call
error 265 No space found after comma in function call
error 265 No space found after comma in function call
error 266 Expected "if (...) {\n"; found "if(...) {\n"
error 266 No space found after comma in function call
error 266 No space found after comma in function call
error 266 No space found after comma in function call
error 266 No space found after comma in function call
error 267 No space found after comma in function call
error 267 No space found after comma in function call
error 279 No space found after comma in function call
error 279 No space found after comma in function call
error 283 Expected "if (...) {\n"; found "if (...){\n"
error 289 Line indented incorrectly; expected 20 spaces, found 15
error 295 Line indented incorrectly; expected 20 spaces, found 15
error 296 Line indented incorrectly; expected at least 24 spaces, found 18
warning 299 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 300 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 303 Line indented incorrectly; expected at least 20 spaces, found 15
warning 303 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 304 Line indented incorrectly; expected at least 20 spaces, found 15
warning 304 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 305 Line indented incorrectly; expected at least 20 spaces, found 15
error 311 No space found after comma in function call
error 311 No space found after comma in function call
warning 316 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
error 318 No space found after comma in function call
error 318 No space found after comma in function call
warning 318 Line exceeds 85 characters; contains 88 characters
warning 319 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 320 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 363 Line exceeds 85 characters; contains 91 characters
warning 382 Line exceeds 85 characters; contains 100 characters
warning 394 Line exceeds 85 characters; contains 94 characters
error 411 No space found after comma in function call
error 418 No space found after comma in function call
error 435 Line indented incorrectly; expected 8 spaces, found 6
error 437 Line indented incorrectly; expected at least 12 spaces, found 9
error 447 Last parameter comment requires a blank newline after it
error 447 Expected 1 space before variable type
error 447 Expected 1 space after the longest variable name
warning 462 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 500 Parameters must appear immediately after the comment
error 500 Expected 1 space before variable type
error 500 Expected 1 space after the longest variable name
error 501 Last parameter comment requires a blank newline after it
error 501 Expected 1 space before variable type
error 501 The comments for parameters $realm (1) and $digestRealm (2) do not align
error 519 Last parameter comment requires a blank newline after it
error 519 Parameters must appear immediately after the comment
error 519 Expected 1 space before variable type
error 519 Expected 1 space after the longest variable name
error 534 Parameters must appear immediately after the comment
error 534 Expected 1 space before variable type
error 535 Last parameter comment requires a blank newline after it
error 535 Expected 1 space before variable type
error 535 The comments for parameters $response (1) and $a1 (2) do not align
error 545 Expected "if (...) {\n"; found "if(...) {\n"
error 546 Expected "if (...) {\n"; found "if(...) {\n"
error 549 Expected "} else if (...) {\n"; found "} else if(...) {\n"
error 549 Expected "if (...) {\n"; found "if(...) {\n"
error 557 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 558 Inline control structures are discouraged
warning 559 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 566 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 567 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 575 Expected "if (...) {\n"; found "if(...) {\n"
error 576 Expected "if (...) {\n"; found "if(...) { // password is valid\n"
error 577 Expected "if (...) {\n"; found "if(...) {\n"
error 595 Last parameter comment requires a blank newline after it
error 595 Parameters must appear immediately after the comment
error 595 Expected 1 space before variable type
error 595 Expected 1 space after the longest variable name
error 602 Expected "if (...) {\n"; found "if(...) {\n"
error 603 Line indented incorrectly; expected at least 12 spaces, found 9
error 604 Line indented incorrectly; expected at least 12 spaces, found 9
warning 604 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 609 Line indented incorrectly; expected at least 12 spaces, found 9
warning 610 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 612 Line indented incorrectly; expected at least 12 spaces, found 9
error 613 Closing brace indented incorrectly; expected 8 spaces, found 6
error 625 Parameters must appear immediately after the comment
error 625 Expected 1 space before variable type
error 626 Expected 1 space before variable type
error 626 The comments for parameters $nonce (1) and $time (2) do not align
error 626 Doc comment var "$time" does not match actual variable name "&$time" at position 2
error 627 Last parameter comment requires a blank newline after it
error 627 Expected 1 space before variable type
error 627 Doc comment var "$hash" does not match actual variable name "&$hash" at position 3
warning 640 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 641 Line exceeds 85 characters; contains 87 characters
warning 643 Line exceeds 85 characters; contains 91 characters
warning 668 Line exceeds 85 characters; contains 91 characters
error 682 Parameters must appear immediately after the comment
error 682 Doc comment var "MD5" does not match actual variable name "$contentMD5" at position 1
error 683 Missing @return tag in function comment
error 684 Opening brace should be on a new line
error 686 Expected "if (...) {\n"; found "if(...) {\n"
error 691 Expected "if (...) {\n"; found "if(...) {\n"
warning 694 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 704 Expected "if (...) {\n"; found "if(...) {\n"
error 720 Parameters must appear immediately after the comment
error 721 Last parameter comment requires a blank newline after it
error 721 The comments for parameters $name (1) and $value (2) do not align
error 727 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 728 Space after opening parenthesis of function call prohibited
error 733 Space after opening parenthesis of function call prohibited
error 745 Last parameter comment requires a blank newline after it
error 745 Parameters must appear immediately after the comment
error 750 Space after opening parenthesis of function call prohibited
error 776 No space found after comma in function call
error 778 No space found after comma in function call
error 778 No space found after comma in function call
Sum 121 errors and 29 warnings