Coding Standards Report for Console_ProgressBar

Type Line Message
Package 46 errors and 13 warnings
/data/pear/pear/Console_ProgressBar/ProgressBar.php
error 2 You must use "/**" style comments for a file comment
error 33 The @package tag is in the wrong order; the tag follows @category
error 33 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 35 Invalid version "0.4" in class comment; consider "Release: " instead
error 35 The @version tag is in the wrong order; the tag follows @licence
error 35 @version tag comment indented incorrectly. Expected 2 spaces but found 1.
error 36 @author tag comment indented incorrectly. Expected 3 spaces but found 1.
error 37 @license tag comment indented incorrectly. Expected 2 spaces but found 1.
error 38 Missing @link tag in class comment
error 40 Opening brace of a class must be on the line after the definition
error 88 Doc comment var "The" does not match actual variable name "$formatstring" at position 1
error 89 Doc comment var "The" does not match actual variable name "$bar" at position 2
error 90 Doc comment var "The" does not match actual variable name "$prefill" at position 3
error 91 Doc comment var "The" does not match actual variable name "$width" at position 4
error 92 Doc comment var "The" does not match actual variable name "$target_num" at position 5
error 93 Last parameter comment requires a blank newline after it
error 93 The comments for parameters The (5) and Options (6) do not align
error 93 Doc comment var "Options" does not match actual variable name "$options" at position 6
error 178 Doc comment var "The" does not match actual variable name "$formatstring" at position 1
error 179 Doc comment var "The" does not match actual variable name "$bar" at position 2
error 180 Doc comment var "The" does not match actual variable name "$prefill" at position 3
error 181 Doc comment var "The" does not match actual variable name "$width" at position 4
error 182 Doc comment var "The" does not match actual variable name "$target_num" at position 5
error 183 Last parameter comment requires a blank newline after it
error 183 The comments for parameters The (5) and Options (6) do not align
error 183 Doc comment var "Options" does not match actual variable name "$options" at position 6
warning 190 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 201 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 238 No space found after comma in function call
warning 238 Line exceeds 85 characters; contains 86 characters
error 251 No space found after comma in function call
error 251 No space found after comma in function call
error 251 No space found after comma in function call
error 265 Last parameter comment requires a blank newline after it
error 265 Doc comment var "current" does not match actual variable name "$current" at position 1
warning 276 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 282 Line exceeds 85 characters; contains 86 characters
error 297 Last parameter comment requires a blank newline after it
error 297 Doc comment var "current" does not match actual variable name "$current" at position 1
warning 302 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 303 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 304 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 305 Space after opening parenthesis of function call prohibited
warning 305 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 307 Space before closing parenthesis of function call prohibited
warning 308 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 312 Space before closing parenthesis of function call prohibited
error 316 Line indented incorrectly; expected at least 12 spaces, found 8
error 326 Doc comment for "$clear" missing
error 349 Last parameter comment requires a blank newline after it
error 349 Doc comment var "The" does not match actual variable name "$seconds" at position 1
error 372 You must use "/**" style comments for a function comment
error 372 Opening function brace should be on a new line
error 382 Missing function doc comment
error 382 Opening function brace should be on a new line
error 393 Missing function doc comment
error 393 Opening function brace should be on a new line
warning 398 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 399 Line exceeds 85 characters; contains 123 characters
Sum 46 errors and 13 warnings