Coding Standards Report for Crypt_HMAC2

Type Line Message
Package 66 errors and 20 warnings
/data/pear/pear/Crypt_HMAC2/HMAC2/Exception.php
error 36 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 37 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 38 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 39 @license tag comment indented incorrectly. Expected 2 spaces but found 5.
warning 40 Invalid version "$Id: Exception.php,v 1.1 2007/09/29 12:12:09 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 40 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 41 @link tag comment indented incorrectly. Expected 5 spaces but found 8.
error 52 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 53 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 54 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 55 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 56 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 57 The @link tag is in the wrong order; the tag follows @version
error 57 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
warning 58 Invalid version "@package_version@" in doc comment; consider "Release: " instead
error 58 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 62 Opening class brace must be on a line by itself
error 62 Closing brace must be on a line by itself
Sum 16 errors and 2 warnings
/data/pear/pear/Crypt_HMAC2/HMAC2.php
error 38 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 39 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 40 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 41 @license tag comment indented incorrectly. Expected 2 spaces but found 5.
warning 42 Invalid version "$Id: HMAC2.php,v 1.1 2007/09/29 12:12:09 padraic Exp $" in file comment; consider "CVS: " or "SVN: " instead
error 42 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 43 @link tag comment indented incorrectly. Expected 5 spaces but found 8.
error 64 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 65 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 66 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 67 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 68 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 69 The @link tag is in the wrong order; the tag follows @version
error 69 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
warning 70 Invalid version "@package_version@" in doc comment; consider "Release: " instead
error 70 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 81 Protected member variable "_key" must not be prefixed with an underscore
error 88 Protected member variable "_packFormat" must not be prefixed with an underscore
error 96 Protected member variable "_hashAlgorithm" must not be prefixed with an underscore
error 103 Protected member variable "_supportedHashNativeFunctions" must not be prefixed with an underscore
error 115 Protected member variable "_hashPackFormats" must not be prefixed with an underscore
error 125 Protected member variable "_supportedMhashAlgorithms" must not be prefixed with an underscore
warning 125 Line exceeds 85 characters; contains 87 characters
warning 126 Line exceeds 85 characters; contains 87 characters
error 138 Missing comment for param "$key" at position 1
error 139 The comments for parameters $key (1) and $hash (2) do not align
error 139 Missing comment for param "$hash" at position 2
error 154 Last parameter comment requires a blank newline after it
error 154 Missing comment for param "$key" at position 1
error 160 File is being conditionally included; use "include_once" instead
error 175 File is being conditionally included; use "include_once" instead
error 189 Last parameter comment requires a blank newline after it
error 189 Missing comment for param "$hash" at position 1
error 195 File is being conditionally included; use "include_once" instead
warning 198 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 203 Line exceeds 85 characters; contains 120 characters
warning 206 Line exceeds 85 characters; contains 152 characters
warning 208 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 211 File is being conditionally included; use "include_once" instead
warning 212 Line exceeds 85 characters; contains 153 characters
error 231 Missing comment for param "$data" at position 1
error 232 Last parameter comment requires a blank newline after it
error 232 The variable names for parameters $data (1) and $internal (2) do not align
error 232 The comments for parameters $data (1) and $internal (2) do not align
error 232 Doc comment var "$internal" does not match actual variable name "$output" at position 2
error 232 Doc comment for "$internal" missing
warning 239 Line exceeds 85 characters; contains 87 characters
warning 246 Line exceeds 85 characters; contains 108 characters
warning 248 Line exceeds 85 characters; contains 104 characters
warning 253 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 259 Line indented incorrectly; expected at least 12 spaces, found 11
warning 264 Line exceeds 85 characters; contains 135 characters
error 272 Last parameter comment requires a blank newline after it
error 272 Missing comment for param "$hashAlgorithm" at position 1
error 275 Protected method name "Crypt_HMAC2::_getMhashDefinition" must not be prefixed with an underscore
error 287 Missing comment for param "$hash" at position 1
error 288 The comments for parameters $hash (1) and $key (2) do not align
error 288 Missing comment for param "$key" at position 2
error 289 Last parameter comment requires a blank newline after it
error 289 The comments for parameters $key (2) and $mode (3) do not align
error 289 Missing comment for param "$mode" at position 3
error 292 Protected method name "Crypt_HMAC2::_digest" must not be prefixed with an underscore
Sum 48 errors and 14 warnings
/data/pear/pear/Crypt_HMAC2/generate_package_xml.php
error 2 Missing file doc comment
error 2 "require_once" is a statement, not a function; no parentheses are required
warning 24 Line exceeds 85 characters; contains 89 characters
warning 25 Line exceeds 85 characters; contains 258 characters
warning 39 Line exceeds 85 characters; contains 93 characters
warning 49 Line exceeds 85 characters; contains 90 characters
Sum 2 errors and 4 warnings