Coding Standards Report for XML_fo2pdf

Type Line Message
Package 85 errors and 7 warnings
/data/pear/pear/XML_fo2pdf/fo2pdf.php
error 2 You must use "/**" style comments for a file comment
error 33 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 33 @author tag comment indented incorrectly. Expected 2 spaces but found 3.
warning 34 Invalid version "$Id: fo2pdf.php,v 1.10 2003/03/20 15:32:16 arnaud Exp $" in doc comment; consider "Release: " instead
error 34 The @version tag is in the wrong order; the tag follows @licence
error 34 @version tag comment indented incorrectly. Expected 1 spaces but found 2.
error 35 @package tag comment indented incorrectly. Expected 1 spaces but found 2.
error 36 Missing @category tag in class comment
error 36 Missing @license tag in class comment
error 36 Missing @link tag in class comment
error 37 Class name is not valid; consider XML_Fo2pdf instead
error 108 Expected 1 space before variable type
error 108 Expected 1 space after the longest type
error 109 Last parameter comment requires a blank newline after it
error 109 Expected 1 space before variable type
error 109 Expected 1 space after the longest variable name
error 113 Method name "XML_fo2pdf::xml_fo2pdf" is not in camel caps format
error 116 Line indented incorrectly; expected at least 12 spaces, found 11
error 129 Expected 1 space before variable type
error 130 Expected 1 space before variable type
error 131 Last parameter comment requires a blank newline after it
error 131 Expected 1 space before variable type
error 131 Expected 1 space after the longest variable name
error 133 Missing @return tag in function comment
warning 138 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 153 Line exceeds 85 characters; contains 88 characters
error 154 Line indented incorrectly; expected at least 12 spaces, found 9
error 154 Spaces must be used to indent lines; tabs are not allowed
warning 154 Line exceeds 85 characters; contains 141 characters
error 165 Line indented incorrectly; expected at least 12 spaces, found 9
error 165 Spaces must be used to indent lines; tabs are not allowed
error 181 Expected 1 space before variable type
error 181 Expected 1 space after the longest type
error 181 Expected 1 space after the longest variable name
error 182 Last parameter comment requires a blank newline after it
error 182 Expected 1 space before variable type
error 184 Missing @return tag in function comment
error 198 Expected 1 space before variable type
error 198 Expected 1 space after the longest type
error 199 Last parameter comment requires a blank newline after it
error 199 Expected 1 space before variable type
error 199 Expected 1 space after the longest variable name
error 201 Missing @return tag in function comment
error 202 Line indented incorrectly; expected 4 spaces, found 3
error 203 Opening brace indented incorrectly; expected 3 spaces, found 4
error 205 Closing brace indented incorrectly; expected 3 spaces, found 4
error 214 Last parameter comment requires a blank newline after it
error 214 Expected 1 space before variable type
error 214 Expected 1 space after the longest type
error 214 Expected 1 space after the longest variable name
error 216 Missing @return tag in function comment
error 232 Expected 1 space before variable type
error 232 Expected 1 space after the longest type
error 232 Expected 1 space after the longest variable name
error 233 Missing @return tag in function comment
error 250 Last parameter comment requires a blank newline after it
error 250 Expected 1 space before variable type
error 250 Expected 1 space after the longest type
error 250 Expected 1 space after the longest variable name
error 253 Missing @return tag in function comment
warning 257 Line exceeds 85 characters; contains 94 characters
error 266 Last parameter comment requires a blank newline after it
error 266 Expected 1 space before variable type
error 266 Expected 1 space after the longest type
error 266 Expected 1 space after the longest variable name
warning 276 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 277 Space after opening parenthesis of function call prohibited
error 277 Space before closing parenthesis of function call prohibited
error 285 Expected 1 space before variable type
error 285 Expected 1 space after the longest type
warning 286 Line exceeds 85 characters; contains 104 characters
error 286 Last parameter comment requires a blank newline after it
error 286 Expected 1 space before variable type
error 286 The comments for parameters $renderer (1) and $overwriteContentType (2) do not align
error 289 Missing @return tag in function comment
error 296 Line indented incorrectly; expected 12 spaces, found 20
error 298 Break statement indented incorrectly; expected 24 spaces, found 20
error 299 Line indented incorrectly; expected 12 spaces, found 20
error 301 Break statement indented incorrectly; expected 24 spaces, found 20
error 302 Line indented incorrectly; expected 12 spaces, found 20
error 304 Break statement indented incorrectly; expected 24 spaces, found 20
error 305 Line indented incorrectly; expected 12 spaces, found 20
error 307 Break statement indented incorrectly; expected 24 spaces, found 20
error 308 Line indented incorrectly; expected 12 spaces, found 20
error 310 Break statement indented incorrectly; expected 24 spaces, found 20
error 311 Closing brace indented incorrectly; expected 12 spaces, found 13
error 312 Closing brace indented incorrectly; expected 8 spaces, found 9
error 318 Last parameter comment requires a blank newline after it
error 321 Missing @return tag in function comment
error 330 Last parameter comment requires a blank newline after it
error 330 Expected 1 space before variable type
error 333 Missing @return tag in function comment
Sum 85 errors and 7 warnings