Coding Standards Report for Crypt_CHAP

Type Line Message
Package 50 errors and 13 warnings
/data/pear/pear/Crypt_CHAP/CHAP.php
error 2 You must use "/**" style comments for a file comment
error 55 Missing @category tag in class comment
error 55 Missing @author tag in class comment
error 55 Missing @license tag in class comment
error 55 Missing @link tag in class comment
error 57 Expected 0 spaces before opening brace; 1 found
error 86 There must be exactly one blank line before the tags in function comment
error 97 Expected 1 space before variable type
error 97 Expected 1 space after the longest variable name
error 98 Last parameter comment requires a blank newline after it
error 98 Expected 1 space before variable type
error 128 Missing @category tag in class comment
error 128 Missing @author tag in class comment
error 128 Missing @license tag in class comment
error 128 Missing @link tag in class comment
error 130 Expected 0 spaces before opening brace; 1 found
warning 142 Line exceeds 85 characters; contains 94 characters
warning 149 Line exceeds 85 characters; contains 87 characters
warning 150 Line exceeds 85 characters; contains 90 characters
error 155 Missing @category tag in class comment
error 155 Missing @author tag in class comment
error 155 Missing @license tag in class comment
error 155 Missing @link tag in class comment
error 169 There must be exactly one blank line before the tags in function comment
error 177 Doc comment for "$password" missing
error 192 Doc comment for "$str" missing
warning 203 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 247 Last parameter comment requires a blank newline after it
error 247 Expected 1 space before variable type
error 247 Expected 1 space after the longest type
error 247 Expected 1 space after the longest variable name
warning 263 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 264 Space before opening parenthesis of function call prohibited
warning 264 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 284 Doc comment for "$password" missing
warning 299 Line exceeds 85 characters; contains 93 characters
error 302 Doc comment for "$plain" missing
warning 311 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 312 Space before opening parenthesis of function call prohibited
warning 312 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 324 Last parameter comment requires a blank newline after it
error 324 Parameters must appear immediately after the comment
error 324 Expected 1 space before variable type
error 324 Expected 1 space after the longest type
warning 353 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 354 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 365 Last parameter comment requires a blank newline after it
error 365 Expected 1 space before variable type
error 365 Expected 1 space after the longest type
error 365 Expected 1 space after the longest variable name
error 375 Space before opening parenthesis of function call prohibited
warning 378 Line exceeds 85 characters; contains 95 characters
warning 388 Line exceeds 85 characters; contains 86 characters
error 392 Missing @category tag in class comment
error 392 Missing @author tag in class comment
error 392 Missing @license tag in class comment
error 392 Missing @link tag in class comment
error 417 There must be exactly one blank line before the tags in function comment
error 430 Last parameter comment requires a blank newline after it
error 430 Parameters must appear immediately after the comment
error 430 Expected 1 space before variable type
error 430 Expected 1 space after the longest type
warning 447 Line exceeds 85 characters; contains 110 characters
Sum 50 errors and 13 warnings