Coding Standards Report for HTML_Common

Type Line Message
Package 108 errors and 10 warnings
/data/pear/pear/HTML_Common/Common.php
error 15 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 16 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 17 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 18 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 19 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 20 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 21 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 27 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 28 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 29 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 30 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 32 Missing @license tag in class comment
error 32 Missing @link tag in class comment
error 75 Expected 1 space before variable type
error 75 Expected 1 space after the longest type
error 75 Expected 1 space after the longest variable name
error 75 There must be exactly one blank line before the tags in function comment
error 77 Last parameter comment requires a blank newline after it
error 77 Expected 1 space before variable type
error 88 There must be exactly one blank line before the tags in function comment
error 90 Missing @return tag in function comment
error 133 Last parameter comment requires a blank newline after it
error 133 Expected 1 space before variable type
error 133 Missing comment for param "$attributes" at position 1
error 133 There must be exactly one blank line before the tags in function comment
warning 144 Line exceeds 85 characters; contains 101 characters
warning 152 Line exceeds 85 characters; contains 103 characters
error 152 Last parameter comment requires a blank newline after it
error 152 Expected 1 space before variable type
error 152 Expected 1 space after the longest type
error 152 Expected 1 space after the longest variable name
error 152 There must be exactly one blank line before the tags in function comment
warning 171 Line exceeds 85 characters; contains 87 characters
warning 172 Line exceeds 85 characters; contains 91 characters
warning 181 Line exceeds 85 characters; contains 90 characters
error 195 Expected 1 space before variable type
error 195 Expected 1 space after the longest type
error 196 Last parameter comment requires a blank newline after it
error 196 Expected 1 space before variable type
error 196 Expected 1 space after the longest variable name
warning 211 Line exceeds 85 characters; contains 112 characters
error 212 Expected 1 space before variable type
error 212 Doc comment var "$attr1" does not match actual variable name "&$attr1" at position 1
error 212 Expected 1 space after the longest type
error 212 Expected 1 space after the longest variable name
error 212 There must be exactly one blank line before the tags in function comment
error 213 Last parameter comment requires a blank newline after it
error 213 Expected 1 space before variable type
error 215 Missing @return tag in function comment
error 229 Expected 1 space before variable type
error 229 Expected 1 space after the longest type
error 230 Last parameter comment requires a blank newline after it
error 230 Expected 1 space before variable type
error 230 Doc comment var "$attributes" does not match actual variable name "&$attributes" at position 2
error 230 Expected 1 space after the longest variable name
error 246 Last parameter comment requires a blank newline after it
error 246 Expected 1 space before variable type
error 246 Expected 1 space after the longest type
error 246 Expected 1 space after the longest variable name
error 263 Expected 1 space before variable type
error 263 Doc comment var "Attribute" does not match actual variable name "$name" at position 1
error 263 Expected 1 space after the longest type
error 264 Last parameter comment requires a blank newline after it
error 264 Expected 1 space before variable type
error 264 Doc comment var "Attribute" does not match actual variable name "$value" at position 2
error 266 Missing @return tag in function comment
warning 278 Line exceeds 85 characters; contains 103 characters
error 278 Last parameter comment requires a blank newline after it
error 278 Expected 1 space before variable type
error 278 Expected 1 space after the longest type
error 278 Expected 1 space after the longest variable name
error 278 There must be exactly one blank line before the tags in function comment
error 280 Missing @return tag in function comment
error 289 Last parameter comment requires a blank newline after it
error 289 Expected 1 space before variable type
error 289 Doc comment var "Whether" does not match actual variable name "$asString" at position 1
error 289 Expected 1 space after the longest type
warning 305 Line exceeds 85 characters; contains 103 characters
error 305 Last parameter comment requires a blank newline after it
error 305 Expected 1 space before variable type
error 305 Expected 1 space after the longest type
error 305 Expected 1 space after the longest variable name
error 305 There must be exactly one blank line before the tags in function comment
error 307 Missing @return tag in function comment
warning 310 Line exceeds 85 characters; contains 90 characters
error 316 Last parameter comment requires a blank newline after it
error 316 Expected 1 space before variable type
error 316 Expected 1 space after the longest type
error 316 Expected 1 space after the longest variable name
error 329 Last parameter comment requires a blank newline after it
error 329 Expected 1 space before variable type
error 329 Expected 1 space after the longest type
error 329 Expected 1 space after the longest variable name
error 337 Line indented incorrectly; expected 8 spaces, found 12
error 340 Line indented incorrectly; expected 8 spaces, found 12
error 343 Line indented incorrectly; expected 8 spaces, found 12
error 346 Line indented incorrectly; expected 8 spaces, found 12
error 348 Closing brace indented incorrectly; expected 12 spaces, found 8
error 354 Last parameter comment requires a blank newline after it
error 354 Expected 1 space before variable type
error 354 Missing comment for param "$offset" at position 1
error 356 Missing @return tag in function comment
warning 378 Line exceeds 85 characters; contains 88 characters
error 378 Last parameter comment requires a blank newline after it
error 378 Parameters must appear immediately after the comment
error 378 Expected 1 space before variable type
error 378 Expected 1 space after the longest type
error 378 Expected 1 space after the longest variable name
error 390 Last parameter comment requires a blank newline after it
error 390 Expected 1 space before variable type
error 390 Doc comment var "[ UNKNOWN ]" does not match actual variable name "$comment" at position 1
error 390 Missing parameter name at position 1
error 390 Missing comment for param "[ UNKNOWN ]" at position 1
error 428 Missing @return tag in function comment
error 447 Last parameter comment requires a blank newline after it
error 447 Expected 1 space before variable type
error 447 Doc comment var "New" does not match actual variable name "$newCharset" at position 1
error 447 Expected 1 space after the longest type
Sum 108 errors and 10 warnings