Coding Standards Report for XML_image2svg

Type Line Message
Package 33 errors and 6 warnings
/data/pear/pear/XML_image2svg/image2svg.php
error 2 You must use "/**" style comments for a file comment
error 57 "require_once" is a statement, not a function; no parentheses are required
error 58 "require_once" is a statement, not a function; no parentheses are required
error 60 Missing class doc comment
error 60 Class name is not valid; consider XML_Image2svg instead
error 92 Last parameter comment requires a blank newline after it
error 92 Doc comment var "image" does not match actual variable name "$fileName" at position 1
error 115 Expected "if (...) {\n"; found "if(...) {\n"
error 116 Space before opening parenthesis of function call prohibited
warning 116 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 117 Space before opening parenthesis of function call prohibited
warning 120 Line exceeds 85 characters; contains 86 characters
error 124 Space before opening parenthesis of function call prohibited
error 172 Expected "if (...) {\n"; found "if(...) {\n"
error 174 Expected "if (...) {\n"; found "if(...) {\n"
error 182 Space before closing parenthesis of function call prohibited
warning 190 Line exceeds 85 characters; contains 86 characters
error 194 Space before closing parenthesis of function call prohibited
warning 195 Line exceeds 85 characters; contains 86 characters
error 199 Space before closing parenthesis of function call prohibited
error 248 TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
error 256 Doc comment var "error" does not match actual variable name "$err" at position 1
error 257 The comments for parameters error (1) and file (2) do not align
error 257 Doc comment var "file" does not match actual variable name "$file" at position 2
error 258 Last parameter comment requires a blank newline after it
error 258 The comments for parameters file (2) and linenumber (3) do not align
error 258 Doc comment var "linenumber" does not match actual variable name "$line" at position 3
error 281 Space before closing parenthesis of function call prohibited
Sum 24 errors and 4 warnings
/data/pear/pear/XML_image2svg/package.php
warning 6 PHP version not specified
error 6 Missing @category tag in file comment
error 6 Missing @package tag in file comment
error 6 Missing @author tag in file comment
error 6 Missing @license tag in file comment
error 6 Missing @link tag in file comment
error 51 Expected 1 space after comma in function call; 2 found
error 51 Expected 1 space after comma in function call; 8 found
error 51 Expected 1 space after comma in function call; 6 found
error 53 Expected 1 space after comma in function call; 8 found
warning 55 Line exceeds 85 characters; contains 93 characters
Sum 9 errors and 2 warnings