Coding Standards Report for Mail_Queue

Type Line Message
Package 296 errors and 70 warnings
/data/pear/pear/Mail_Queue/Queue/Container/mdb2.php
warning 40 PHP version not specified
error 40 Missing @category tag in file comment
error 40 Missing @package tag in file comment
error 40 Missing @author tag in file comment
error 40 Missing @license tag in file comment
error 40 Missing @link tag in file comment
error 65 Content of the @author tag must be in the form "Display Name "
error 66 The @version tag is in the wrong order; the tag follows @licence
error 70 Class name is not valid; consider Mail_Queue_Container_Mdb2 instead
error 99 Expected 1 space after the longest variable name
warning 113 Line exceeds 85 characters; contains 99 characters
warning 151 Line exceeds 85 characters; contains 91 characters
error 167 Opening brace should be on a new line
warning 196 Line exceeds 85 characters; contains 91 characters
warning 223 Line exceeds 85 characters; contains 109 characters
error 243 Expected 1 space after the longest variable name
error 244 The variable names for parameters $time_to_send (1) and $id_user (2) do not align
error 244 The comments for parameters $time_to_send (1) and $id_user (2) do not align
error 245 The variable names for parameters $id_user (2) and $ip (3) do not align
error 245 The comments for parameters $id_user (2) and $ip (3) do not align
error 246 The comments for parameters $ip (3) and $from (4) do not align
error 246 Doc comment var "$from" does not match actual variable name "$sender" at position 4
error 247 The comments for parameters $from (4) and $to (5) do not align
error 247 Doc comment var "$to" does not match actual variable name "$recipient" at position 5
error 248 The comments for parameters $to (5) and $hdrs (6) do not align
error 248 Doc comment var "$hdrs" does not match actual variable name "$headers" at position 6
error 250 The variable names for parameters $body (7) and $delete_after_send (8) do not align
error 250 The comments for parameters $body (7) and $delete_after_send (8) do not align
warning 283 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 298 Last parameter comment requires a blank newline after it
error 298 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
error 298 Missing comment for param "Mail_Queue_Body" at position 1
warning 309 Line exceeds 85 characters; contains 88 characters
warning 315 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 330 Last parameter comment requires a blank newline after it
error 330 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
warning 346 Line exceeds 85 characters; contains 87 characters
error 364 Last parameter comment requires a blank newline after it
error 364 Expected 1 space after the longest variable name
warning 376 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 390 Line exceeds 85 characters; contains 105 characters
error 404 Last parameter comment requires a blank newline after it
error 404 Expected 1 space after the longest variable name
warning 417 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Sum 32 errors and 12 warnings
/data/pear/pear/Mail_Queue/Queue/Container/db.php
warning 38 PHP version not specified
error 38 Missing @category tag in file comment
error 38 Missing @package tag in file comment
error 38 Missing @author tag in file comment
error 38 Missing @license tag in file comment
error 38 Missing @link tag in file comment
error 66 Content of the @author tag must be in the form "Display Name "
error 71 Class name is not valid; consider Mail_Queue_Container_Db instead
error 100 Expected 1 space after the longest variable name
warning 116 Line exceeds 85 characters; contains 99 characters
warning 121 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 160 Space before closing parenthesis of function call prohibited
warning 161 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 184 Line exceeds 85 characters; contains 109 characters
error 204 Expected 1 space after the longest variable name
error 205 The variable names for parameters $time_to_send (1) and $id_user (2) do not align
error 205 The comments for parameters $time_to_send (1) and $id_user (2) do not align
error 206 The variable names for parameters $id_user (2) and $ip (3) do not align
error 206 The comments for parameters $id_user (2) and $ip (3) do not align
error 207 The comments for parameters $ip (3) and $from (4) do not align
error 207 Doc comment var "$from" does not match actual variable name "$sender" at position 4
error 208 The comments for parameters $from (4) and $to (5) do not align
error 208 Doc comment var "$to" does not match actual variable name "$recipient" at position 5
error 209 The comments for parameters $to (5) and $hdrs (6) do not align
error 209 Doc comment var "$hdrs" does not match actual variable name "$headers" at position 6
error 211 The variable names for parameters $body (7) and $delete_after_send (8) do not align
error 211 The comments for parameters $body (7) and $delete_after_send (8) do not align
warning 236 Line exceeds 85 characters; contains 86 characters
error 248 Space before closing parenthesis of function call prohibited
error 265 Last parameter comment requires a blank newline after it
error 265 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
error 265 Missing comment for param "Mail_Queue_Body" at position 1
warning 272 Line exceeds 85 characters; contains 88 characters
error 279 Space before closing parenthesis of function call prohibited
error 296 Last parameter comment requires a blank newline after it
error 296 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
error 311 Space before closing parenthesis of function call prohibited
error 328 Last parameter comment requires a blank newline after it
error 328 Expected 1 space after the longest variable name
error 337 Space before closing parenthesis of function call prohibited
warning 338 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 352 Line exceeds 85 characters; contains 105 characters
error 366 Last parameter comment requires a blank newline after it
error 366 Expected 1 space after the longest variable name
error 376 Space before closing parenthesis of function call prohibited
warning 377 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Sum 36 errors and 10 warnings
/data/pear/pear/Mail_Queue/Queue/Container/mdb.php
warning 38 PHP version not specified
error 38 Missing @category tag in file comment
error 38 Missing @package tag in file comment
error 38 Missing @author tag in file comment
error 38 Missing @license tag in file comment
error 38 Missing @link tag in file comment
warning 104 Line exceeds 85 characters; contains 89 characters
warning 105 Line exceeds 85 characters; contains 109 characters
warning 116 Line exceeds 85 characters; contains 91 characters
warning 120 Line exceeds 85 characters; contains 102 characters
error 154 The @deprecated tag is in the wrong order; the tag follows @since (if used) or @see (if used) or @link
error 154 Content missing for deprecated tag in class comment
error 156 @category tag comment indented incorrectly. Expected 3 spaces but found 1.
error 157 @package tag comment indented incorrectly. Expected 4 spaces but found 2.
error 158 Content of the @author tag must be in the form "Display Name "
error 158 @author tag comment indented incorrectly. Expected 5 spaces but found 3.
error 159 The @version tag is in the wrong order; the tag follows @licence
error 159 @version tag comment indented incorrectly. Expected 4 spaces but found 2.
error 160 @license tag comment indented incorrectly. Expected 4 spaces but found 2.
error 161 @link tag comment indented incorrectly. Expected 7 spaces but found 5.
error 163 Class name is not valid; consider Mail_Queue_Container_Mdb instead
error 192 Expected 1 space after the longest variable name
warning 218 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 251 Line exceeds 85 characters; contains 90 characters
warning 253 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 282 Expected 1 space after the longest variable name
error 283 The comments for parameters $time_to_send (1) and $id_user (2) do not align
error 284 The comments for parameters $id_user (2) and $ip (3) do not align
error 285 The comments for parameters $ip (3) and $from (4) do not align
error 285 Doc comment var "$from" does not match actual variable name "$sender" at position 4
error 286 The comments for parameters $from (4) and $to (5) do not align
error 286 Doc comment var "$to" does not match actual variable name "$recipient" at position 5
error 287 The comments for parameters $to (5) and $hdrs (6) do not align
error 287 Doc comment var "$hdrs" does not match actual variable name "$headers" at position 6
error 289 Last parameter comment requires a blank newline after it
error 289 The comments for parameters $body (7) and $delete_after_send (8) do not align
warning 323 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 341 No space found after comma in function call
error 341 No space found after comma in function call
error 341 No space found after comma in function call
warning 342 Line exceeds 85 characters; contains 87 characters
error 366 Last parameter comment requires a blank newline after it
error 366 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
error 366 Missing comment for param "Mail_Queue_Body" at position 1
warning 381 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 397 Last parameter comment requires a blank newline after it
error 397 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
warning 409 Line exceeds 85 characters; contains 86 characters
error 429 Last parameter comment requires a blank newline after it
error 429 Expected 1 space after the longest variable name
warning 437 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 449 Line indented incorrectly; expected at least 8 spaces, found 0
error 450 Line indented incorrectly; expected at least 8 spaces, found 0
error 451 Line indented incorrectly; expected at least 8 spaces, found 0
warning 476 Line exceeds 85 characters; contains 89 characters
warning 486 Line exceeds 85 characters; contains 87 characters
warning 492 Line exceeds 85 characters; contains 86 characters
warning 494 Line exceeds 85 characters; contains 87 characters
warning 495 Line exceeds 85 characters; contains 92 characters
error 504 Line indented incorrectly; expected at least 8 spaces, found 0
warning 513 Line exceeds 85 characters; contains 105 characters
error 527 Last parameter comment requires a blank newline after it
error 527 Expected 1 space after the longest variable name
error 531 Opening brace should be on a new line
warning 534 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Sum 45 errors and 20 warnings
/data/pear/pear/Mail_Queue/Queue/Container/creole.php
warning 38 PHP version not specified
error 38 Missing @category tag in file comment
error 38 Missing @package tag in file comment
error 38 Missing @author tag in file comment
error 38 Missing @license tag in file comment
error 38 Missing @link tag in file comment
error 63 Content of the @author tag must be in the form "Display Name "
error 64 The @version tag is in the wrong order; the tag follows @licence
error 68 Class name is not valid; consider Mail_Queue_Container_Creole instead
error 99 Expected 1 space after the longest variable name
warning 105 Line exceeds 85 characters; contains 98 characters
warning 106 Line exceeds 85 characters; contains 88 characters
warning 119 Line exceeds 85 characters; contains 120 characters
warning 121 Line exceeds 85 characters; contains 91 characters
error 145 Space after opening parenthesis of function call prohibited
error 145 Space before closing parenthesis of function call prohibited
error 148 Space after opening parenthesis of function call prohibited
error 148 Space before closing parenthesis of function call prohibited
error 149 Space after opening parenthesis of function call prohibited
error 149 Space before closing parenthesis of function call prohibited
warning 155 Equals sign not aligned with surrounding assignments; expected 33 spaces but found 1 space
warning 164 Line exceeds 85 characters; contains 113 characters
error 189 Expected 1 space after the longest variable name
error 190 The variable names for parameters $time_to_send (1) and $id_user (2) do not align
error 190 The comments for parameters $time_to_send (1) and $id_user (2) do not align
error 191 The variable names for parameters $id_user (2) and $ip (3) do not align
error 191 The comments for parameters $id_user (2) and $ip (3) do not align
error 192 The comments for parameters $ip (3) and $from (4) do not align
error 192 Doc comment var "$from" does not match actual variable name "$sender" at position 4
error 193 The comments for parameters $from (4) and $to (5) do not align
error 193 Doc comment var "$to" does not match actual variable name "$recipient" at position 5
error 194 The comments for parameters $to (5) and $hdrs (6) do not align
error 194 Doc comment var "$hdrs" does not match actual variable name "$headers" at position 6
error 196 The variable names for parameters $body (7) and $delete_after_send (8) do not align
error 196 The comments for parameters $body (7) and $delete_after_send (8) do not align
warning 212 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 216 Space before closing parenthesis of function call prohibited
error 217 Space before closing parenthesis of function call prohibited
error 221 Space before closing parenthesis of function call prohibited
error 237 Last parameter comment requires a blank newline after it
error 237 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
error 237 Missing comment for param "Mail_Queue_Body" at position 1
warning 248 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 252 Space after opening parenthesis of function call prohibited
error 252 Space before closing parenthesis of function call prohibited
error 253 Space after opening parenthesis of function call prohibited
error 253 Space before closing parenthesis of function call prohibited
error 254 Space after opening parenthesis of function call prohibited
error 254 Space before closing parenthesis of function call prohibited
error 270 Last parameter comment requires a blank newline after it
error 270 Doc comment var "Mail_Queue_Body" does not match actual variable name "$mail" at position 1
error 286 Space after opening parenthesis of function call prohibited
error 286 Space before closing parenthesis of function call prohibited
error 287 Space after opening parenthesis of function call prohibited
error 287 Space before closing parenthesis of function call prohibited
error 288 Space after opening parenthesis of function call prohibited
error 288 Space before closing parenthesis of function call prohibited
error 304 Last parameter comment requires a blank newline after it
error 304 Expected 1 space after the longest variable name
error 314 Space after opening parenthesis of function call prohibited
error 314 Space before closing parenthesis of function call prohibited
error 315 Space after opening parenthesis of function call prohibited
error 315 Space before closing parenthesis of function call prohibited
warning 334 Line exceeds 85 characters; contains 105 characters
error 348 Last parameter comment requires a blank newline after it
error 348 Expected 1 space after the longest variable name
error 359 Space after opening parenthesis of function call prohibited
error 359 Space before closing parenthesis of function call prohibited
error 360 Space after opening parenthesis of function call prohibited
error 360 Space before closing parenthesis of function call prohibited
warning 376 Line exceeds 85 characters; contains 86 characters
warning 382 Line exceeds 85 characters; contains 89 characters
error 387 Space after opening parenthesis of function call prohibited
error 387 Space before closing parenthesis of function call prohibited
error 388 Space after opening parenthesis of function call prohibited
error 388 Space before closing parenthesis of function call prohibited
error 389 Space after opening parenthesis of function call prohibited
error 389 Space before closing parenthesis of function call prohibited
Sum 66 errors and 12 warnings
/data/pear/pear/Mail_Queue/Queue/Body.php
error 44 Content of the @author tag must be in the form "Display Name "
error 56 Content of the @author tag must be in the form "Display Name "
error 61 Opening brace of a class must be on the line after the definition
error 153 The variable names for parameters $id (1) and $create_time (2) do not align
error 153 The comments for parameters $id (1) and $create_time (2) do not align
error 154 The comments for parameters $create_time (2) and $time_to_send (3) do not align
error 155 The comments for parameters $time_to_send (3) and $sent_time (4) do not align
error 156 The variable names for parameters $sent_time (4) and $id_user (5) do not align
error 156 The comments for parameters $sent_time (4) and $id_user (5) do not align
error 157 The variable names for parameters $id_user (5) and $ip (6) do not align
error 157 The comments for parameters $id_user (5) and $ip (6) do not align
error 158 The comments for parameters $ip (6) and $sender (7) do not align
error 159 The comments for parameters $sender (7) and $recipient (8) do not align
error 160 The comments for parameters $recipient (8) and $headers (9) do not align
error 161 The comments for parameters $headers (9) and $body (10) do not align
error 162 The variable names for parameters $body (10) and $try_sent (11) do not align
error 162 The comments for parameters $body (10) and $try_sent (11) do not align
error 162 Doc comment var "$try_sent" does not match actual variable name "$delete_after_send" at position 11
error 162 Doc comment for "$try_sent" missing
Sum 19 errors and 0 warnings
/data/pear/pear/Mail_Queue/Queue/Container.php
error 44 Content of the @author tag must be in the form "Display Name "
error 45 The @version tag is in the wrong order; the tag follows @licence
error 63 Content of the @author tag must be in the form "Display Name "
error 93 Line indented incorrectly; expected at least 4 spaces, found 1
error 93 Spaces must be used to indent lines; tabs are not allowed
error 137 Line indented incorrectly; expected at least 8 spaces, found 2
error 137 Spaces must be used to indent lines; tabs are not allowed
error 138 Line indented incorrectly; expected at least 8 spaces, found 2
error 138 Spaces must be used to indent lines; tabs are not allowed
error 139 Line indented incorrectly; expected at least 8 spaces, found 2
error 139 Spaces must be used to indent lines; tabs are not allowed
error 148 Missing @return tag in function comment
error 177 Line indented incorrectly; expected at least 4 spaces, found 0
warning 178 Line exceeds 85 characters; contains 92 characters
warning 181 Line exceeds 85 characters; contains 86 characters
error 181 Line indented incorrectly; expected at least 4 spaces, found 2
error 187 Line indented incorrectly; expected at least 4 spaces, found 0
error 196 Expected 1 space after the longest type
error 198 The comments for parameters $offset (2) and $try (3) do not align
error 200 Last parameter comment requires a blank newline after it
error 200 The comments for parameters $try (3) and $force_preload (4) do not align
warning 208 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 209 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 210 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
error 220 Last parameter comment requires a blank newline after it
error 220 Doc comment var "MailBody" does not match actual variable name "$mail" at position 1
error 220 Missing comment for param "MailBody" at position 1
error 235 Last parameter comment requires a blank newline after it
error 235 Doc comment var "MailBody" does not match actual variable name "$mail" at position 1
error 250 Last parameter comment requires a blank newline after it
error 250 Expected 1 space after the longest variable name
error 265 Last parameter comment requires a blank newline after it
error 265 Expected 1 space after the longest variable name
warning 316 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 327 Last parameter comment requires a blank newline after it
error 327 Missing comment for param "$string" at position 1
Sum 30 errors and 6 warnings
/data/pear/pear/Mail_Queue/Queue/Error.php
error 72 Doc comment var "$debuginfo" does not match actual variable name "$file" at position 4
error 72 Doc comment for "$line" missing
error 72 Doc comment for "$debuginfo" missing
warning 78 Line exceeds 85 characters; contains 88 characters
Sum 3 errors and 1 warnings
/data/pear/pear/Mail_Queue/Queue.php
warning 64 Line exceeds 85 characters; contains 87 characters
error 78 Expected 1 space after comma in function call; 20 found
error 79 Expected 1 space after comma in function call; 10 found
error 80 Expected 1 space after comma in function call; 7 found
error 81 Expected 1 space after comma in function call; 2 found
error 82 Expected 1 space after comma in function call; 9 found
error 83 Expected 1 space after comma in function call; 5 found
error 84 Expected 1 space after comma in function call; 7 found
error 85 Expected 1 space after comma in function call; 9 found
error 86 Expected 1 space after comma in function call; 3 found
error 87 Expected 1 space after comma in function call; 6 found
error 175 Expected 1 space before variable type
error 175 Expected 1 space after the longest variable name
error 176 Expected 1 space before variable type
error 176 The comments for parameters $container_options (1) and $mail_options (2) do not align
warning 193 Line exceeds 85 characters; contains 90 characters
warning 199 Line exceeds 85 characters; contains 93 characters
warning 213 Line exceeds 85 characters; contains 98 characters
error 217 Expected "if (...) {\n"; found "if(...) {\n"
warning 218 Line exceeds 85 characters; contains 102 characters
error 229 The comments for parameters $container_options (1) and $mail_options (2) do not align
error 290 Expected 1 space after the longest variable name
error 291 Missing @return tag in function comment
error 301 Line indented incorrectly; expected at least 4 spaces, found 3
error 309 Expected 1 space after the longest variable name
error 310 Last parameter comment requires a blank newline after it
warning 311 Line exceeds 85 characters; contains 88 characters
error 327 Space after opening parenthesis of function call prohibited
error 331 Space before closing parenthesis of function call prohibited
error 348 Expected 1 space after the longest variable name
error 349 Last parameter comment requires a blank newline after it
error 349 Expected 1 space before variable type
error 349 The variable names for parameters $id (1) and $set_as_sent (2) do not align
error 349 The comments for parameters $id (1) and $set_as_sent (2) do not align
error 349 Missing comment for param "$set_as_sent" at position 2
error 369 Doc comment var "MailBody" does not match actual variable name "$mail" at position 1
error 369 Expected 1 space after the longest type
error 371 Expected 1 space before variable type
error 371 The variable names for parameters MailBody (0) and $set_as_sent (1) do not align
error 371 The comments for parameters MailBody (0) and $set_as_sent (1) do not align
error 371 Doc comment var "$set_as_sent" does not match actual variable name "$mail" at position 1
error 371 Missing comment for param "$set_as_sent" at position 1
error 371 Doc comment for "$set_as_sent" missing
error 423 Parameters must appear immediately after the comment
error 423 Doc comment var "$time_to_send" does not match actual variable name "$from" at position 1
error 423 Expected 1 space after the longest variable name
error 424 The comments for parameters $time_to_send (1) and $id_user (2) do not align
error 424 Doc comment var "$id_user" does not match actual variable name "$to" at position 2
error 425 The comments for parameters $id_user (2) and $ip (3) do not align
error 425 Doc comment var "$ip" does not match actual variable name "$hdrs" at position 3
error 426 Doc comment var "$from" does not match actual variable name "$body" at position 4
error 427 The variable names for parameters $from (4) and $to (5) do not align
error 427 Doc comment var "$to" does not match actual variable name "$sec_to_send" at position 5
error 428 The variable names for parameters $to (5) and $hdrs (6) do not align
error 428 Doc comment var "$hdrs" does not match actual variable name "$delete_after_send" at position 6
error 429 Last parameter comment requires a blank newline after it
error 429 Doc comment var "$body" does not match actual variable name "$id_user" at position 7
warning 435 Line exceeds 85 characters; contains 110 characters
error 441 Space after opening parenthesis of function call prohibited
error 450 Space before closing parenthesis of function call prohibited
error 459 Last parameter comment requires a blank newline after it
error 459 Expected 1 space after the longest variable name
error 475 Last parameter comment requires a blank newline after it
error 475 Expected 1 space before variable type
error 475 Expected 1 space after the longest type
error 475 Expected 1 space after the longest variable name
error 490 Last parameter comment requires a blank newline after it
error 490 Expected 1 space before variable type
error 490 Expected 1 space after the longest type
warning 504 Line exceeds 85 characters; contains 87 characters
error 553 Line indented incorrectly; expected at least 4 spaces, found 0
warning 557 Line exceeds 85 characters; contains 102 characters
error 561 Line indented incorrectly; expected at least 4 spaces, found 0
error 563 Line indented incorrectly; expected at least 4 spaces, found 0
Sum 65 errors and 9 warnings