Coding Standards Report for Net_Dict

Type Line Message
Package 88 errors and 2 warnings
/data/pear/pear/Net_Dict/Dict.php
error 16 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 17 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 18 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 19 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 20 @copyright tag must contain a year and the name of the copyright holder
error 20 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 21 @copyright tag must contain a year and the name of the copyright holder
error 21 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 22 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 23 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 24 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 32 Expected 1 space after comma in function call; 3 found
error 39 The @package tag is in the wrong order; the tag follows @category
error 39 @package tag comment indented incorrectly. Expected 2 spaces but found 3.
error 40 @category tag comment indented incorrectly. Expected 1 spaces but found 2.
error 41 The @link tag is in the wrong order; the tag follows @version
error 41 @link tag comment indented incorrectly. Expected 5 spaces but found 6.
warning 43 Invalid version "CVS: $Revision: 1.10 $" in doc comment; consider "Release: " instead
error 43 Only 1 @version tag is allowed in a class comment
error 43 The @version tag is in the wrong order; the tag follows @licence
error 43 @version tag comment indented incorrectly. Expected 2 spaces but found 3.
error 44 @author tag comment indented incorrectly. Expected 3 spaces but found 4.
error 45 @license tag comment indented incorrectly. Expected 2 spaces but found 3.
error 47 Opening brace of a class must be on the line after the definition
error 94 Expected 1 space before variable type
error 94 Missing comment for param "$word" at position 1
error 95 Expected 1 space before variable type
error 95 The comments for parameters $word (1) and $database (2) do not align
error 95 Missing comment for param "$database" at position 2
error 151 Expected 1 space before variable type
error 151 Missing comment for param "$word" at position 1
error 152 Expected 1 space before variable type
error 152 The comments for parameters $word (1) and $strategy (2) do not align
error 152 Missing comment for param "$strategy" at position 2
error 153 Expected 1 space before variable type
error 153 Missing comment for param "$database" at position 3
error 237 Expected 1 space before variable type
error 237 Missing comment for param "$database" at position 1
error 266 Expected 1 space before variable type
error 266 Missing comment for param "$text" at position 1
error 329 Expected 1 space before variable type
error 329 Missing comment for param "$user" at position 1
error 330 Expected 1 space before variable type
error 330 Missing comment for param "$auth" at position 2
error 344 Expected 1 space before variable type
error 344 Missing comment for param "$mechanism" at position 1
error 345 Last parameter comment requires a blank newline after it
error 345 Expected 1 space before variable type
error 345 The comments for parameters $mechanism (1) and $initial_response (2) do not align
error 345 Missing comment for param "$initial_response" at position 2
error 349 Method name "Net_Dict::SASLAuth" is not in camel caps format
error 357 Last parameter comment requires a blank newline after it
error 357 Expected 1 space before variable type
error 357 Missing comment for param "$response" at position 1
error 361 Method name "Net_Dict::SASLResp" is not in camel caps format
error 368 Expected 1 space before variable type
error 368 Missing comment for param "$server" at position 1
error 369 Last parameter comment requires a blank newline after it
error 369 Expected 1 space before variable type
error 369 The comments for parameters $server (1) and $port (2) do not align
error 369 Missing comment for param "$port" at position 2
warning 391 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 429 Expected 1 space before variable type
error 429 Missing comment for param "$server" at position 1
error 430 Last parameter comment requires a blank newline after it
error 430 Expected 1 space before variable type
error 430 The comments for parameters $server (1) and $port (2) do not align
error 430 Missing comment for param "$port" at position 2
error 445 Expected 1 space before variable type
error 445 Doc comment var "$cache" does not match actual variable name "$flag" at position 1
error 445 Missing comment for param "$cache" at position 1
error 446 Expected 1 space before variable type
error 446 The comments for parameters $cache (1) and $container (2) do not align
error 446 Missing comment for param "$container" at position 2
error 447 Last parameter comment requires a blank newline after it
error 447 Expected 1 space before variable type
error 447 The comments for parameters $container (2) and $container_options (3) do not align
error 447 Missing comment for param "$container_options" at position 3
error 455 File is being conditionally included; use "include_once" instead
error 470 Last parameter comment requires a blank newline after it
error 470 Expected 1 space before variable type
error 470 Doc comment var "Command" does not match actual variable name "$cmd" at position 1
error 470 Expected 1 space after the longest type
error 522 Missing @return tag in function comment
error 531 Last parameter comment requires a blank newline after it
error 531 Expected 1 space before variable type
error 531 Missing comment for param "$query" at position 1
error 552 Last parameter comment requires a blank newline after it
error 552 Expected 1 space before variable type
error 552 Missing comment for param "$resp" at position 1
Sum 88 errors and 2 warnings