Coding Standards Report for File_Find

Type Line Message
Package 45 errors and 12 warnings
/data/pear/pear/File_Find/Find.php
error 2 You must use "/**" style comments for a file comment
warning 33 Invalid version "$Id: Find.php,v 1.28 2008/10/26 17:55:22 clockwerx Exp $" in doc comment; consider "Release: " instead
error 33 The @version tag is in the wrong order; the tag follows @licence
error 35 @author tag comment indented incorrectly. Expected 2 spaces but found 1.
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 72 The comments for parameters $dirpath (2) and $pattern_type (3) do not align
warning 93 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 166 The variable names for parameters $directory (1) and $maxrecursion (2) do not align
error 166 The comments for parameters $directory (1) and $maxrecursion (2) do not align
error 166 Doc comment for "$count" missing
error 228 The comments for parameters $pattern (1) and $directory (2) do not align
error 230 The comments for parameters $directory (2) and $type (3) do not align
error 233 The variable names for parameters $type (3) and $fullpath (4) do not align
error 233 The comments for parameters $type (3) and $fullpath (4) do not align
error 236 The variable names for parameters $fullpath (4) and $match (5) do not align
error 236 The comments for parameters $fullpath (4) and $match (5) do not align
warning 246 Line exceeds 85 characters; contains 93 characters
warning 249 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 250 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
error 252 Line indented incorrectly; expected 8 spaces, found 12
error 255 Line indented incorrectly; expected 8 spaces, found 12
error 258 Line indented incorrectly; expected 8 spaces, found 12
error 259 Line indented incorrectly; expected 8 spaces, found 12
error 261 Closing brace indented incorrectly; expected 12 spaces, found 8
error 261 Closing brace indented incorrectly; expected 12 spaces, found 8
error 285 Doc comment var "PEAR_Error" does not match actual variable name "&$var" at position 1
error 301 Last parameter comment requires a blank newline after it
error 334 Last parameter comment requires a blank newline after it
error 334 Doc comment var "$type" does not match actual variable name "$pattern" at position 1
error 334 Doc comment for "$type" missing
error 354 Doc comment for "$pattern" missing
error 354 Doc comment for "$filename" missing
error 362 Function name "File_Find_match_shell" is invalid; consider "File_Find_Match_shell" instead
error 368 Line indented incorrectly; expected 4 spaces, found 8
error 370 TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
error 371 Line indented incorrectly; expected 4 spaces, found 8
error 373 Line indented incorrectly; expected 8 spaces, found 12
error 375 TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
error 380 Line indented incorrectly; expected 4 spaces, found 7
warning 389 Inline control structures are discouraged
error 393 TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
error 397 TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
error 399 TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
error 404 Doc comment for "$mask" missing
error 416 Function name "_File_Find_match_shell_get_pattern" is invalid; only private methods should be prefixed with an underscore
error 416 Opening brace should be on a new line
error 419 Space before closing parenthesis of function call prohibited
warning 419 Line exceeds 85 characters; contains 105 characters
error 425 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 426 Inline control structures are discouraged
warning 437 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 445 Inline control structures are discouraged
warning 468 Line exceeds 85 characters; contains 91 characters
error 471 TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
warning 471 Inline control structures are discouraged
Sum 45 errors and 12 warnings