Coding Standards Report for HTTP_Request

Type Line Message
Package 289 errors and 92 warnings
/data/pear/pear/HTTP_Request/Request/Listener.php
error 37 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 38 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 39 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 40 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 41 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 42 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 43 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 52 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 53 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 54 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 55 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 56 Missing @license tag in class comment
error 56 Missing @link tag in class comment
error 58 Expected 0 spaces before opening brace; 1 found
error 59 Line indented incorrectly; expected at least 4 spaces, found 3
error 65 Line indented incorrectly; expected at least 4 spaces, found 3
error 76 Line indented incorrectly; expected at least 4 spaces, found 3
error 88 Line indented incorrectly; expected at least 4 spaces, found 3
error 92 Parameters must appear immediately after the comment
error 92 Expected 1 space before variable type
error 92 Doc comment var "an" does not match actual variable name "&$subject" at position 1
error 92 Expected 1 space after the longest type
error 93 Expected 1 space before variable type
error 93 The comments for parameters an (1) and Event (2) do not align
error 93 Doc comment var "Event" does not match actual variable name "$event" at position 2
error 94 Last parameter comment requires a blank newline after it
error 94 Expected 1 space before variable type
error 94 The comments for parameters Event (2) and Additional (3) do not align
error 94 Doc comment var "Additional" does not match actual variable name "$data" at position 3
error 96 Missing @return tag in function comment
Sum 30 errors and 0 warnings
/data/pear/pear/HTTP_Request/Request.php
error 37 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 38 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 39 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 40 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 41 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 42 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 43 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 44 @link tag comment indented incorrectly. Expected 6 spaces but found 8.
error 63 Expected 1 space after comma in function call; 5 found
error 63 Expected 1 space after comma in function call; 5 found
error 64 Expected 1 space after comma in function call; 4 found
error 64 Expected 1 space after comma in function call; 4 found
error 65 Expected 1 space after comma in function call; 4 found
error 65 Expected 1 space after comma in function call; 4 found
error 66 Expected 1 space after comma in function call; 5 found
error 66 Expected 1 space after comma in function call; 5 found
error 67 Expected 1 space after comma in function call; 2 found
error 67 Expected 1 space after comma in function call; 2 found
error 69 Expected 1 space after comma in function call; 3 found
error 69 Expected 1 space after comma in function call; 3 found
error 75 Expected 1 space after comma in function call; 13 found
error 76 Expected 1 space after comma in function call; 14 found
error 77 Expected 1 space after comma in function call; 12 found
error 78 Expected 1 space after comma in function call; 8 found
error 79 Expected 1 space after comma in function call; 8 found
error 80 Expected 1 space after comma in function call; 5 found
error 81 Expected 1 space after comma in function call; 7 found
error 82 Expected 1 space after comma in function call; 6 found
error 83 Expected 1 space after comma in function call; 7 found
error 94 Line indented incorrectly; expected at least 4 spaces, found 3
error 99 Line indented incorrectly; expected at least 4 spaces, found 3
error 115 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 116 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 117 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 118 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 119 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 120 Missing @license tag in class comment
error 120 Missing @link tag in class comment
error 123 Line indented incorrectly; expected at least 4 spaces, found 3
error 198 Line indented incorrectly; expected at least 4 spaces, found 3
error 204 Line indented incorrectly; expected at least 4 spaces, found 3
error 210 Line indented incorrectly; expected at least 4 spaces, found 3
error 220 Line indented incorrectly; expected at least 4 spaces, found 3
error 256 Line indented incorrectly; expected at least 4 spaces, found 3
error 262 Line indented incorrectly; expected at least 4 spaces, found 3
error 268 Line indented incorrectly; expected at least 4 spaces, found 3
error 274 Line indented incorrectly; expected at least 4 spaces, found 3
error 280 Line indented incorrectly; expected at least 4 spaces, found 3
error 285 Line indented incorrectly; expected at least 4 spaces, found 3
error 291 Expected 1 space before variable type
error 291 Doc comment var "The" does not match actual variable name "$url" at position 1
error 291 Expected 1 space after the longest type
error 291 There must be exactly one blank line before the tags in function comment
warning 292 Line exceeds 85 characters; contains 90 characters
error 292 Last parameter comment requires a blank newline after it
error 292 Expected 1 space before variable type
error 292 The comments for parameters The (1) and Associative (2) do not align
error 292 Doc comment var "Associative" does not match actual variable name "$params" at position 2
warning 306 Line exceeds 85 characters; contains 98 characters
warning 307 Line exceeds 85 characters; contains 116 characters
warning 344 Line exceeds 85 characters; contains 91 characters
warning 351 Line exceeds 85 characters; contains 107 characters
warning 356 Line exceeds 85 characters; contains 125 characters
warning 373 Line exceeds 85 characters; contains 89 characters
warning 376 Line exceeds 85 characters; contains 97 characters
warning 379 Line exceeds 85 characters; contains 144 characters
error 393 Expected 1 space before variable type
error 394 Last parameter comment requires a blank newline after it
error 394 Expected 1 space before variable type
error 398 Missing @return tag in function comment
error 407 Last parameter comment requires a blank newline after it
error 407 Expected 1 space before variable type
error 407 Doc comment var "The" does not match actual variable name "$url" at position 1
error 409 Missing @return tag in function comment
error 428 Line indented incorrectly; expected at least 4 spaces, found 3
error 442 Doc comment var "Proxy" does not match actual variable name "$host" at position 1
error 442 Expected 1 space after the longest type
error 443 Doc comment var "Proxy" does not match actual variable name "$port" at position 2
error 444 Doc comment var "Proxy" does not match actual variable name "$user" at position 3
error 445 Last parameter comment requires a blank newline after it
error 445 Doc comment var "Proxy" does not match actual variable name "$pass" at position 4
error 447 Missing @return tag in function comment
warning 456 Line exceeds 85 characters; contains 99 characters
error 463 Doc comment var "Username" does not match actual variable name "$user" at position 1
error 463 Missing comment for param "Username" at position 1
error 464 Doc comment var "Password" does not match actual variable name "$pass" at position 2
error 464 Missing comment for param "Password" at position 2
error 465 Missing @return tag in function comment
warning 471 Line exceeds 85 characters; contains 89 characters
error 477 Last parameter comment requires a blank newline after it
error 477 Doc comment var "Method" does not match actual variable name "$method" at position 1
error 477 Expected 1 space after the longest type
error 479 Missing @return tag in function comment
error 488 Last parameter comment requires a blank newline after it
error 488 Doc comment var "Version" does not match actual variable name "$http" at position 1
error 488 Expected 1 space after the longest type
error 490 Missing @return tag in function comment
error 499 Doc comment var "Header" does not match actual variable name "$name" at position 1
error 499 Expected 1 space after the longest type
error 500 Last parameter comment requires a blank newline after it
error 500 Doc comment var "Header" does not match actual variable name "$value" at position 2
error 502 Missing @return tag in function comment
error 511 Last parameter comment requires a blank newline after it
error 511 Doc comment var "Header" does not match actual variable name "$name" at position 1
error 511 Expected 1 space after the longest type
error 513 Missing @return tag in function comment
error 524 Doc comment var "Querystring" does not match actual variable name "$name" at position 1
error 524 Expected 1 space after the longest type
error 525 Doc comment var "Querystring" does not match actual variable name "$value" at position 2
error 526 Last parameter comment requires a blank newline after it
error 526 The comments for parameters Querystring (2) and Whether (3) do not align
error 526 Doc comment var "Whether" does not match actual variable name "$preencoded" at position 3
error 528 Missing @return tag in function comment
error 537 Doc comment var "The" does not match actual variable name "$querystring" at position 1
error 537 Expected 1 space after the longest type
warning 538 Line exceeds 85 characters; contains 92 characters
error 538 Last parameter comment requires a blank newline after it
error 538 The comments for parameters The (1) and Whether (2) do not align
error 538 Doc comment var "Whether" does not match actual variable name "$preencoded" at position 2
error 540 Missing @return tag in function comment
error 549 Doc comment var "Post" does not match actual variable name "$name" at position 1
error 549 Expected 1 space after the longest type
error 550 Doc comment var "Post" does not match actual variable name "$value" at position 2
error 551 Last parameter comment requires a blank newline after it
error 551 The comments for parameters Post (2) and Whether (3) do not align
error 551 Doc comment var "Whether" does not match actual variable name "$preencoded" at position 3
error 553 Missing @return tag in function comment
error 563 Line indented incorrectly; expected at least 4 spaces, found 3
error 566 Expected 1 space before variable type
error 566 Doc comment var "Callback" does not match actual variable name "$callback" at position 1
error 566 Expected 1 space after the longest type
error 567 Last parameter comment requires a blank newline after it
error 567 Expected 1 space before variable type
error 567 The comments for parameters Callback (1) and Value (2) do not align
error 567 Doc comment var "Value" does not match actual variable name "$value" at position 2
error 584 Line indented incorrectly; expected at least 4 spaces, found 3
error 594 Parameters must appear immediately after the comment
error 594 Expected 1 space before variable type
error 594 Doc comment var "name" does not match actual variable name "$inputName" at position 1
error 594 Expected 1 space after the longest type
error 595 Expected 1 space before variable type
error 595 Doc comment var "file" does not match actual variable name "$fileName" at position 2
error 596 Last parameter comment requires a blank newline after it
error 596 Expected 1 space before variable type
error 596 The comments for parameters file (2) and content-type(s) (3) do not align
error 596 Doc comment var "content-type(s)" does not match actual variable name "$contentType" at position 3
warning 600 Line exceeds 85 characters; contains 86 characters
warning 603 Line exceeds 85 characters; contains 99 characters
warning 607 Line exceeds 85 characters; contains 103 characters
error 622 Doc comment var "The" does not match actual variable name "$postdata" at position 1
error 622 Expected 1 space after the longest type
error 623 Last parameter comment requires a blank newline after it
error 623 The comments for parameters The (1) and Whether (2) do not align
error 623 Doc comment var "Whether" does not match actual variable name "$preencoded" at position 2
warning 625 Line exceeds 85 characters; contains 87 characters
error 626 Missing @return tag in function comment
error 632 Line indented incorrectly; expected at least 4 spaces, found 3
error 635 Last parameter comment requires a blank newline after it
error 635 Expected 1 space before variable type
error 635 Doc comment var "Request" does not match actual variable name "$body" at position 1
error 635 Expected 1 space after the longest type
error 637 Missing @return tag in function comment
error 650 Missing @return tag in function comment
error 660 Last parameter comment requires a blank newline after it
error 660 The comments for parameters $name (1) and $value (2) do not align
error 662 Missing @return tag in function comment
warning 665 Line exceeds 85 characters; contains 105 characters
error 676 Missing @return tag in function comment
error 686 Last parameter comment requires a blank newline after it
error 686 Parameters must appear immediately after the comment
error 686 Expected 1 space before variable type
error 686 Doc comment var "Whether" does not match actual variable name "$saveBody" at position 1
error 686 Expected 1 space after the longest type
warning 687 Line exceeds 85 characters; contains 87 characters
warning 701 Line exceeds 85 characters; contains 93 characters
warning 702 Line exceeds 85 characters; contains 109 characters
warning 705 Line exceeds 85 characters; contains 101 characters
error 716 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 716 Line exceeds 85 characters; contains 88 characters
warning 722 Line exceeds 85 characters; contains 114 characters
warning 723 Line exceeds 85 characters; contains 124 characters
error 729 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 733 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 737 Line exceeds 85 characters; contains 101 characters
warning 737 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 743 Line exceeds 85 characters; contains 89 characters
error 750 Space after opening parenthesis of function call prohibited
warning 750 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 753 Space before closing parenthesis of function call prohibited
warning 757 Line exceeds 85 characters; contains 88 characters
warning 758 Line exceeds 85 characters; contains 112 characters
warning 761 Line exceeds 85 characters; contains 106 characters
warning 763 Line exceeds 85 characters; contains 102 characters
error 777 Line indented incorrectly; expected at least 12 spaces, found 8
error 796 Line indented incorrectly; expected at least 16 spaces, found 12
error 800 Line indented incorrectly; expected at least 16 spaces, found 12
warning 801 Line exceeds 85 characters; contains 92 characters
warning 807 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
error 810 Line indented incorrectly; expected at least 16 spaces, found 12
error 823 Line indented incorrectly; expected at least 12 spaces, found 8
warning 824 Line exceeds 85 characters; contains 88 characters
warning 825 Line exceeds 85 characters; contains 88 characters
error 835 Missing @return tag in function comment
error 870 Last parameter comment requires a blank newline after it
error 870 Parameters must appear immediately after the comment
error 870 Doc comment var "The" does not match actual variable name "$headername" at position 1
error 870 Expected 1 space after the longest type
warning 871 Line exceeds 85 characters; contains 88 characters
warning 877 Line exceeds 85 characters; contains 90 characters
warning 880 Line exceeds 85 characters; contains 116 characters
warning 903 Line exceeds 85 characters; contains 86 characters
warning 916 Line exceeds 85 characters; contains 96 characters
warning 919 Line exceeds 85 characters; contains 99 characters
warning 920 Line exceeds 85 characters; contains 103 characters
error 930 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 931 Line exceeds 85 characters; contains 88 characters
warning 938 Line exceeds 85 characters; contains 86 characters
warning 939 Line exceeds 85 characters; contains 88 characters
warning 941 Line exceeds 85 characters; contains 95 characters
warning 948 Line exceeds 85 characters; contains 89 characters
error 958 Line indented incorrectly; expected at least 12 spaces, found 8
error 964 Space after opening parenthesis of function call prohibited
error 967 Space before closing parenthesis of function call prohibited
error 969 Line indented incorrectly; expected at least 16 spaces, found 12
warning 976 Line exceeds 85 characters; contains 95 characters
warning 982 Equals sign not aligned correctly; expected 1 space but found 7 spaces
warning 990 Line exceeds 85 characters; contains 100 characters
warning 993 Line exceeds 85 characters; contains 125 characters
warning 995 Line exceeds 85 characters; contains 91 characters
warning 1002 Line exceeds 85 characters; contains 104 characters
error 1006 Line indented incorrectly; expected at least 12 spaces, found 8
warning 1010 Line exceeds 85 characters; contains 110 characters
error 1014 Line indented incorrectly; expected at least 12 spaces, found 8
error 1015 Line indented incorrectly; expected at least 12 spaces, found 8
error 1027 Line indented incorrectly; expected at least 4 spaces, found 3
error 1031 Expected 1 space before variable type
error 1031 Doc comment var "name" does not match actual variable name "$name" at position 1
error 1031 Expected 1 space after the longest type
error 1032 Last parameter comment requires a blank newline after it
error 1032 Expected 1 space before variable type
error 1032 The comments for parameters name (1) and item's (2) do not align
error 1032 Doc comment var "item's" does not match actual variable name "$values" at position 2
warning 1033 Line exceeds 85 characters; contains 89 characters
error 1057 Line indented incorrectly; expected at least 4 spaces, found 3
warning 1070 Line exceeds 85 characters; contains 105 characters
error 1072 Last parameter comment requires a blank newline after it
error 1072 Expected 1 space before variable type
error 1072 Doc comment var "listener" does not match actual variable name "&$listener" at position 1
error 1072 Expected 1 space after the longest type
warning 1073 Line exceeds 85 characters; contains 86 characters
error 1086 Line indented incorrectly; expected at least 4 spaces, found 3
error 1089 Last parameter comment requires a blank newline after it
error 1089 Expected 1 space before variable type
error 1089 Doc comment var "listener" does not match actual variable name "&$listener" at position 1
error 1089 Expected 1 space after the longest type
warning 1090 Line exceeds 85 characters; contains 86 characters
error 1104 Line indented incorrectly; expected at least 4 spaces, found 3
error 1107 Expected 1 space before variable type
error 1107 Doc comment var "Event" does not match actual variable name "$event" at position 1
error 1107 Expected 1 space after the longest type
error 1108 Last parameter comment requires a blank newline after it
error 1108 Expected 1 space before variable type
error 1108 The comments for parameters Event (1) and Additional (2) do not align
error 1108 Doc comment var "Additional" does not match actual variable name "$data" at position 2
error 1111 Missing @return tag in function comment
error 1124 @category tag comment indented incorrectly. Expected 1 spaces but found 4.
error 1125 @package tag comment indented incorrectly. Expected 2 spaces but found 5.
error 1126 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 1127 @author tag comment indented incorrectly. Expected 3 spaces but found 6.
error 1128 @version tag comment indented incorrectly. Expected 2 spaces but found 5.
error 1129 Missing @license tag in class comment
error 1129 Missing @link tag in class comment
error 1174 Line indented incorrectly; expected at least 4 spaces, found 3
error 1180 Line indented incorrectly; expected at least 4 spaces, found 3
error 1186 Line indented incorrectly; expected at least 4 spaces, found 3
error 1195 Expected 1 space before variable type
error 1195 Doc comment var "socket" does not match actual variable name "&$sock" at position 1
error 1195 Expected 1 space after the longest type
error 1196 Expected 1 space before variable type
error 1196 The comments for parameters socket (1) and listeners (2) do not align
error 1196 Doc comment var "listeners" does not match actual variable name "&$listeners" at position 2
error 1205 Line indented incorrectly; expected at least 4 spaces, found 3
error 1212 Parameters must appear immediately after the comment
error 1212 Expected 1 space before variable type
error 1212 Doc comment var "Whether" does not match actual variable name "$saveBody" at position 1
error 1212 Expected 1 space after the longest type
warning 1213 Line exceeds 85 characters; contains 87 characters
error 1215 Last parameter comment requires a blank newline after it
error 1215 Expected 1 space before variable type
error 1215 Doc comment var "Whether" does not match actual variable name "$canHaveBody" at position 2
warning 1225 Line exceeds 85 characters; contains 91 characters
warning 1248 Line exceeds 85 characters; contains 118 characters
warning 1249 Line exceeds 85 characters; contains 113 characters
error 1251 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 1259 Line exceeds 85 characters; contains 93 characters
warning 1265 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 1266 Line exceeds 85 characters; contains 107 characters
error 1297 Line indented incorrectly; expected at least 4 spaces, found 3
error 1301 Parameters must appear immediately after the comment
error 1301 Expected 1 space before variable type
error 1301 Doc comment var "HTTP" does not match actual variable name "$header" at position 1
error 1301 Expected 1 space after the longest type
error 1302 Missing @return tag in function comment
warning 1309 Equals sign not aligned with surrounding assignments; expected 21 spaces but found 2 spaces
warning 1310 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 1316 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 1324 Line indented incorrectly; expected at least 4 spaces, found 3
error 1328 Parameters must appear immediately after the comment
error 1328 Expected 1 space before variable type
error 1328 Doc comment var "value" does not match actual variable name "$headervalue" at position 1
error 1328 Expected 1 space after the longest type
error 1329 Missing @return tag in function comment
warning 1341 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
error 1345 Line indented incorrectly; expected at least 12 spaces, found 8
warning 1347 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 1348 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 1357 Line exceeds 85 characters; contains 94 characters
error 1375 Line indented incorrectly; expected at least 4 spaces, found 3
warning 1397 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 1398 Line exceeds 85 characters; contains 100 characters
error 1406 Line indented incorrectly; expected at least 4 spaces, found 3
error 1409 Expected 1 space before variable type
error 1409 Doc comment var "Event" does not match actual variable name "$event" at position 1
error 1409 Expected 1 space after the longest type
error 1410 Last parameter comment requires a blank newline after it
error 1410 Expected 1 space before variable type
error 1410 The comments for parameters Event (1) and Additional (2) do not align
error 1410 Doc comment var "Additional" does not match actual variable name "$data" at position 2
error 1413 Missing @return tag in function comment
error 1422 Line indented incorrectly; expected at least 4 spaces, found 3
error 1430 Last parameter comment requires a blank newline after it
error 1430 Parameters must appear immediately after the comment
error 1430 Expected 1 space before variable type
error 1430 Doc comment var "gzip-encoded" does not match actual variable name "$data" at position 1
error 1430 Expected 1 space after the longest type
warning 1446 Line exceeds 85 characters; contains 113 characters
warning 1450 Line exceeds 85 characters; contains 106 characters
warning 1458 Line exceeds 85 characters; contains 103 characters
warning 1462 Line exceeds 85 characters; contains 103 characters
warning 1469 Line exceeds 85 characters; contains 103 characters
warning 1472 Line exceeds 85 characters; contains 97 characters
warning 1473 Line exceeds 85 characters; contains 103 characters
warning 1480 Line exceeds 85 characters; contains 103 characters
warning 1483 Line exceeds 85 characters; contains 95 characters
warning 1484 Line exceeds 85 characters; contains 103 characters
warning 1491 Line exceeds 85 characters; contains 103 characters
warning 1496 Line exceeds 85 characters; contains 111 characters
warning 1501 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 1509 Line exceeds 85 characters; contains 108 characters
warning 1511 Line exceeds 85 characters; contains 107 characters
warning 1513 Line exceeds 85 characters; contains 105 characters
Sum 259 errors and 92 warnings