Coding Standards Report for Crypt_CBC

Type Line Message
Package 41 errors and 13 warnings
/data/pear/pear/Crypt_CBC/CBC.php
error 2 You must use "/**" style comments for a file comment
error 49 Opening brace of a class must be on the line after the definition
error 49 Missing class doc comment
warning 102 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 108 Equals sign not aligned correctly; expected 1 space but found 4 spaces
error 127 Expected 1 space before variable type
error 127 Doc comment var "encryption" does not match actual variable name "$key" at position 1
error 128 Expected 1 space before variable type
error 128 The comments for parameters encryption (1) and which (2) do not align
error 128 Doc comment var "which" does not match actual variable name "$cipher" at position 2
error 128 Expected 1 space after the longest type
error 141 Space before closing parenthesis of function call prohibited
error 145 Space before closing parenthesis of function call prohibited
warning 145 Line exceeds 85 characters; contains 102 characters
error 148 Line indented incorrectly; expected at least 12 spaces, found 3
error 148 Spaces must be used to indent lines; tabs are not allowed
error 149 Closing brace indented incorrectly; expected 8 spaces, found 2
error 149 Spaces must be used to indent lines; tabs are not allowed
error 149 Line indented incorrectly; expected 8 spaces, found 2
error 150 Line indented incorrectly; expected at least 12 spaces, found 3
error 150 Spaces must be used to indent lines; tabs are not allowed
error 151 Line indented incorrectly; expected at least 8 spaces, found 2
error 151 Spaces must be used to indent lines; tabs are not allowed
error 151 Line indented incorrectly; expected 8 spaces, found 2
error 153 Space before closing parenthesis of function call prohibited
warning 153 Line exceeds 85 characters; contains 96 characters
error 154 Closing brace indented incorrectly; expected 2 spaces, found 8
error 171 Space before closing parenthesis of function call prohibited
error 178 Space before opening parenthesis of function call prohibited
warning 178 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 180 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 185 Expected "while (...) {\n"; found "while(...) {\n"
error 210 Expected 1 space before variable type
error 210 Doc comment var "plaintext" does not match actual variable name "$clear" at position 1
error 210 Missing comment for param "plaintext" at position 1
error 234 Space before opening parenthesis of function call prohibited
warning 234 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 243 Space before closing parenthesis of function call prohibited
error 245 Space before closing parenthesis of function call prohibited
warning 246 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 261 Expected 1 space before variable type
error 261 Doc comment var "encrypted" does not match actual variable name "$crypt" at position 1
error 261 Expected 1 space after the longest type
error 269 Opening brace should be on a new line
warning 276 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 277 Space before opening parenthesis of function call prohibited
warning 277 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 292 Space before closing parenthesis of function call prohibited
warning 294 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 295 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 303 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 315 Expected 1 space before variable type
error 315 Doc comment var "string" does not match actual variable name "$string" at position 1
error 315 Expected 1 space after the longest type
Sum 41 errors and 13 warnings