Coding Standards Report for Mail

Type Line Message
Package 189 errors and 122 warnings
/data/pear/pear/Mail/Mail/RFC822.php
error 2 You must use "/**" style comments for a file comment
warning 49 Line exceeds 85 characters; contains 114 characters
error 53 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 55 Invalid version "$Revision: 1.24 $" in doc comment; consider "Release: " instead
error 55 The @version tag is in the wrong order; the tag follows @licence
error 56 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 56 @license tag must contain a URL and a license name
error 58 Missing @category tag in class comment
error 58 Missing @link tag in class comment
error 59 Opening brace of a class must be on the line after the definition
error 134 Parameters must appear immediately after the comment
warning 135 Line exceeds 85 characters; contains 106 characters
error 135 Expected 1 space after the longest variable name
warning 136 Line exceeds 85 characters; contains 109 characters
warning 137 Line exceeds 85 characters; contains 166 characters
error 137 Doc comment for "$limit" missing
warning 141 Line exceeds 85 characters; contains 119 characters
warning 143 Inline control structures are discouraged
warning 144 Inline control structures are discouraged
warning 145 Inline control structures are discouraged
warning 146 Inline control structures are discouraged
warning 147 Inline control structures are discouraged
error 155 Parameters must appear immediately after the comment
error 156 Expected 1 space after the longest variable name
warning 157 Line exceeds 85 characters; contains 109 characters
warning 158 Line exceeds 85 characters; contains 166 characters
error 158 Doc comment for "$limit" missing
warning 162 Line exceeds 85 characters; contains 124 characters
warning 165 Line exceeds 85 characters; contains 95 characters
warning 169 Inline control structures are discouraged
warning 170 Inline control structures are discouraged
warning 171 Inline control structures are discouraged
warning 172 Inline control structures are discouraged
warning 173 Inline control structures are discouraged
warning 175 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 176 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 177 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
warning 178 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
warning 184 Inline control structures are discouraged
error 187 File is being conditionally included; use "include_once" instead
error 197 File is being conditionally included; use "include_once" instead
error 215 Last parameter comment requires a blank newline after it
error 215 Parameters must appear immediately after the comment
error 272 Expected "if (...) {\n"; found "if (...){\n"
error 291 Last parameter comment requires a blank newline after it
error 291 Parameters must appear immediately after the comment
error 315 Parameters must appear immediately after the comment
error 316 Last parameter comment requires a blank newline after it
error 316 The variable names for parameters $parts (1) and $char (2) do not align
warning 317 Line exceeds 85 characters; contains 101 characters
warning 332 Line exceeds 85 characters; contains 86 characters
error 348 Last parameter comment requires a blank newline after it
error 348 Parameters must appear immediately after the comment
error 348 Expected 1 space after the longest variable name
warning 354 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 355 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 357 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 385 Parameters must appear immediately after the comment
error 386 Last parameter comment requires a blank newline after it
warning 387 Line exceeds 85 characters; contains 94 characters
warning 398 Line exceeds 85 characters; contains 95 characters
error 409 Parameters must appear immediately after the comment
error 410 The variable names for parameters $string (1) and &$num (2) do not align
error 410 The comments for parameters $string (1) and &$num (2) do not align
error 411 Last parameter comment requires a blank newline after it
error 411 The variable names for parameters &$num (2) and $char (3) do not align
error 411 The comments for parameters &$num (2) and $char (3) do not align
warning 412 Line exceeds 85 characters; contains 94 characters
error 417 Expected "for (...) {\n"; found "for (...){\n"
warning 418 Line exceeds 85 characters; contains 88 characters
warning 418 Inline control structures are discouraged
warning 420 Inline control structures are discouraged
error 431 Last parameter comment requires a blank newline after it
error 431 Parameters must appear immediately after the comment
warning 432 Line exceeds 85 characters; contains 95 characters
warning 436 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 448 Expected "if (...) {\n"; found "if (...){\n"
warning 455 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 460 Line exceeds 85 characters; contains 95 characters
warning 467 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 7 spaces
warning 468 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 469 Line exceeds 85 characters; contains 103 characters
error 478 Expected "if (...) {\n"; found "if (...){\n"
error 508 Line indented incorrectly; expected at least 12 spaces, found 8
error 524 Last parameter comment requires a blank newline after it
error 524 Parameters must appear immediately after the comment
error 533 Expected "while (...) {\n"; found "while (...){\n"
warning 535 Inline control structures are discouraged
warning 549 Inline control structures are discouraged
error 565 Last parameter comment requires a blank newline after it
error 565 Parameters must appear immediately after the comment
error 598 Last parameter comment requires a blank newline after it
error 598 Parameters must appear immediately after the comment
error 616 Last parameter comment requires a blank newline after it
error 616 Parameters must appear immediately after the comment
warning 622 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 2 spaces
warning 623 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 629 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 639 Line exceeds 85 characters; contains 96 characters
warning 639 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 653 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 654 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 3 spaces
warning 659 Line exceeds 85 characters; contains 128 characters
error 663 Line indented incorrectly; expected at least 12 spaces, found 8
warning 685 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 686 Equals sign not aligned with surrounding assignments; expected 28 spaces but found 4 spaces
error 705 Last parameter comment requires a blank newline after it
error 705 Parameters must appear immediately after the comment
warning 706 Line exceeds 85 characters; contains 109 characters
error 720 Expected "if (...) {\n"; found "if (...){\n"
error 755 Last parameter comment requires a blank newline after it
error 755 Parameters must appear immediately after the comment
warning 765 Inline control structures are discouraged
error 778 Last parameter comment requires a blank newline after it
error 778 Parameters must appear immediately after the comment
warning 788 Inline control structures are discouraged
warning 793 Inline control structures are discouraged
error 806 Last parameter comment requires a blank newline after it
error 806 Parameters must appear immediately after the comment
error 811 Expected "if (...) {\n"; found "if (...){\n"
warning 812 Inline control structures are discouraged
warning 814 Inline control structures are discouraged
error 826 Last parameter comment requires a blank newline after it
error 826 Parameters must appear immediately after the comment
warning 831 Line exceeds 85 characters; contains 92 characters
error 840 Last parameter comment requires a blank newline after it
error 840 Parameters must appear immediately after the comment
error 853 Line indented incorrectly; expected at least 12 spaces, found 8
warning 859 Line exceeds 85 characters; contains 91 characters
warning 859 Inline control structures are discouraged
warning 860 Inline control structures are discouraged
error 871 Last parameter comment requires a blank newline after it
error 871 Parameters must appear immediately after the comment
error 871 Missing comment for param "$local_part" at position 1
error 880 Expected "while (...) {\n"; found "while (...){\n"
error 890 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 895 Inline control structures are discouraged
error 909 Last parameter comment requires a blank newline after it
error 909 Expected 1 space before variable type
error 925 Expected 1 space before variable type
error 926 Last parameter comment requires a blank newline after it
error 926 Expected 1 space before variable type
warning 932 Line exceeds 85 characters; contains 156 characters
Sum 76 errors and 67 warnings
/data/pear/pear/Mail/Mail/mail.php
error 2 You must use "/**" style comments for a file comment
error 23 There must be exactly one blank line before the tags in class comments
warning 24 Invalid version "$Revision: 1.20 $" in doc comment; consider "Release: " instead
error 25 Missing @category tag in class comment
error 25 Missing @author tag in class comment
error 25 Missing @license tag in class comment
error 25 Missing @link tag in class comment
error 26 Opening brace of a class must be on the line after the definition
error 26 Class name is not valid; consider Mail_Mail instead
error 74 The comments for parameters $recipients (1) and $headers (2) do not align
error 81 The variable names for parameters $headers (2) and $body (3) do not align
error 81 The comments for parameters $headers (2) and $body (3) do not align
Sum 11 errors and 1 warnings
/data/pear/pear/Mail/Mail/null.php
error 2 You must use "/**" style comments for a file comment
error 24 There must be exactly one blank line before the tags in class comments
warning 26 Invalid version "$Revision: 1.2 $" in doc comment; consider "Release: " instead
error 27 Missing @category tag in class comment
error 27 Missing @author tag in class comment
error 27 Missing @license tag in class comment
error 27 Missing @link tag in class comment
error 28 Opening brace of a class must be on the line after the definition
error 28 Class name is not valid; consider Mail_Null instead
error 40 The comments for parameters $recipients (1) and $headers (2) do not align
error 47 The variable names for parameters $headers (2) and $body (3) do not align
error 47 The comments for parameters $headers (2) and $body (3) do not align
Sum 11 errors and 1 warnings
/data/pear/pear/Mail/Mail/sendmail.php
error 2 You must use "/**" style comments for a file comment
error 21 There must be exactly one blank line before the tags in class comments
warning 23 Invalid version "$Revision: 1.19 $" in doc comment; consider "Release: " instead
error 24 Missing @category tag in class comment
error 24 Missing @author tag in class comment
error 24 Missing @license tag in class comment
error 24 Missing @link tag in class comment
error 25 Opening brace of a class must be on the line after the definition
error 25 Class name is not valid; consider Mail_Sendmail instead
error 55 Last parameter comment requires a blank newline after it
error 90 The comments for parameters $recipients (1) and $headers (2) do not align
error 97 The variable names for parameters $headers (2) and $body (3) do not align
error 97 The comments for parameters $headers (2) and $body (3) do not align
warning 141 Line exceeds 85 characters; contains 89 characters
warning 145 Line exceeds 85 characters; contains 145 characters
warning 147 Line exceeds 85 characters; contains 109 characters
Sum 12 errors and 4 warnings
/data/pear/pear/Mail/Mail/smtp.php
error 2 You must use "/**" style comments for a file comment
error 43 There must be exactly one blank line before the tags in class comments
warning 45 Invalid version "$Revision: 1.33 $" in doc comment; consider "Release: " instead
error 46 Missing @category tag in class comment
error 46 Missing @author tag in class comment
error 46 Missing @license tag in class comment
error 46 Missing @link tag in class comment
error 47 Opening brace of a class must be on the line after the definition
error 47 Class name is not valid; consider Mail_Smtp instead
error 160 Last parameter comment requires a blank newline after it
error 160 Doc comment var "Hash" does not match actual variable name "$params" at position 1
warning 166 Inline control structures are discouraged
warning 166 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 167 Inline control structures are discouraged
warning 167 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 168 Inline control structures are discouraged
warning 168 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 169 Inline control structures are discouraged
warning 169 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 170 Inline control structures are discouraged
warning 170 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 171 Inline control structures are discouraged
warning 171 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 172 Inline control structures are discouraged
warning 172 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 173 Inline control structures are discouraged
warning 173 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 174 Inline control structures are discouraged
warning 174 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 175 Line exceeds 85 characters; contains 90 characters
warning 175 Inline control structures are discouraged
warning 179 Line exceeds 85 characters; contains 108 characters
error 203 The comments for parameters $recipients (1) and $headers (2) do not align
error 210 The variable names for parameters $headers (2) and $body (3) do not align
error 210 The comments for parameters $headers (2) and $body (3) do not align
error 355 Doc comment var "Extension" does not match actual variable name "$keyword" at position 1
error 356 The comments for parameters Extension (1) and Any (2) do not align
error 356 Doc comment var "Any" does not match actual variable name "$value" at position 2
error 360 Missing @return tag in function comment
error 389 Doc comment var "$error" does not match actual variable name "&$error" at position 2
Sum 18 errors and 22 warnings
/data/pear/pear/Mail/Mail/smtpmx.php
error 17 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 18 Package name "Mail_smtpmx" is not valid; consider "Mail_Smtpmx" instead
error 18 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 19 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 20 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 21 @license tag comment indented incorrectly. Expected 3 spaces but found 4.
error 22 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 23 @see tag comment indented incorrectly. Expected 7 spaces but found 8.
error 24 Missing @link tag in file comment
error 29 There must be exactly one blank line before the tags in class comments
error 33 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 35 Invalid version "$Revision: 1.2 $" in doc comment; consider "Release: " instead
error 36 Missing @category tag in class comment
error 36 Missing @license tag in class comment
error 36 Missing @link tag in class comment
error 37 Opening brace of a class must be on the line after the definition
error 37 Class name is not valid; consider Mail_Smtpmx instead
warning 128 Line exceeds 85 characters; contains 109 characters
warning 160 Line exceeds 85 characters; contains 94 characters
warning 173 Line exceeds 85 characters; contains 108 characters
warning 174 Line exceeds 85 characters; contains 97 characters
warning 180 Line exceeds 85 characters; contains 104 characters
error 186 Last parameter comment requires a blank newline after it
error 186 Parameters must appear immediately after the comment
error 186 Doc comment var "Hash" does not match actual variable name "$params" at position 1
warning 197 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 209 Inline control structures are discouraged
warning 209 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 210 Inline control structures are discouraged
warning 210 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 211 Inline control structures are discouraged
warning 211 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 212 Inline control structures are discouraged
warning 212 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 213 Inline control structures are discouraged
error 220 Last parameter comment requires a blank newline after it
error 220 Parameters must appear immediately after the comment
error 220 Doc comment var "Hash" does not match actual variable name "$params" at position 1
error 245 Parameters must appear immediately after the comment
error 246 The comments for parameters $recipients (1) and $headers (2) do not align
error 247 Last parameter comment requires a blank newline after it
error 247 The variable names for parameters $headers (2) and $body (3) do not align
error 247 The comments for parameters $headers (2) and $body (3) do not align
warning 338 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 354 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 384 Last parameter comment requires a blank newline after it
error 384 Parameters must appear immediately after the comment
warning 408 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 453 Parameters must appear immediately after the comment
error 454 Last parameter comment requires a blank newline after it
error 454 The variable names for parameters $id (1) and $info (2) do not align
error 454 The comments for parameters $id (1) and $info (2) do not align
error 456 Missing @return tag in function comment
warning 460 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 464 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Sum 34 errors and 21 warnings
/data/pear/pear/Mail/Mail/mock.php
error 2 You must use "/**" style comments for a file comment
error 24 There must be exactly one blank line before the tags in class comments
warning 26 Invalid version "$Revision: 1.1 $" in doc comment; consider "Release: " instead
error 27 Missing @category tag in class comment
error 27 Missing @author tag in class comment
error 27 Missing @license tag in class comment
error 27 Missing @link tag in class comment
error 28 Opening brace of a class must be on the line after the definition
error 28 Class name is not valid; consider Mail_Mock instead
error 60 Last parameter comment requires a blank newline after it
error 60 Doc comment var "Hash" does not match actual variable name "$params" at position 1
error 86 The comments for parameters $recipients (1) and $headers (2) do not align
error 93 The variable names for parameters $headers (2) and $body (3) do not align
error 93 The comments for parameters $headers (2) and $body (3) do not align
warning 108 Line exceeds 85 characters; contains 92 characters
warning 108 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
Sum 13 errors and 3 warnings
/data/pear/pear/Mail/Mail.php
error 2 You must use "/**" style comments for a file comment
warning 29 Invalid version "$Revision: 1.20 $" in doc comment; consider "Release: " instead
error 29 The @version tag is in the wrong order; the tag follows @licence
error 31 Missing @category tag in class comment
error 31 Missing @author tag in class comment
error 31 Missing @license tag in class comment
error 31 Missing @link tag in class comment
error 45 Last parameter comment requires a blank newline after it
error 72 The comments for parameters $recipients (1) and $headers (2) do not align
error 79 The variable names for parameters $headers (2) and $body (3) do not align
error 79 The comments for parameters $headers (2) and $body (3) do not align
error 124 Doc comment var "$headers" does not match actual variable name "&$headers" at position 1
error 127 Missing @return tag in function comment
warning 156 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 161 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 182 Expected "} else {\n"; found "}\n else {\n"
error 207 Doc comment var "Either" does not match actual variable name "$recipients" at position 1
Sum 14 errors and 3 warnings