Coding Standards Report for File_SMBPasswd

Type Line Message
Package 125 errors and 26 warnings
/data/pear/pear/File_SMBPasswd/SMBPasswd.php
error 2 You must use "/**" style comments for a file comment
error 69 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 69 @author tag comment indented incorrectly. Expected 3 spaces but found 1.
warning 71 Invalid version "0.9.0" in doc comment; consider "Release: " instead
error 71 The @version tag is in the wrong order; the tag follows @licence
error 71 @version tag comment indented incorrectly. Expected 2 spaces but found 1.
error 72 The @package tag is in the wrong order; the tag follows @category
error 72 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
error 74 Missing @license tag in class comment
error 74 Missing @link tag in class comment
error 75 Opening brace of a class must be on the line after the definition
error 105 Last parameter comment requires a blank newline after it
error 105 Parameters must appear immediately after the comment
error 105 Expected 1 space before variable type
error 105 Missing comment for param "$file" at position 1
warning 110 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 122 Space after closing parenthesis of function call prohibited
warning 133 Line exceeds 85 characters; contains 98 characters
error 156 Opening brace should be on a new line
error 166 Opening brace should be on a new line
error 173 Doc comment var "new" does not match actual variable name "$user" at position 1
error 174 The variable names for parameters new (1) and new (2) do not align
error 174 Doc comment var "new" does not match actual variable name "$userid" at position 2
error 175 The comments for parameters new (2) and LAN-Manager-Hash (3) do not align
error 175 Doc comment var "LAN-Manager-Hash" does not match actual variable name "$lmhash" at position 3
error 175 Missing comment for param "LAN-Manager-Hash" at position 3
error 176 The comments for parameters LAN-Manager-Hash (3) and NT-Hash (4) do not align
error 176 Doc comment var "NT-Hash" does not match actual variable name "$nthash" at position 4
error 176 Missing comment for param "NT-Hash" at position 4
error 177 The variable names for parameters NT-Hash (4) and Comment (5) do not align
error 177 Doc comment var "Comment" does not match actual variable name "$comment" at position 5
error 177 Missing comment for param "Comment" at position 5
error 178 The variable names for parameters Comment (5) and Account-flags (6) do not align
error 178 The comments for parameters Comment (5) and Account-flags (6) do not align
error 178 Doc comment var "Account-flags" does not match actual variable name "$flags" at position 6
warning 183 Line exceeds 85 characters; contains 118 characters
warning 185 Inline control structures are discouraged
warning 186 Inline control structures are discouraged
error 200 Space after opening parenthesis of function call prohibited
warning 200 Line exceeds 85 characters; contains 101 characters
error 207 Doc comment var "new" does not match actual variable name "$user" at position 1
error 208 The variable names for parameters new (1) and new (2) do not align
error 208 Doc comment var "new" does not match actual variable name "$userid" at position 2
error 209 The variable names for parameters new (2) and Plaintext (3) do not align
error 209 The comments for parameters new (2) and Plaintext (3) do not align
error 209 Doc comment var "Plaintext" does not match actual variable name "$pass" at position 3
error 210 The variable names for parameters Plaintext (3) and Comment (4) do not align
error 210 The comments for parameters Plaintext (3) and Comment (4) do not align
error 210 Doc comment var "Comment" does not match actual variable name "$comment" at position 4
error 210 Missing comment for param "Comment" at position 4
error 211 The variable names for parameters Comment (4) and Account-flags (5) do not align
error 211 The comments for parameters Comment (4) and Account-flags (5) do not align
error 211 Doc comment var "Account-flags" does not match actual variable name "$flags" at position 5
warning 216 Line exceeds 85 characters; contains 88 characters
error 219 Space after closing parenthesis of function call prohibited
warning 219 Line exceeds 85 characters; contains 89 characters
error 221 Space after opening parenthesis of function call prohibited
warning 224 Line exceeds 85 characters; contains 87 characters
warning 225 Line exceeds 85 characters; contains 88 characters
error 235 Doc comment var "new" does not match actual variable name "$user" at position 1
error 236 The variable names for parameters new (1) and new (2) do not align
error 236 Doc comment var "new" does not match actual variable name "$userid" at position 2
error 237 The variable names for parameters new (2) and Plaintext (3) do not align
error 237 The comments for parameters new (2) and Plaintext (3) do not align
error 237 Doc comment var "Plaintext" does not match actual variable name "$pass" at position 3
error 238 The variable names for parameters Plaintext (3) and Comment (4) do not align
error 238 The comments for parameters Plaintext (3) and Comment (4) do not align
error 238 Doc comment var "Comment" does not match actual variable name "$comment" at position 4
error 238 Missing comment for param "Comment" at position 4
error 251 Doc comment var "new" does not match actual variable name "$machine" at position 1
error 252 The variable names for parameters new (1) and new (2) do not align
error 252 Doc comment var "new" does not match actual variable name "$userid" at position 2
error 253 The variable names for parameters new (2) and Comment (3) do not align
error 253 The comments for parameters new (2) and Comment (3) do not align
error 253 Doc comment var "Comment" does not match actual variable name "$comment" at position 3
error 253 Missing comment for param "Comment" at position 3
warning 260 Line exceeds 85 characters; contains 95 characters
error 266 Doc comment var "new" does not match actual variable name "$user" at position 1
error 267 The variable names for parameters new (1) and new (2) do not align
error 267 Doc comment var "new" does not match actual variable name "$userid" at position 2
error 268 The comments for parameters new (2) and LAN-Manager-Hash (3) do not align
error 268 Doc comment var "LAN-Manager-Hash" does not match actual variable name "$lmhash" at position 3
error 268 Missing comment for param "LAN-Manager-Hash" at position 3
error 269 The comments for parameters LAN-Manager-Hash (3) and NT-Hash (4) do not align
error 269 Doc comment var "NT-Hash" does not match actual variable name "$nthash" at position 4
error 269 Missing comment for param "NT-Hash" at position 4
error 270 The variable names for parameters NT-Hash (4) and Comment (5) do not align
error 270 Doc comment var "Comment" does not match actual variable name "$comment" at position 5
error 270 Missing comment for param "Comment" at position 5
error 271 The variable names for parameters Comment (5) and Account-flags (6) do not align
error 271 The comments for parameters Comment (5) and Account-flags (6) do not align
error 271 Doc comment var "Account-flags" does not match actual variable name "$flags" at position 6
warning 276 Line exceeds 85 characters; contains 110 characters
warning 280 Inline control structures are discouraged
warning 281 Inline control structures are discouraged
warning 282 Inline control structures are discouraged
warning 283 Inline control structures are discouraged
warning 284 Inline control structures are discouraged
error 297 Space after opening parenthesis of function call prohibited
error 297 Space after closing parenthesis of function call prohibited
warning 297 Line exceeds 85 characters; contains 105 characters
error 304 Doc comment var "new" does not match actual variable name "$user" at position 1
error 305 The variable names for parameters new (1) and new (2) do not align
error 305 Doc comment var "new" does not match actual variable name "$userid" at position 2
error 306 The variable names for parameters new (2) and Plaintext (3) do not align
error 306 The comments for parameters new (2) and Plaintext (3) do not align
error 306 Doc comment var "Plaintext" does not match actual variable name "$pass" at position 3
error 307 The variable names for parameters Plaintext (3) and Comment (4) do not align
error 307 The comments for parameters Plaintext (3) and Comment (4) do not align
error 307 Doc comment var "Comment" does not match actual variable name "$comment" at position 4
error 307 Missing comment for param "Comment" at position 4
error 308 The variable names for parameters Comment (4) and Account-flags (5) do not align
error 308 The comments for parameters Comment (4) and Account-flags (5) do not align
error 308 Doc comment var "Account-flags" does not match actual variable name "$flags" at position 5
error 316 Space after closing parenthesis of function call prohibited
warning 316 Line exceeds 85 characters; contains 89 characters
error 318 Space after opening parenthesis of function call prohibited
warning 321 Line exceeds 85 characters; contains 87 characters
warning 322 Line exceeds 85 characters; contains 88 characters
error 328 Doc comment for "$user" missing
error 328 Doc comment for "$userid" missing
error 328 Doc comment for "$pass" missing
error 328 Doc comment for "$comment" missing
error 328 Doc comment for "$flags" missing
error 332 Missing @return tag in function comment
error 335 Line indented incorrectly; expected at least 8 spaces, found 7
error 341 Doc comment var "username" does not match actual variable name "$name" at position 1
error 341 Missing comment for param "username" at position 1
error 352 Space after opening parenthesis of function call prohibited
error 352 Space after closing parenthesis of function call prohibited
warning 352 Line exceeds 85 characters; contains 112 characters
error 356 Doc comment for "$user" missing
error 360 Missing @return tag in function comment
error 363 Line indented incorrectly; expected at least 8 spaces, found 7
error 371 Doc comment var "username" does not match actual variable name "$user" at position 1
error 371 Missing comment for param "username" at position 1
error 372 The variable names for parameters username (1) and NT-Hash (2) do not align
error 372 Doc comment var "NT-Hash" does not match actual variable name "$nthash" at position 2
error 373 The comments for parameters NT-Hash (2) and LAN-Manager-Hash (3) do not align
error 373 Doc comment var "LAN-Manager-Hash" does not match actual variable name "$lmhash" at position 3
error 399 Doc comment var "username" does not match actual variable name "$user" at position 1
error 399 Missing comment for param "username" at position 1
error 400 The comments for parameters username (1) and The (2) do not align
error 400 Doc comment var "The" does not match actual variable name "$pass" at position 2
error 407 Space after opening parenthesis of function call prohibited
warning 409 Line exceeds 85 characters; contains 88 characters
warning 410 Line exceeds 85 characters; contains 88 characters
warning 447 Line exceeds 85 characters; contains 91 characters
error 457 Doc comment var "Filename" does not match actual variable name "$file" at position 1
error 457 Missing comment for param "Filename" at position 1
error 495 Opening brace should be on a new line
Sum 125 errors and 26 warnings