Coding Standards Report for Image_Color

Type Line Message
Package 95 errors and 7 warnings
/data/pear/pear/Image_Color/Color.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
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 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 19 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 20 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 21 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 22 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 38 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 39 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 40 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 41 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 42 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 43 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 44 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 45 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 79 Expected 1 space before variable type
error 79 Expected 1 space after the longest type
error 80 Last parameter comment requires a blank newline after it
error 80 Expected 1 space before variable type
error 110 Last parameter comment requires a blank newline after it
error 110 Expected 1 space before variable type
error 124 Expected 1 space before variable type
error 124 Expected 1 space after the longest type
error 125 Last parameter comment requires a blank newline after it
error 125 Expected 1 space before variable type
error 138 Last parameter comment requires a blank newline after it
error 138 Expected 1 space before variable type
error 183 Line indented incorrectly; expected at least 20 spaces, found 16
error 202 Last parameter comment requires a blank newline after it
error 202 Expected 1 space before variable type
error 202 Expected 1 space after the longest type
error 215 Expected "for (...) {\n"; found "for (...) {\n "
error 224 Closing brace must be on a line by itself
error 225 Line indented incorrectly; expected 12 spaces, found 13
error 234 Closing brace must be on a line by itself
error 244 Expected 1 space before variable type
error 244 Expected 1 space after the longest type
error 245 Expected 1 space before variable type
error 247 Last parameter comment requires a blank newline after it
error 247 Expected 1 space before variable type
error 247 The comments for parameters $light (2) and $dark (3) do not align
error 269 Expected 1 space before variable type
error 269 Expected 1 space after the longest type
error 270 Last parameter comment requires a blank newline after it
error 270 Expected 1 space before variable type
error 288 Last parameter comment requires a blank newline after it
error 288 Expected 1 space before variable type
error 288 Expected 1 space after the longest type
warning 297 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 298 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 299 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 303 Doc comment for "$color" missing
error 305 There must be exactly one blank line before the tags in function comment
error 308 Missing @return tag in function comment
error 317 Last parameter comment requires a blank newline after it
error 317 Expected 1 space before variable type
error 317 Expected 1 space after the longest type
error 326 No space found after comma in function call
error 326 No space found after comma in function call
error 326 No space found after comma in function call
error 333 Last parameter comment requires a blank newline after it
error 333 Expected 1 space before variable type
error 333 Expected 1 space after the longest type
warning 343 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 351 Expected 1 space before variable type
error 352 Expected 1 space before variable type
error 353 Last parameter comment requires a blank newline after it
error 353 Expected 1 space before variable type
error 372 Expected 1 space before variable type
error 373 Expected 1 space before variable type
error 374 Last parameter comment requires a blank newline after it
error 374 Expected 1 space before variable type
warning 394 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 395 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 396 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 398 Line indented incorrectly; expected 12 spaces, found 16
error 404 Line indented incorrectly; expected 12 spaces, found 16
error 410 Line indented incorrectly; expected 12 spaces, found 16
error 416 Line indented incorrectly; expected 12 spaces, found 16
error 422 Line indented incorrectly; expected 12 spaces, found 16
error 428 Line indented incorrectly; expected 12 spaces, found 16
error 444 Expected 1 space before variable type
error 444 Doc comment var "$img" does not match actual variable name "&$img" at position 1
error 445 Last parameter comment requires a blank newline after it
error 445 Expected 1 space before variable type
error 445 The comments for parameters $img (1) and $color (2) do not align
error 445 Expected 1 space after the longest type
error 452 Opening brace should be on a new line
error 464 Last parameter comment requires a blank newline after it
error 464 Expected 1 space before variable type
error 464 Missing comment for param "$color" at position 1
error 489 Last parameter comment requires a blank newline after it
error 489 Expected 1 space before variable type
error 489 Expected 1 space after the longest type
error 657 Last parameter comment requires a blank newline after it
error 657 Expected 1 space before variable type
error 657 Expected 1 space after the longest type
error 693 Last parameter comment requires a blank newline after it
error 693 Expected 1 space before variable type
error 693 Doc comment var "$color" does not match actual variable name "&$color" at position 1
Sum 95 errors and 7 warnings