Coding Standards Report for File_Fstab

Type Line Message
Package 124 errors and 15 warnings
/data/pear/pear/File_Fstab/Entry.php
error 15 Category name "File Formats" is not valid; consider "File_Formats" instead
error 18 @copyright tag must contain a year and the name of the copyright holder
error 21 Only 1 @version tag is allowed in a file comment
error 37 Category name "File Formats" is not valid; consider "File_Formats" instead
error 40 @copyright tag must contain a year and the name of the copyright holder
warning 43 Invalid version "CVS: $Revision: 1.7 $" in doc comment; consider "Release: " instead
error 43 Only 1 @version tag is allowed in a class comment
error 46 Opening brace of a class must be on the line after the definition
error 133 Last parameter comment requires a blank newline after it
error 133 Expected 1 space before variable type
error 133 Expected 1 space after the longest type
error 133 Expected 1 space after the longest variable name
error 151 Last parameter comment requires a blank newline after it
error 151 Parameters must appear immediately after the comment
error 151 Expected 1 space before variable type
error 151 Expected 1 space after the longest type
error 151 Expected 1 space after the longest variable name
error 179 Last parameter comment requires a blank newline after it
error 179 Parameters must appear immediately after the comment
error 179 Expected 1 space before variable type
error 179 Expected 1 space after the longest type
error 179 Expected 1 space after the longest variable name
error 207 Last parameter comment requires a blank newline after it
error 207 Parameters must appear immediately after the comment
error 207 Expected 1 space before variable type
error 207 Expected 1 space after the longest type
error 207 Expected 1 space after the longest variable name
error 232 Last parameter comment requires a blank newline after it
error 232 Parameters must appear immediately after the 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 256 Last parameter comment requires a blank newline after it
error 256 Parameters must appear immediately after the comment
error 256 Expected 1 space before variable type
error 256 Expected 1 space after the longest type
error 256 Expected 1 space after the longest variable name
error 280 Last parameter comment requires a blank newline after it
error 280 Parameters must appear immediately after the comment
error 280 Expected 1 space before variable type
error 280 Doc comment var "$type" does not match actual variable name "$freq" at position 1
error 280 Expected 1 space after the longest type
error 280 Expected 1 space after the longest variable name
error 304 Last parameter comment requires a blank newline after it
error 304 Parameters must appear immediately after the comment
error 304 Expected 1 space before variable type
error 304 Doc comment var "$type" does not match actual variable name "$pass" at position 1
error 304 Expected 1 space after the longest type
error 304 Expected 1 space after the longest variable name
error 327 Last parameter comment requires a blank newline after it
error 327 Expected 1 space before variable type
error 327 Expected 1 space after the longest type
error 327 Expected 1 space after the longest variable name
warning 332 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 339 Last parameter comment requires a blank newline after it
error 339 Expected 1 space before variable type
error 339 Superfluous doc comment at position 1
error 339 Expected 1 space after the longest type
error 339 Expected 1 space after the longest variable name
warning 358 Line exceeds 85 characters; contains 119 characters
error 362 Line indented incorrectly; expected 8 spaces, found 12
error 366 Line indented incorrectly; expected 8 spaces, found 12
error 370 Line indented incorrectly; expected 8 spaces, found 12
error 372 Closing brace indented incorrectly; expected 12 spaces, found 8
error 396 Doc comment var "string" does not match actual variable name "$options" at position 1
warning 405 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 408 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 434 Doc comment for "$seperator" missing
error 465 Expected "} else if (...) {\n"; found "} else if(...) {\n"
error 465 Expected "if (...) {\n"; found "if(...) {\n"
error 482 Line indented incorrectly; expected 8 spaces, found 12
error 486 Line indented incorrectly; expected 8 spaces, found 12
error 490 Line indented incorrectly; expected 8 spaces, found 12
error 492 Closing brace indented incorrectly; expected 12 spaces, found 8
error 515 Last parameter comment requires a blank newline after it
error 515 Expected 1 space before variable type
error 515 Expected 1 space after the longest type
error 515 Expected 1 space after the longest variable name
error 526 Last parameter comment requires a blank newline after it
error 526 Expected 1 space before variable type
error 526 Expected 1 space after the longest type
error 540 Expected 1 space before variable type
error 540 Expected 1 space after the longest type
error 541 Last parameter comment requires a blank newline after it
error 541 Expected 1 space before variable type
error 541 The comments for parameters $name (1) and $value (2) do not align
Sum 81 errors and 5 warnings
/data/pear/pear/File_Fstab/Fstab.php
error 15 Category name "File Formats" is not valid; consider "File_Formats" instead
error 18 @copyright tag must contain a year and the name of the copyright holder
error 21 Only 1 @version tag is allowed in a file comment
error 38 Category name "File Formats" is not valid; consider "File_Formats" instead
error 41 @copyright tag must contain a year and the name of the copyright holder
warning 44 Invalid version "CVS: $Revision: 1.11 $" in doc comment; consider "Release: " instead
error 44 Only 1 @version tag is allowed in a class comment
error 47 Opening brace of a class must be on the line after the definition
error 85 Last parameter comment requires a blank newline after it
error 85 Expected 1 space before variable type
error 85 Expected 1 space after the longest type
error 85 Expected 1 space after the longest variable name
error 99 Last parameter comment requires a blank newline after it
error 99 Expected 1 space before variable type
error 99 Expected 1 space after the longest type
error 99 Expected 1 space after the longest variable name
warning 135 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 162 Last parameter comment requires a blank newline after it
error 162 Expected 1 space before variable type
error 162 Expected 1 space after the longest type
error 162 Expected 1 space after the longest variable name
warning 173 Line exceeds 85 characters; contains 89 characters
error 179 Last parameter comment requires a blank newline after it
error 179 Expected 1 space before variable type
error 179 Expected 1 space after the longest type
error 179 Expected 1 space after the longest variable name
warning 191 Line exceeds 85 characters; contains 95 characters
error 197 Last parameter comment requires a blank newline after it
error 197 Expected 1 space before variable type
error 197 Expected 1 space after the longest type
error 197 Expected 1 space after the longest variable name
warning 209 Line exceeds 85 characters; contains 89 characters
error 215 Last parameter comment requires a blank newline after it
error 215 Expected 1 space before variable type
error 215 Expected 1 space after the longest type
error 215 Expected 1 space after the longest variable name
warning 227 Line exceeds 85 characters; contains 91 characters
error 233 Last parameter comment requires a blank newline after it
error 233 Expected 1 space before variable type
error 233 Doc comment var "$entry" does not match actual variable name "&$entry" at position 1
error 233 Expected 1 space after the longest type
error 233 Expected 1 space after the longest variable name
error 265 Last parameter comment requires a blank newline after it
error 265 Expected 1 space before variable type
error 265 Expected 1 space after the longest type
error 265 Expected 1 space after the longest variable name
error 277 Doc comment for "$output" missing
error 295 Expected "foreach (...) {\n"; found "foreach(...) {\n"
Sum 42 errors and 6 warnings
/data/pear/pear/File_Fstab/example.php
error 2 You must use "/**" style comments for a file comment
warning 38 Line exceeds 85 characters; contains 122 characters
warning 43 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 44 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 46 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Sum 1 errors and 4 warnings