Coding Standards Report for Gtk_FileDrop

Type Line Message
Package 69 errors and 15 warnings
/data/pear/pear/Gtk_FileDrop/FileDrop.php
error 2 You must use "/**" style comments for a file comment
error 21 "require_once" is a statement, not a function; no parentheses are required
error 22 "require_once" is a statement, not a function; no parentheses are required
error 34 There must be exactly one blank line before the tags in class comments
error 34 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 34 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
error 38 @license tag must contain a URL and a license name
warning 41 Line exceeds 85 characters; contains 87 characters
warning 47 Line exceeds 85 characters; contains 91 characters
warning 50 Line exceeds 85 characters; contains 99 characters
error 51 Missing @category tag in class comment
error 51 Missing @link tag in class comment
error 56 There must be exactly one blank line before the tags in function comment
error 57 Parameters must appear immediately after the comment
error 57 Doc comment var "The" does not match actual variable name "$widget" at position 1
error 57 Expected 1 space after the longest type
warning 58 Line exceeds 85 characters; contains 96 characters
error 58 The comments for parameters The (1) and List (2) do not align
error 58 Doc comment var "List" does not match actual variable name "$arTypes" at position 2
error 59 The comments for parameters List (2) and Callback (3) do not align
error 59 Doc comment var "Callback" does not match actual variable name "$objCallback" at position 3
warning 60 Line exceeds 85 characters; contains 93 characters
error 60 The comments for parameters Callback (3) and If (4) do not align
error 60 Doc comment var "If" does not match actual variable name "$bSetText" at position 4
warning 66 Line exceeds 85 characters; contains 125 characters
error 76 Doc comment for "$arTypes" missing
error 76 Doc comment for "$objCallback" missing
error 76 Doc comment for "$bSetText" missing
error 94 There must be exactly one blank line before the tags in function comment
error 95 Parameters must appear immediately after the comment
error 95 Doc comment var "The" does not match actual variable name "$widget" at position 1
error 95 Expected 1 space after the longest type
error 108 Doc comment var "The" does not match actual variable name "$widget" at position 1
error 108 There must be exactly one blank line before the tags in function comment
error 109 Doc comment var "The" does not match actual variable name "$context" at position 2
error 110 The comments for parameters The (2) and X (3) do not align
error 110 Doc comment var "X" does not match actual variable name "$x" at position 3
error 111 Doc comment var "Y" does not match actual variable name "$y" at position 4
error 112 The comments for parameters Y (4) and Info (5) do not align
error 112 Doc comment var "Info" does not match actual variable name "$data" at position 5
error 113 The comments for parameters Info (5) and The (6) do not align
error 113 Doc comment var "The" does not match actual variable name "$info" at position 6
error 113 Doc comment for "$time" missing
error 114 Missing @return tag in function comment
warning 117 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 5 spaces
warning 118 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 119 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 133 Line exceeds 85 characters; contains 96 characters
warning 134 Line exceeds 85 characters; contains 99 characters
error 149 Space after opening parenthesis of function call prohibited
warning 170 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 192 Space after opening parenthesis of function call prohibited
warning 192 Line exceeds 85 characters; contains 158 characters
error 198 Space after opening parenthesis of function call prohibited
error 215 Last parameter comment requires a blank newline after it
error 215 Parameters must appear immediately after the comment
error 215 Expected 1 space before variable type
error 215 Doc comment var "The" does not match actual variable name "$strUriFile" at position 1
error 215 Expected 1 space after the longest type
warning 221 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 234 Expected "for (...) {\n"; found "for(...) {\n"
error 251 Space before opening parenthesis of function call prohibited
error 273 There must be exactly one blank line before the tags in function comment
error 274 Last parameter comment requires a blank newline after it
error 274 Parameters must appear immediately after the comment
error 274 Expected 1 space before variable type
error 274 Doc comment var "The" does not match actual variable name "$strFile" at position 1
error 274 Expected 1 space after the longest type
error 294 There must be exactly one blank line before the tags in function comment
error 295 Last parameter comment requires a blank newline after it
error 295 Parameters must appear immediately after the comment
error 295 Expected 1 space before variable type
error 295 Doc comment var "The" does not match actual variable name "$strFile" at position 1
error 295 Expected 1 space after the longest type
warning 312 Line exceeds 85 characters; contains 94 characters
error 315 Line indented incorrectly; expected 8 spaces, found 12
error 318 Line indented incorrectly; expected 8 spaces, found 12
error 321 Line indented incorrectly; expected 8 spaces, found 12
error 322 Line indented incorrectly; expected 8 spaces, found 12
error 325 Line indented incorrectly; expected 8 spaces, found 12
error 328 Line indented incorrectly; expected 8 spaces, found 12
error 331 Line indented incorrectly; expected 8 spaces, found 12
error 332 Line indented incorrectly; expected 8 spaces, found 12
error 335 Line indented incorrectly; expected 8 spaces, found 12
Sum 69 errors and 15 warnings