Coding Standards Report for Net_Cyrus

Type Line Message
Package 138 errors and 46 warnings
/data/pear/pear/Net_Cyrus/Cyrus.php
error 2 You must use "/**" style comments for a file comment
error 20 "require_once" is a statement, not a function; no parentheses are required
error 30 Missing class doc comment
error 70 Expected 1 space after the longest variable name
warning 72 Line exceeds 85 characters; contains 100 characters
warning 74 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 75 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 76 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 77 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 78 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
error 81 Doc comment for "$user" missing
error 81 Doc comment for "$pass" missing
error 81 Doc comment for "$host" missing
error 81 Doc comment for "$port" missing
error 81 Doc comment for "$method" missing
error 86 Missing @return tag in function comment
warning 87 Line exceeds 85 characters; contains 91 characters
warning 90 Line exceeds 85 characters; contains 88 characters
error 91 Expected "if (...) {\n"; found "if(...){\n"
warning 91 Line exceeds 85 characters; contains 91 characters
error 92 Expected "if (...) {\n"; found "if (...){\n"
error 92 Space before closing parenthesis of function call prohibited
error 95 Expected "if (...) {\n"; found "if(...) {\n"
error 95 Space before closing parenthesis of function call prohibited
warning 95 Line exceeds 85 characters; contains 94 characters
error 98 Expected "} else {\n"; found "}else{\n"
error 105 Expected "if (...) {\n"; found "if (...){\n"
error 105 Space before closing parenthesis of function call prohibited
error 108 Expected "if (...) {\n"; found "if(...) {\n"
error 108 Space before closing parenthesis of function call prohibited
error 119 Doc comment for "$msg" missing
error 119 Doc comment for "$code" missing
error 129 Line indented incorrectly; expected at least 8 spaces, found 4
error 130 Line indented incorrectly; expected at least 8 spaces, found 4
error 137 There must be exactly one blank line before the tags in function comment
error 138 Missing @return tag in function comment
error 150 Expected 1 space after the longest variable name
error 168 Expected 1 space after the longest variable name
error 173 Missing @return tag in function comment
error 186 Expected 1 space after the longest variable name
error 194 Expected "if (...) {\n"; found "if(...){\n"
error 194 Expected 1 space before = sign of default value
error 194 Expected 1 space after = sign of default value
error 204 Expected 1 space after the longest variable name
error 205 The variable names for parameters $mailbox (1) and $quota (2) do not align
error 205 The comments for parameters $mailbox (1) and $quota (2) do not align
error 217 Expected 1 space after the longest variable name
error 218 Last parameter comment requires a blank newline after it
error 220 Missing @return tag in function comment
warning 224 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 236 Expected 1 space after the longest variable name
error 237 Expected 1 space before variable type
error 237 The comments for parameters $mailbox (1) and $user (2) do not align
warning 245 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 0 spaces
warning 246 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 247 Expected "if (...) {\n"; found "if(...){\n"
error 248 Expected "foreach (...) {\n"; found "foreach(...){\n"
error 249 Expected "if (...) {\n"; found "if(...){\n"
warning 250 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 251 Expected "} else {\n"; found "}else{\n"
error 252 Expected "if (...) {\n"; found "if(...){\n"
error 258 Expected "} else {\n"; found "}else{\n"
error 269 Expected 1 space after the longest variable name
error 287 Expected 1 space after the longest variable name
error 288 Last parameter comment requires a blank newline after it
error 304 Expected 1 space after the longest variable name
error 305 Last parameter comment requires a blank newline after it
error 320 Expected 1 space after the longest variable name
error 330 Expected "if (...) {\n"; found "if(...){\n"
error 330 Space after opening parenthesis of function call prohibited
error 330 Space before closing parenthesis of function call prohibited
warning 330 Line exceeds 85 characters; contains 94 characters
error 342 Expected 1 space after the longest variable name
error 350 Expected "if (...) {\n"; found "if(...){\n"
error 350 Space after opening parenthesis of function call prohibited
error 350 Space before closing parenthesis of function call prohibited
error 360 Doc comment var "$prepend" does not match actual variable name "$folderMask" at position 1
error 360 Expected 1 space after the longest variable name
error 367 Expected "if (...) {\n"; found "if(...){\n"
error 368 Space after opening parenthesis of function call prohibited
error 371 Space before closing parenthesis of function call prohibited
error 371 Space found before comma in function call
error 371 Space found before comma in function call
warning 384 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 385 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 0 spaces
error 386 Expected "if (...) {\n"; found "if(...){\n"
error 386 Space after opening parenthesis of function call prohibited
error 386 Space before closing parenthesis of function call prohibited
warning 391 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 392 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces
error 402 Expected 1 space after the longest variable name
warning 403 Line exceeds 85 characters; contains 90 characters
error 403 Last parameter comment requires a blank newline after it
error 403 The variable names for parameters $user_name (1) and $append_userPart (2) do not align
error 403 The comments for parameters $user_name (1) and $append_userPart (2) do not align
error 406 Missing @return tag in function comment
error 409 Expected "if (...) {\n"; found "if(...){\n"
error 409 Line indented incorrectly; expected 8 spaces, found 9
error 409 No space found after comma in function call
error 409 No space found after comma in function call
error 410 No space found after comma in function call
warning 410 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces
warning 411 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 412 Closing brace indented incorrectly; expected 9 spaces, found 8
error 413 Expected "if (...) {\n"; found "if(...){\n"
error 415 Expected "} else {\n"; found "}else{\n"
error 428 Expected 1 space after the longest variable name
warning 435 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 445 Expected 1 space after the longest variable name
error 453 Expected "if (...) {\n"; found "if(...){\n"
error 454 Space found before comma in function call
warning 456 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 462 Line indented incorrectly; expected at least 4 spaces, found 3
error 465 Doc comment var "$mailbox" does not match actual variable name "$user_name" at position 1
error 465 Expected 1 space after the longest variable name
error 483 Expected 1 space after the longest variable name
error 493 No space found after comma in function call
error 494 No space found after comma in function call
warning 501 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces
warning 502 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 507 Line exceeds 85 characters; contains 97 characters
warning 507 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 0 spaces
warning 508 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 521 Line exceeds 85 characters; contains 92 characters
error 538 Expected 1 space after the longest variable name
Sum 95 errors and 30 warnings
/data/pear/pear/Net_Cyrus/test_cyrus.php
error 2 You must use "/**" style comments for a file comment
error 30 "require_once" is a statement, not a function; no parentheses are required
warning 35 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces
warning 36 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
warning 37 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces
warning 38 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 0 spaces
warning 42 Line exceeds 85 characters; contains 100 characters
error 44 "require_once" is a statement, not a function; no parentheses are required
warning 48 Equals sign not aligned correctly; expected 1 space but found 0 spaces
error 51 Expected "if (...) {\n"; found "if(...){\n"
error 51 Space before closing parenthesis of function call prohibited
error 51 Expected 1 space before = sign of default value
error 51 No space found after comma in function call
error 51 No space found after comma in function call
warning 67 Equals sign not aligned correctly; expected 1 space but found 0 spaces
warning 100 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 0 spaces
warning 101 Equals sign not aligned with surrounding assignments; expected 1 space but found 0 spaces
error 105 Expected "if (...) {\n"; found "if(...){\n"
error 105 Expected 1 space before = sign of default value
error 105 Expected 1 space after = sign of default value
warning 106 Line exceeds 85 characters; contains 89 characters
error 107 Expected "} else {\n"; found "}else{\n"
error 114 Expected "if (...) {\n"; found "if(...){\n"
error 114 Expected 1 space before = sign of default value
error 114 Expected 1 space after = sign of default value
warning 115 Line exceeds 85 characters; contains 98 characters
error 116 Expected "} else {\n"; found "}else{\n"
error 126 Expected "if (...) {\n"; found "if(...){\n"
error 126 Space before closing parenthesis of function call prohibited
error 126 Expected 1 space before = sign of default value
error 126 Expected 1 space after = sign of default value
error 126 Space after opening parenthesis of function call prohibited
error 126 Space before closing parenthesis of function call prohibited
warning 127 Line exceeds 85 characters; contains 89 characters
error 128 Expected "} else {\n"; found "}else{\n"
error 134 Expected "if (...) {\n"; found "if(...){\n"
error 134 Space before closing parenthesis of function call prohibited
error 134 Expected 1 space before = sign of default value
error 134 Expected 1 space after = sign of default value
error 134 Space after opening parenthesis of function call prohibited
error 134 Space before closing parenthesis of function call prohibited
warning 134 Line exceeds 85 characters; contains 91 characters
warning 135 Line exceeds 85 characters; contains 89 characters
error 136 Expected "} else {\n"; found "}else{\n"
error 148 Expected "if (...) {\n"; found "if(...){\n"
error 150 Expected "} else {\n"; found "}else{\n"
error 155 Expected "if (...) {\n"; found "if(...){\n"
error 157 Expected "} else {\n"; found "}else{\n"
error 167 Space before closing parenthesis of function call prohibited
error 173 Expected "if (...) {\n"; found "if(...){\n"
error 173 Expected 1 space before = sign of default value
error 173 Expected 1 space after = sign of default value
warning 174 Line exceeds 85 characters; contains 89 characters
error 175 Expected "} else {\n"; found "}else{\n"
error 181 Expected "if (...) {\n"; found "if(...){\n"
error 181 Expected 1 space before = sign of default value
error 181 Expected 1 space after = sign of default value
warning 182 Line exceeds 85 characters; contains 98 characters
error 183 Expected "} else {\n"; found "}else{\n"
Sum 43 errors and 16 warnings