Coding Standards Report for HTML_Common2

Type Line Message
Package 113 errors and 6 warnings
/data/pear/pear/HTML_Common2/Common2.php
error 37 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 38 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 39 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @license tag comment indented incorrectly. Expected 2 spaces but found 4.
error 41 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 42 @link tag comment indented incorrectly. Expected 5 spaces but found 7.
error 52 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 53 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 54 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 55 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 56 Missing @license tag in class comment
error 56 Missing @link tag in class comment
error 59 Line indented incorrectly; expected at least 4 spaces, found 3
error 65 Line indented incorrectly; expected at least 4 spaces, found 3
error 73 Line indented incorrectly; expected at least 4 spaces, found 3
error 79 Line indented incorrectly; expected at least 4 spaces, found 3
error 85 Line indented incorrectly; expected at least 4 spaces, found 3
error 102 Line indented incorrectly; expected at least 4 spaces, found 3
error 105 Expected 1 space before variable type
error 105 Doc comment var "Option" does not match actual variable name "$name" at position 1
error 105 Expected 1 space after the longest type
error 106 Expected 1 space before variable type
error 106 Doc comment var "Option" does not match actual variable name "$value" at position 2
error 107 Missing @return tag in function comment
error 117 Line indented incorrectly; expected at least 4 spaces, found 3
error 120 Last parameter comment requires a blank newline after it
error 120 Expected 1 space before variable type
error 120 Doc comment var "Option" does not match actual variable name "$name" at position 1
error 120 Expected 1 space after the longest type
error 128 Line indented incorrectly; expected at least 4 spaces, found 3
error 131 Last parameter comment requires a blank newline after it
error 131 Expected 1 space before variable type
error 131 Doc comment var "HTML" does not match actual variable name "$attrString" at position 1
error 131 Expected 1 space after the longest type
error 137 Space after opening parenthesis of function call prohibited
warning 139 Line exceeds 85 characters; contains 92 characters
error 142 Space before closing parenthesis of function call prohibited
error 160 Line indented incorrectly; expected at least 4 spaces, found 3
error 163 Last parameter comment requires a blank newline after it
error 163 Expected 1 space before variable type
error 163 Doc comment var "Array" does not match actual variable name "$attributes" at position 1
error 163 Expected 1 space after the longest type
warning 175 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
error 185 Line indented incorrectly; expected at least 4 spaces, found 3
error 188 Expected 1 space before variable type
error 188 Doc comment var "Attribute" does not match actual variable name "&$attributes" at position 1
error 189 Expected 1 space before variable type
error 189 The comments for parameters Attribute (1) and Name (2) do not align
error 189 Doc comment var "Name" does not match actual variable name "$name" at position 2
error 189 Expected 1 space after the longest type
error 190 Missing @return tag in function comment
error 196 Line indented incorrectly; expected at least 4 spaces, found 3
error 199 Last parameter comment requires a blank newline after it
error 199 Expected 1 space before variable type
error 199 Doc comment var "Attribute" does not match actual variable name "$attributes" at position 1
error 199 Expected 1 space after the longest type
warning 208 Line exceeds 85 characters; contains 97 characters
error 214 Line indented incorrectly; expected at least 4 spaces, found 3
warning 217 Line exceeds 85 characters; contains 91 characters
error 217 Expected 1 space before variable type
error 217 Doc comment var "Array" does not match actual variable name "$attributes" at position 1
error 217 Expected 1 space after the longest type
error 224 Line indented incorrectly; expected at least 4 spaces, found 3
error 227 Expected 1 space before variable type
error 227 Doc comment var "Attribute" does not match actual variable name "$name" at position 1
error 227 Expected 1 space after the longest type
error 228 Last parameter comment requires a blank newline after it
error 228 Expected 1 space before variable type
error 228 Doc comment var "Attribute" does not match actual variable name "$value" at position 2
error 245 Line indented incorrectly; expected at least 4 spaces, found 3
error 248 Last parameter comment requires a blank newline after it
error 248 Expected 1 space before variable type
error 248 Doc comment var "Attribute" does not match actual variable name "$name" at position 1
error 248 Expected 1 space after the longest type
error 257 Line indented incorrectly; expected at least 4 spaces, found 3
warning 260 Line exceeds 85 characters; contains 91 characters
error 260 Last parameter comment requires a blank newline after it
error 260 Expected 1 space before variable type
error 260 Doc comment var "Array" does not match actual variable name "$attributes" at position 1
error 260 Expected 1 space after the longest type
error 282 Line indented incorrectly; expected at least 4 spaces, found 3
error 285 Last parameter comment requires a blank newline after it
error 285 Expected 1 space before variable type
error 285 Doc comment var "Whether" does not match actual variable name "$asString" at position 1
error 285 Expected 1 space after the longest type
error 297 Line indented incorrectly; expected at least 4 spaces, found 3
warning 300 Line exceeds 85 characters; contains 91 characters
error 300 Last parameter comment requires a blank newline after it
error 300 Expected 1 space before variable type
error 300 Doc comment var "Array" does not match actual variable name "$attributes" at position 1
error 300 Expected 1 space after the longest type
error 316 Line indented incorrectly; expected at least 4 spaces, found 3
error 319 Last parameter comment requires a blank newline after it
error 319 Expected 1 space before variable type
error 319 Doc comment var "Name" does not match actual variable name "$attribute" at position 1
error 319 Expected 1 space after the longest type
error 332 Line indented incorrectly; expected at least 4 spaces, found 3
error 335 Last parameter comment requires a blank newline after it
error 335 Expected 1 space before variable type
error 335 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$level" at position 1
error 335 Missing parameter name at position 1
error 335 Missing comment for param "[ UNKNOWN ]" at position 1
error 347 Line indented incorrectly; expected at least 4 spaces, found 3
error 357 Line indented incorrectly; expected at least 4 spaces, found 3
error 367 Line indented incorrectly; expected at least 4 spaces, found 3
error 370 Last parameter comment requires a blank newline after it
error 370 Expected 1 space before variable type
error 370 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$comment" at position 1
error 370 Missing parameter name at position 1
error 370 Missing comment for param "[ UNKNOWN ]" at position 1
error 379 Line indented incorrectly; expected at least 4 spaces, found 3
error 389 Line indented incorrectly; expected at least 4 spaces, found 3
error 399 Line indented incorrectly; expected at least 4 spaces, found 3
error 409 Expected 1 space before variable type
error 409 Doc comment var "Attribute" does not match actual variable name "$name" at position 1
error 409 Expected 1 space after the longest type
error 410 Expected 1 space before variable type
error 410 Doc comment var "Attribute" does not match actual variable name "$value" at position 2
error 411 Missing @return tag in function comment
Sum 113 errors and 6 warnings