Coding Standards Report for HTML_Page

Type Line Message
Package 149 errors and 84 warnings
/data/pear/pear/HTML_Page/Page/Doctypes.php
error 2 You must use "/**" style comments for a file comment
warning 31 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 32 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 35 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 42 Line exceeds 85 characters; contains 87 characters
warning 43 Line exceeds 85 characters; contains 99 characters
warning 47 Line exceeds 85 characters; contains 99 characters
warning 48 Line exceeds 85 characters; contains 111 characters
warning 52 Line exceeds 85 characters; contains 91 characters
warning 53 Line exceeds 85 characters; contains 103 characters
warning 64 Line exceeds 85 characters; contains 98 characters
warning 73 Line exceeds 85 characters; contains 91 characters
warning 74 Line exceeds 85 characters; contains 90 characters
warning 77 Line exceeds 85 characters; contains 110 characters
warning 78 Line exceeds 85 characters; contains 95 characters
warning 81 Line exceeds 85 characters; contains 102 characters
warning 82 Line exceeds 85 characters; contains 94 characters
warning 85 Line exceeds 85 characters; contains 89 characters
warning 86 Line exceeds 85 characters; contains 94 characters
warning 89 Line exceeds 85 characters; contains 108 characters
warning 90 Line exceeds 85 characters; contains 99 characters
warning 93 Line exceeds 85 characters; contains 100 characters
warning 94 Line exceeds 85 characters; contains 98 characters
warning 96 Line exceeds 85 characters; contains 90 characters
warning 103 Line exceeds 85 characters; contains 86 characters
Sum 1 errors and 24 warnings
/data/pear/pear/HTML_Page/Page/Namespaces.php
error 2 You must use "/**" style comments for a file comment
warning 29 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 31 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 32 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
Sum 1 errors and 3 warnings
/data/pear/pear/HTML_Page/Page.php
error 2 You must use "/**" style comments for a file comment
warning 60 Line exceeds 85 characters; contains 98 characters
error 150 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 150 @author tag comment indented incorrectly. Expected 2 spaces but found 7.
error 151 @author tag comment indented incorrectly. Expected 2 spaces but found 7.
error 152 @package tag comment indented incorrectly. Expected 1 spaces but found 6.
warning 153 Invalid version "2.0" in doc comment; consider "Release: " instead
error 153 @version tag comment indented incorrectly. Expected 1 spaces but found 6.
error 154 @since tag comment indented incorrectly. Expected 3 spaces but found 8.
error 155 Missing @category tag in class comment
error 155 Missing @license tag in class comment
error 155 Missing @link tag in class comment
error 156 Opening brace of a class must be on the line after the definition
warning 188 Line exceeds 85 characters; contains 86 characters
warning 204 Line exceeds 85 characters; contains 86 characters
warning 294 Line exceeds 85 characters; contains 95 characters
warning 296 Line exceeds 85 characters; contains 91 characters
warning 297 Line exceeds 85 characters; contains 113 characters
warning 298 Line exceeds 85 characters; contains 101 characters
error 300 Last parameter comment requires a blank newline after it
error 300 Expected 1 space before variable type
error 300 Expected 1 space after the longest type
error 300 Expected 1 space after the longest variable name
error 319 Expected "if (...) {\n"; found "if (...){\n"
error 357 Last parameter comment requires a blank newline after it
error 357 Parameters must appear immediately after the comment
error 357 Expected 1 space before variable type
error 357 Doc comment var "$element" does not match actual variable name "&$element" at position 1
error 357 Expected 1 space after the longest type
error 357 Expected 1 space after the longest variable name
warning 362 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 363 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 365 Line indented incorrectly; expected 8 spaces, found 12
error 366 Line indented incorrectly; expected 12 spaces, found 16
error 371 Line indented incorrectly; expected 12 spaces, found 16
error 372 Line indented incorrectly; expected 16 spaces, found 20
warning 373 Line exceeds 85 characters; contains 87 characters
error 374 Line indented incorrectly; expected 16 spaces, found 20
warning 375 Line exceeds 85 characters; contains 89 characters
error 377 Line indented incorrectly; expected 12 spaces, found 16
error 380 Line indented incorrectly; expected 8 spaces, found 12
error 381 Line indented incorrectly; expected 12 spaces, found 31
warning 382 Line exceeds 85 characters; contains 88 characters
error 384 Line indented incorrectly; expected 8 spaces, found 12
warning 401 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 433 Expected "if (...) {\n"; found "if (...){\n"
warning 441 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 443 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 449 Line exceeds 85 characters; contains 108 characters
warning 451 Line exceeds 85 characters; contains 102 characters
warning 469 Line exceeds 85 characters; contains 104 characters
error 470 Expected "if (...) {\n"; found "if (...){\n"
warning 489 Line exceeds 85 characters; contains 98 characters
error 500 No space found after comma in function call
warning 500 Line exceeds 85 characters; contains 104 characters
warning 519 Line exceeds 85 characters; contains 94 characters
warning 535 Line exceeds 85 characters; contains 98 characters
error 546 No space found after comma in function call
warning 546 Line exceeds 85 characters; contains 105 characters
error 578 "require" is a statement, not a function; no parentheses are required
error 578 File is being conditionally included; use "include" instead
warning 607 Line exceeds 85 characters; contains 95 characters
warning 608 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 612 Expected "if (...) {\n"; found "if (...){\n"
warning 614 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 618 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 624 No space found after comma in function call
warning 624 Line exceeds 85 characters; contains 114 characters
error 640 "require" is a statement, not a function; no parentheses are required
error 640 File is being conditionally included; use "include" instead
error 656 Expected "if (...) {\n"; found "if (...){\n"
warning 657 Line exceeds 85 characters; contains 121 characters
warning 659 Line exceeds 85 characters; contains 108 characters
warning 661 Line exceeds 85 characters; contains 88 characters
warning 665 Line exceeds 85 characters; contains 102 characters
warning 667 Line exceeds 85 characters; contains 88 characters
error 692 Last parameter comment requires a blank newline after it
error 692 Expected 1 space before variable type
error 692 Expected 1 space after the longest type
error 692 Expected 1 space after the longest variable name
error 698 No space found after comma in function call
warning 698 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 701 Expected "if (...) {\n"; found "if (...){\n"
warning 702 Line exceeds 85 characters; contains 88 characters
error 703 Expected "} elseif (...) {\n"; found "} elseif (...){\n"
warning 720 Line exceeds 85 characters; contains 89 characters
error 720 Expected 1 space after the longest variable name
warning 721 Line exceeds 85 characters; contains 90 characters
error 721 Last parameter comment requires a blank newline after it
error 723 Missing @return tag in function comment
warning 736 Line exceeds 85 characters; contains 98 characters
warning 743 Line exceeds 85 characters; contains 89 characters
error 743 Last parameter comment requires a blank newline after it
error 743 Expected 1 space after the longest variable name
error 745 Missing @return tag in function comment
error 754 Expected 1 space before variable type
error 754 Expected 1 space after the longest type
error 755 Last parameter comment requires a blank newline after it
error 755 Expected 1 space before variable type
error 755 Expected 1 space after the longest variable name
error 757 Missing @return tag in function comment
error 769 Parameters must appear immediately after the comment
error 769 Expected 1 space before variable type
error 769 Expected 1 space after the longest variable name
error 770 Last parameter comment requires a blank newline after it
error 770 Expected 1 space before variable type
error 770 Expected 1 space after the longest type
error 781 Expected 1 space before variable type
error 781 Expected 1 space after the longest type
error 782 Expected 1 space before variable type
error 783 Last parameter comment requires a blank newline after it
error 783 Expected 1 space before variable type
error 783 Expected 1 space after the longest variable name
error 799 Parameters must appear immediately after the comment
error 799 Expected 1 space before variable type
error 799 Expected 1 space after the longest variable name
error 800 Last parameter comment requires a blank newline after it
error 800 Expected 1 space before variable type
error 800 Expected 1 space after the longest type
error 815 Parameters must appear immediately after the comment
error 815 Expected 1 space before variable type
error 815 Expected 1 space after the longest type
error 816 Expected 1 space before variable type
error 817 Last parameter comment requires a blank newline after it
error 817 Expected 1 space before variable type
error 817 Expected 1 space after the longest variable name
error 820 Opening brace should be on a new line
error 831 Parameters must appear immediately after the comment
error 831 Expected 1 space before variable type
error 831 Expected 1 space after the longest type
error 832 Expected 1 space before variable type
warning 833 Line exceeds 85 characters; contains 98 characters
error 833 Expected 1 space before variable type
error 834 Last parameter comment requires a blank newline after it
error 834 Expected 1 space before variable type
error 837 Opening brace should be on a new line
warning 838 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 839 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 840 Line exceeds 85 characters; contains 86 characters
warning 840 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 896 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 923 Expected "if (...) {\n"; found "if (...){\n"
warning 940 Line exceeds 85 characters; contains 107 characters
error 940 Last parameter comment requires a blank newline after it
error 942 Missing @return tag in function comment
error 953 Missing @return tag in function comment
error 963 Last parameter comment requires a blank newline after it
error 963 Expected 1 space before variable type
error 963 Expected 1 space after the longest type
error 963 Expected 1 space after the longest variable name
error 965 Missing @return tag in function comment
warning 974 Line exceeds 85 characters; contains 89 characters
error 974 Last parameter comment requires a blank newline after it
error 976 Missing @return tag in function comment
error 979 Expected "if (...) {\n"; found "if (...){\n"
warning 989 Line exceeds 85 characters; contains 89 characters
error 989 Last parameter comment requires a blank newline after it
error 989 Doc comment var "$cache" does not match actual variable name "$type" at position 1
warning 1004 Line exceeds 85 characters; contains 100 characters
error 1004 Last parameter comment requires a blank newline after it
error 1004 Expected 1 space after the longest variable name
error 1017 Parameters must appear immediately after the comment
error 1018 Missing @return tag in function comment
error 1027 Expected 1 space after the longest type
error 1028 Expected 1 space after the longest variable name
error 1029 Last parameter comment requires a blank newline after it
error 1029 The comments for parameters $content (2) and $http_equiv (3) do not align
error 1049 Expected 1 space after the longest type
error 1049 Expected 1 space after the longest variable name
error 1050 Last parameter comment requires a blank newline after it
error 1050 The comments for parameters $name (1) and $http_equiv (2) do not align
error 1071 Space before closing parenthesis of function call prohibited
error 1071 Space found before comma in function call
warning 1071 Line exceeds 85 characters; contains 98 characters
error 1079 Expected 1 space after the longest type
warning 1081 Line exceeds 85 characters; contains 98 characters
error 1081 Last parameter comment requires a blank newline after it
error 1081 Expected 1 space after the longest variable name
error 1101 Last parameter comment requires a blank newline after it
error 1101 Expected 1 space before variable type
error 1101 Missing comment for param "$type" at position 1
error 1113 Last parameter comment requires a blank newline after it
error 1113 Expected 1 space before variable type
error 1113 Expected 1 space after the longest type
error 1113 Expected 1 space after the longest variable name
error 1119 Expected "if (...) {\n"; found "if (...){\n"
error 1129 Last parameter comment requires a blank newline after it
error 1129 Expected 1 space before variable type
error 1129 Missing comment for param "$title" at position 1
error 1161 Expected "if (...) {\n"; found "if (...){\n"
warning 1165 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1166 Line exceeds 85 characters; contains 112 characters
error 1169 Expected "if (...) {\n"; found "if (...){\n"
warning 1170 Line exceeds 85 characters; contains 107 characters
warning 1170 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 1186 Doc comment for "$filename" missing
error 1195 Expected "if (...) {\n"; found "if (...){\n"
error 1198 No space found after comma in function call
error 1202 Expected "if (...) {\n"; found "if (...){\n"
error 1203 No space found after comma in function call
error 1203 No space found after comma in function call
warning 1203 Line exceeds 85 characters; contains 109 characters
error 1212 Missing @return tag in function comment
error 1215 Expected "if (...) {\n"; found "if(...) {\n"
Sum 147 errors and 57 warnings