Coding Standards Report for Image_XBM

Type Line Message
Package 101 errors and 24 warnings
/data/pear/pear/Image_XBM/XBM.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 28 Space before opening parenthesis of function call prohibited
error 33 Space before opening parenthesis of function call prohibited
error 38 Space before opening parenthesis of function call prohibited
error 40 Opening brace of a class must be on the line after the definition
error 40 Missing class doc comment
error 42 Line indented incorrectly; expected at least 4 spaces, found 3
error 51 Line indented incorrectly; expected at least 4 spaces, found 3
error 60 Line indented incorrectly; expected at least 4 spaces, found 3
error 69 Line indented incorrectly; expected at least 4 spaces, found 3
error 78 Line indented incorrectly; expected at least 4 spaces, found 3
warning 94 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 95 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 96 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
warning 98 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 102 Line indented incorrectly; expected at least 12 spaces, found 9
error 102 Space before opening parenthesis of function call prohibited
error 102 Spaces must be used to indent lines; tabs are not allowed
error 103 Closing brace indented incorrectly; expected 8 spaces, found 2
error 103 Spaces must be used to indent lines; tabs are not allowed
error 110 Last parameter comment requires a blank newline after it
error 120 Space before opening parenthesis of function call prohibited
warning 120 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 121 Space before opening parenthesis of function call prohibited
error 155 Last parameter comment requires a blank newline after it
error 155 The comments for parameters $y2 (4) and $color (5) do not align
warning 168 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 178 Space before opening parenthesis of function call prohibited
error 179 Space before opening parenthesis of function call prohibited
error 190 Space before opening parenthesis of function call prohibited
error 199 Last parameter comment requires a blank newline after it
error 199 The comments for parameters $y (2) and $color (3) do not align
warning 205 Line exceeds 85 characters; contains 100 characters
error 211 Line indented incorrectly; expected at least 20 spaces, found 17
error 211 Spaces must be used to indent lines; tabs are not allowed
error 212 Closing brace indented incorrectly; expected 16 spaces, found 4
error 212 Spaces must be used to indent lines; tabs are not allowed
error 216 Line indented incorrectly; expected at least 16 spaces, found 13
error 216 Spaces must be used to indent lines; tabs are not allowed
error 217 Closing brace indented incorrectly; expected 12 spaces, found 3
error 217 Spaces must be used to indent lines; tabs are not allowed
error 217 Line indented incorrectly; expected 12 spaces, found 3
error 218 Line indented incorrectly; expected at least 16 spaces, found 13
error 218 Spaces must be used to indent lines; tabs are not allowed
error 219 Spaces must be used to indent lines; tabs are not allowed
error 229 Last parameter comment requires a blank newline after it
error 236 Line indented incorrectly; expected at least 12 spaces, found 9
error 236 Spaces must be used to indent lines; tabs are not allowed
error 237 Closing brace indented incorrectly; expected 8 spaces, found 2
error 237 Spaces must be used to indent lines; tabs are not allowed
error 245 Last parameter comment requires a blank newline after it
error 258 Spaces must be used to indent lines; tabs are not allowed
error 258 Line indented incorrectly; expected 12 spaces, found 9
error 259 Line indented incorrectly; expected at least 16 spaces, found 10
error 259 Spaces must be used to indent lines; tabs are not allowed
error 260 Closing brace indented incorrectly; expected 9 spaces, found 3
error 260 Spaces must be used to indent lines; tabs are not allowed
error 261 Closing brace indented incorrectly; expected 8 spaces, found 2
error 261 Spaces must be used to indent lines; tabs are not allowed
error 263 Space before opening parenthesis of function call prohibited
error 274 Line indented incorrectly; expected at least 16 spaces, found 13
error 274 Spaces must be used to indent lines; tabs are not allowed
error 288 Last parameter comment requires a blank newline after it
error 288 The comments for parameters $y2 (4) and $color (5) do not align
error 294 Space before opening parenthesis of function call prohibited
error 295 Space before opening parenthesis of function call prohibited
error 296 Space before opening parenthesis of function call prohibited
error 297 Space before opening parenthesis of function call prohibited
error 309 Last parameter comment requires a blank newline after it
error 309 The comments for parameters $y2 (4) and $color (5) do not align
error 319 Space before opening parenthesis of function call prohibited
error 329 The variable names for parameters $points (1) and $num_points (2) do not align
error 329 The comments for parameters $points (1) and $num_points (2) do not align
error 330 Last parameter comment requires a blank newline after it
error 330 The comments for parameters $num_points (2) and $color (3) do not align
warning 340 Line exceeds 85 characters; contains 98 characters
warning 343 Line exceeds 85 characters; contains 120 characters
error 366 Last parameter comment requires a blank newline after it
error 373 Line indented incorrectly; expected at least 12 spaces, found 9
error 373 Spaces must be used to indent lines; tabs are not allowed
error 374 Closing brace indented incorrectly; expected 8 spaces, found 2
error 374 Spaces must be used to indent lines; tabs are not allowed
error 385 Last parameter comment requires a blank newline after it
error 385 The comments for parameters $y (2) and $color (3) do not align
error 399 Spaces must be used to indent lines; tabs are not allowed
error 400 Closing brace indented incorrectly; expected 12 spaces, found 3
error 400 Spaces must be used to indent lines; tabs are not allowed
warning 402 Line exceeds 85 characters; contains 88 characters
warning 406 Line exceeds 85 characters; contains 88 characters
warning 410 Line exceeds 85 characters; contains 88 characters
warning 414 Line exceeds 85 characters; contains 88 characters
error 425 Doc comment var "$src_im" does not match actual variable name "&$src_im" at position 1
error 426 The variable names for parameters $src_im (1) and $dst_x (2) do not align
error 426 The comments for parameters $src_im (1) and $dst_x (2) do not align
error 431 Last parameter comment requires a blank newline after it
warning 456 Line exceeds 85 characters; contains 114 characters
warning 458 Line exceeds 85 characters; contains 120 characters
warning 459 Equals sign not aligned with surrounding assignments; expected 42 spaces but found 1 space
warning 470 Line exceeds 85 characters; contains 106 characters
error 480 Last parameter comment requires a blank newline after it
warning 498 Line exceeds 85 characters; contains 87 characters
warning 508 Line exceeds 85 characters; contains 132 characters
warning 513 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 531 The comments for parameters $cy (2) and $w (3) do not align
error 533 Last parameter comment requires a blank newline after it
error 533 The comments for parameters $h (4) and $color (5) do not align
error 547 The comments for parameters $cy (2) and $w (3) do not align
error 549 Last parameter comment requires a blank newline after it
error 549 The comments for parameters $h (4) and $color (5) do not align
warning 563 Line exceeds 85 characters; contains 94 characters
error 563 The variable names for parameters $font (2) and $size (3) do not align
error 564 The variable names for parameters $size (3) and $fgcolor (4) do not align
error 564 The comments for parameters $size (3) and $fgcolor (4) do not align
error 566 The comments for parameters $bgcolor (5) and $x (6) do not align
error 567 Last parameter comment requires a blank newline after it
error 583 File is being conditionally included; use "include_once" instead
warning 599 Line exceeds 85 characters; contains 97 characters
error 615 The comments for parameters $b (4) and $color (5) do not align
error 616 Last parameter comment requires a blank newline after it
error 616 The variable names for parameters $color (5) and $filled (6) do not align
error 616 The comments for parameters $color (5) and $filled (6) do not align
warning 625 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 626 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 632 Line exceeds 85 characters; contains 93 characters
Sum 101 errors and 24 warnings