Coding Standards Report for Console_Getargs

Type Line Message
Package 98 errors and 57 warnings
/data/pear/pear/Console_Getargs/Getargs.php
error 2 You must use "/**" style comments for a file comment
warning 47 Line exceeds 85 characters; contains 99 characters
error 104 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 105 The @copyright tag is in the wrong order; the tag follows @author
error 106 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
warning 107 Invalid version "@VER@" in doc comment; consider "Release: " instead
error 107 The @version tag is in the wrong order; the tag follows @licence
error 109 Missing @category tag in class comment
error 109 Missing @link tag in class comment
error 141 @copyright tag must contain a year and the name of the copyright holder
warning 182 Line exceeds 85 characters; contains 135 characters
warning 186 Line exceeds 85 characters; contains 111 characters
warning 188 Line exceeds 85 characters; contains 127 characters
error 205 Expected 1 space before variable type
error 205 Expected 1 space after the longest type
error 207 Last parameter comment requires a blank newline after it
error 207 Expected 1 space before variable type
error 207 Expected 1 space after the longest variable name
error 212 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 270 Line exceeds 85 characters; contains 86 characters
error 276 Parameters must appear immediately after the comment
error 276 Expected 1 space before variable type
error 276 Doc comment var "your" does not match actual variable name "$config" at position 1
error 277 Expected 1 space before variable type
error 277 The comments for parameters your (1) and the (2) do not align
error 277 Doc comment var "the" does not match actual variable name "$helpHeader" at position 2
error 279 Expected 1 space before variable type
error 279 Doc comment var "the" does not match actual variable name "$helpFooter" at position 3
error 281 Expected 1 space before variable type
error 281 The comments for parameters the (3) and help (4) do not align
error 281 Doc comment var "help" does not match actual variable name "$maxlength" at position 4
error 282 Last parameter comment requires a blank newline after it
error 282 Expected 1 space before variable type
error 282 The comments for parameters help (4) and the (5) do not align
error 282 Doc comment var "the" does not match actual variable name "$indent" at position 5
warning 285 Line exceeds 85 characters; contains 97 characters
warning 293 Line exceeds 85 characters; contains 96 characters
warning 302 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 304 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 311 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 337 Line exceeds 85 characters; contains 92 characters
warning 341 Line exceeds 85 characters; contains 95 characters
error 434 Last parameter comment requires a blank newline after it
error 434 Parameters must appear immediately after the comment
error 434 Expected 1 space before variable type
error 434 Doc comment var "The" does not match actual variable name "&$config" at position 1
warning 471 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 479 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 487 Line exceeds 85 characters; contains 123 characters
warning 493 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 496 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 524 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 524 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
error 525 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 526 Missing @category tag in class comment
error 526 Missing @license tag in class comment
error 526 Missing @link tag in class comment
error 567 Last parameter comment requires a blank newline after it
error 567 Doc comment var "configuration" does not match actual variable name "$config" at position 1
error 567 Doc comment for "$arguments" missing
error 567 There must be exactly one blank line before the tags in function comment
error 572 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 580 Line exceeds 85 characters; contains 92 characters
warning 581 Line exceeds 85 characters; contains 111 characters
error 596 There must be exactly one blank line before the tags in function comment
error 602 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 604 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 611 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 614 Line exceeds 85 characters; contains 120 characters
warning 615 Line exceeds 85 characters; contains 124 characters
warning 630 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 638 Line exceeds 85 characters; contains 125 characters
warning 639 Line exceeds 85 characters; contains 128 characters
error 653 There must be exactly one blank line before the tags in function comment
warning 665 Line exceeds 85 characters; contains 87 characters
warning 683 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 686 Line exceeds 85 characters; contains 86 characters
warning 687 Line exceeds 85 characters; contains 86 characters
error 702 Doc comment for "$arg" missing
error 702 Doc comment for "$isLong" missing
error 702 Doc comment for "$pos" missing
error 704 There must be exactly one blank line before the tags in function comment
warning 737 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 745 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 783 Doc comment for "$optname" missing
error 783 Doc comment for "$value" missing
error 783 Doc comment for "$pos" missing
error 785 There must be exactly one blank line before the tags in function comment
warning 796 Line exceeds 85 characters; contains 91 characters
warning 800 Line exceeds 85 characters; contains 99 characters
warning 812 Line exceeds 85 characters; contains 88 characters
warning 813 Line exceeds 85 characters; contains 86 characters
warning 817 Line exceeds 85 characters; contains 88 characters
warning 842 Line exceeds 85 characters; contains 94 characters
warning 849 Line exceeds 85 characters; contains 92 characters
warning 850 Line exceeds 85 characters; contains 90 characters
warning 851 Line exceeds 85 characters; contains 89 characters
warning 863 Line exceeds 85 characters; contains 89 characters
warning 864 Line exceeds 85 characters; contains 95 characters
warning 868 Line exceeds 85 characters; contains 88 characters
warning 869 Line exceeds 85 characters; contains 89 characters
warning 870 Line exceeds 85 characters; contains 95 characters
warning 897 Line exceeds 85 characters; contains 91 characters
warning 910 Line exceeds 85 characters; contains 123 characters
warning 911 Line exceeds 85 characters; contains 86 characters
warning 916 Line exceeds 85 characters; contains 106 characters
warning 918 Line exceeds 85 characters; contains 89 characters
warning 922 Line exceeds 85 characters; contains 100 characters
warning 923 Line exceeds 85 characters; contains 90 characters
warning 924 Line exceeds 85 characters; contains 89 characters
error 933 Doc comment for "$arg" missing
error 935 There must be exactly one blank line before the tags in function comment
error 948 Doc comment for "$optname" missing
error 948 Doc comment for "$value" missing
error 953 There must be exactly one blank line before the tags in function comment
warning 963 Line exceeds 85 characters; contains 89 characters
warning 964 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 965 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 976 There must be exactly one blank line before the tags in function comment
error 985 Spaces must be used to indent lines; tabs are not allowed
error 986 Spaces must be used to indent lines; tabs are not allowed
error 987 Spaces must be used to indent lines; tabs are not allowed
error 1002 Last parameter comment requires a blank newline after it
error 1002 Parameters must appear immediately after the comment
error 1002 Expected 1 space before variable type
error 1002 Doc comment var "the" does not match actual variable name "$optname" at position 1
error 1022 Last parameter comment requires a blank newline after it
error 1022 Parameters must appear immediately after the comment
error 1022 Expected 1 space before variable type
error 1022 Doc comment var "the" does not match actual variable name "$optname" at position 1
error 1049 Last parameter comment requires a blank newline after it
error 1049 Parameters must appear immediately after the comment
error 1049 Expected 1 space before variable type
error 1049 Doc comment var "the" does not match actual variable name "$optname" at position 1
error 1071 Last parameter comment requires a blank newline after it
error 1071 Parameters must appear immediately after the comment
error 1071 Expected 1 space before variable type
error 1071 Doc comment var "option" does not match actual variable name "$optionNames" at position 1
error 1071 Expected 1 space after the longest type
error 1077 Line indented incorrectly; expected 8 spaces, found 12
error 1079 Line indented incorrectly; expected 12 spaces, found 16
error 1080 Spaces must be used to indent lines; tabs are not allowed
error 1080 Line indented incorrectly; expected 16 spaces, found 17
error 1081 Line indented incorrectly; expected at least 20 spaces, found 18
error 1081 Spaces must be used to indent lines; tabs are not allowed
error 1082 Spaces must be used to indent lines; tabs are not allowed
error 1084 Line indented incorrectly; expected 12 spaces, found 16
error 1085 Spaces must be used to indent lines; tabs are not allowed
error 1088 Line indented incorrectly; expected 8 spaces, found 12
error 1089 Line indented incorrectly; expected 8 spaces, found 12
error 1091 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1091 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1091 Closing brace indented incorrectly; expected 12 spaces, found 8
error 1094 Missing function doc comment
error 1104 Space before closing parenthesis of function call prohibited
Sum 98 errors and 57 warnings