Coding Standards Report for XML_RPC

Type Line Message
Package 241 errors and 92 warnings
/data/pear/pear/XML_RPC/Dump.php
error 11 Category name "Web Services" is not valid; consider "Web_Services" instead
error 11 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 12 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 13 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 14 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 15 @link tag comment indented incorrectly. Expected 5 spaces but found 7.
warning 16 PHP version not specified
error 16 Missing @license tag in file comment
error 28 Expected 1 space after the longest variable name
error 32 Function name "XML_RPC_Dump" is invalid; consider "XML_RPC_dump" instead
error 42 Category name "Web Services" is not valid; consider "Web_Services" instead
error 42 @category tag comment indented incorrectly. Expected 1 spaces but found 3.
error 43 @package tag comment indented incorrectly. Expected 2 spaces but found 4.
error 44 @author tag comment indented incorrectly. Expected 3 spaces but found 5.
error 45 @version tag comment indented incorrectly. Expected 2 spaces but found 4.
error 46 @link tag comment indented incorrectly. Expected 5 spaces but found 7.
error 47 Missing @license tag in class comment
warning 54 Equals sign not aligned correctly; expected 1 space but found 6 spaces
error 66 Expected 1 space after the longest variable name
error 73 File is being conditionally included; use "include_once" instead
error 96 File is being conditionally included; use "include_once" instead
error 109 Expected 1 space after the longest variable name
error 128 Expected 1 space after the longest variable name
error 147 Expected 1 space after the longest variable name
error 155 Expected "for (...) {\n"; found "for(...) {\n"
error 166 Expected 1 space after the longest variable name
Sum 24 errors and 2 warnings
/data/pear/pear/XML_RPC/RPC.php
error 28 Category name "Web Services" is not valid; consider "Web_Services" instead
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 30 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 31 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 32 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 33 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 34 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 35 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 36 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 37 Missing @license tag in file comment
warning 167 Line exceeds 85 characters; contains 100 characters
warning 171 Line exceeds 85 characters; contains 95 characters
error 274 Doc comment for "$parser_resource" missing
error 274 Doc comment for "$name" missing
error 274 Doc comment for "$attrs" missing
warning 294 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 300 Line exceeds 85 characters; contains 89 characters
warning 301 Line exceeds 85 characters; contains 88 characters
warning 301 Equals sign not aligned with surrounding assignments; expected 30 spaces but found 1 space
warning 302 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 303 Line exceeds 85 characters; contains 126 characters
warning 315 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 316 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 327 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 328 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 403 Doc comment for "$parser_resource" missing
error 403 Doc comment for "$name" missing
error 427 Line indented incorrectly; expected at least 8 spaces, found 4
warning 427 Equals sign not aligned with surrounding assignments; expected 23 spaces but found 1 space
error 428 Line indented incorrectly; expected at least 8 spaces, found 4
warning 428 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 434 Line indented incorrectly; expected at least 8 spaces, found 4
warning 459 Line exceeds 85 characters; contains 86 characters
warning 465 Line exceeds 85 characters; contains 106 characters
warning 466 Line exceeds 85 characters; contains 87 characters
warning 490 Line exceeds 85 characters; contains 93 characters
warning 529 Line exceeds 85 characters; contains 97 characters
error 540 Doc comment for "$parser_resource" missing
error 540 Doc comment for "$data" missing
error 575 Category name "Web Services" is not valid; consider "Web_Services" instead
error 575 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 576 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 577 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 578 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 579 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 580 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 581 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 582 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 583 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 584 Missing @license tag in class comment
error 585 Opening brace of a class must be on the line after the definition
error 587 Doc comment for "$msg" missing
error 587 Doc comment for "$code" missing
error 605 Expected 1 space after the longest variable name
error 620 Category name "Web Services" is not valid; consider "Web_Services" instead
error 620 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 621 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 622 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 623 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 624 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 625 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 626 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 627 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 628 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 629 Missing @license tag in class comment
error 630 Opening brace of a class must be on the line after the definition
error 749 Expected 1 space after the longest variable name
warning 765 Line exceeds 85 characters; contains 91 characters
warning 793 Line exceeds 85 characters; contains 94 characters
error 825 Expected 1 space after the longest variable name
error 845 Expected 1 space after the longest variable name
error 861 Expected 1 space after the longest variable name
error 878 Expected 1 space after the longest variable name
error 911 Expected 1 space after the longest variable name
error 1016 Expected 1 space after the longest variable name
error 1033 Line indented incorrectly; expected at least 12 spaces, found 11
error 1062 Category name "Web Services" is not valid; consider "Web_Services" instead
error 1062 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 1063 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 1064 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1065 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1066 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1067 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1068 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 1069 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 1070 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 1071 Missing @license tag in class comment
error 1079 Doc comment for "$val" missing
error 1079 Doc comment for "$fcode" missing
error 1079 Doc comment for "$fstr" missing
error 1080 There must be exactly one blank line before the tags in function comment
error 1093 There must be exactly one blank line before the tags in function comment
error 1105 There must be exactly one blank line before the tags in function comment
error 1113 There must be exactly one blank line before the tags in function comment
error 1121 There must be exactly one blank line before the tags in function comment
error 1143 Line indented incorrectly; expected at least 12 spaces, found 8
error 1153 Category name "Web Services" is not valid; consider "Web_Services" instead
error 1153 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 1154 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 1155 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1156 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1157 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1158 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1159 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 1160 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 1161 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 1162 Missing @license tag in class comment
error 1223 Doc comment for "$meth" missing
error 1223 Doc comment for "$pars" missing
error 1224 There must be exactly one blank line before the tags in function comment
error 1248 Method name "XML_RPC_Message::xml_header" is not in camel caps format
error 1260 There must be exactly one blank line before the tags in function comment
error 1262 Method name "XML_RPC_Message::xml_footer" is not in camel caps format
warning 1287 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1291 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 1297 Line exceeds 85 characters; contains 102 characters
warning 1299 Line exceeds 85 characters; contains 110 characters
warning 1302 Line exceeds 85 characters; contains 87 characters
error 1306 Doc comment for "$meth" missing
error 1307 There must be exactly one blank line before the tags in function comment
error 1318 There must be exactly one blank line before the tags in function comment
error 1326 Doc comment for "$par" missing
error 1327 There must be exactly one blank line before the tags in function comment
error 1337 Expected 1 space after the longest variable name
error 1359 There must be exactly one blank line before the tags in function comment
error 1372 Expected 1 space after the longest variable name
error 1391 Expected 1 space after the longest variable name
warning 1395 Line exceeds 85 characters; contains 87 characters
error 1410 Expected 1 space after the longest variable name
error 1421 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 1421 Line exceeds 85 characters; contains 114 characters
error 1426 Line indented incorrectly; expected 12 spaces, found 16
error 1427 Line indented incorrectly; expected 12 spaces, found 16
error 1428 Line indented incorrectly; expected 12 spaces, found 16
error 1432 Line indented incorrectly; expected 12 spaces, found 16
error 1434 Closing brace indented incorrectly; expected 16 spaces, found 12
error 1440 Doc comment for "$fp" missing
error 1441 There must be exactly one blank line before the tags in function comment
error 1452 Doc comment for "$data" missing
error 1453 There must be exactly one blank line before the tags in function comment
warning 1459 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 1461 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 1463 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 1466 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 1467 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 1468 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 1469 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 1470 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 1480 Line exceeds 85 characters; contains 87 characters
error 1486 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 1488 Line exceeds 85 characters; contains 110 characters
error 1500 No space found after comma in function call
warning 1502 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
warning 1503 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
warning 1511 Equals sign not aligned with surrounding assignments; expected 19 spaces but found 1 space
warning 1520 Line exceeds 85 characters; contains 89 characters
warning 1540 Line exceeds 85 characters; contains 109 characters
warning 1550 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1552 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 1566 Category name "Web Services" is not valid; consider "Web_Services" instead
error 1566 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 1567 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 1568 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1569 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1570 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1571 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 1572 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 1573 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 1574 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 1575 Missing @license tag in class comment
warning 1578 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 1581 Doc comment for "$val" missing
error 1581 Doc comment for "$type" missing
error 1582 There must be exactly one blank line before the tags in function comment
warning 1586 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 1605 Doc comment for "$val" missing
error 1605 Doc comment for "$type" missing
error 1606 There must be exactly one blank line before the tags in function comment
error 1623 Expected "if (...) {\n"; found "if (...)\n {\n"
warning 1635 Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
warning 1636 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 1641 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 1646 Doc comment for "$vals" missing
error 1647 There must be exactly one blank line before the tags in function comment
error 1652 Space after opening parenthesis of function call prohibited
warning 1657 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 1662 Doc comment for "$vals" missing
error 1663 There must be exactly one blank line before the tags in function comment
error 1668 Space after opening parenthesis of function call prohibited
warning 1673 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 1678 Doc comment for "$ar" missing
error 1679 There must be exactly one blank line before the tags in function comment
error 1695 There must be exactly one blank line before the tags in function comment
error 1714 Doc comment for "$typ" missing
error 1714 Doc comment for "$val" missing
error 1715 There must be exactly one blank line before the tags in function comment
error 1766 There must be exactly one blank line before the tags in function comment
error 1773 Doc comment for "$o" missing
error 1774 There must be exactly one blank line before the tags in function comment
error 1787 Doc comment for "$m" missing
error 1788 There must be exactly one blank line before the tags in function comment
error 1796 There must be exactly one blank line before the tags in function comment
error 1804 There must be exactly one blank line before the tags in function comment
error 1812 There must be exactly one blank line before the tags in function comment
error 1848 There must be exactly one blank line before the tags in function comment
error 1862 There must be exactly one blank line before the tags in function comment
error 1874 Doc comment for "$m" missing
error 1875 There must be exactly one blank line before the tags in function comment
error 1883 There must be exactly one blank line before the tags in function comment
error 1895 Expected 1 space after the longest variable name
error 1908 Doc comment for "$timet" missing
error 1908 Doc comment for "$utc" missing
error 1921 Function name "XML_RPC_iso8601_encode" is invalid; consider "XML_RPC_Iso8601_encode" instead
error 1937 Doc comment for "$idate" missing
error 1937 Doc comment for "$utc" missing
error 1950 Function name "XML_RPC_iso8601_decode" is invalid; consider "XML_RPC_Iso8601_decode" instead
warning 1953 Line exceeds 85 characters; contains 122 characters
warning 1955 Line exceeds 85 characters; contains 86 characters
error 1966 Expected 1 space after the longest variable name
warning 1979 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 1998 Expected 1 space after the longest variable name
warning 2004 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 2015 Line indented incorrectly; expected at least 12 spaces, found 11
error 2016 Line indented incorrectly; expected 12 spaces, found 11
error 2017 Line indented incorrectly; expected at least 16 spaces, found 15
error 2019 Line indented incorrectly; expected at least 12 spaces, found 11
error 2020 Line indented incorrectly; expected at least 12 spaces, found 11
warning 2042 Line exceeds 85 characters; contains 101 characters
error 2044 Expected "} elseif (...) {\n"; found "} elseif (...)\n {\n"
Sum 173 errors and 57 warnings
/data/pear/pear/XML_RPC/Server.php
error 28 Category name "Web Services" is not valid; consider "Web_Services" instead
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 30 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 31 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 32 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 33 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 34 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 35 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 36 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 37 Missing @license tag in file comment
error 131 Doc comment for "$server" missing
error 131 Doc comment for "$m" missing
warning 140 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 152 Doc comment for "$server" missing
error 152 Doc comment for "$m" missing
warning 168 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 171 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 177 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 181 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 198 Doc comment for "$server" missing
error 198 Doc comment for "$m" missing
warning 211 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 214 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 220 Line exceeds 85 characters; contains 87 characters
error 232 Doc comment for "$m" missing
error 233 There must be exactly one blank line before the tags in function comment
error 266 Category name "Web Services" is not valid; consider "Web_Services" instead
error 266 @category tag comment indented incorrectly. Expected 2 spaces but found 3.
error 267 @package tag comment indented incorrectly. Expected 3 spaces but found 4.
error 268 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 269 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 270 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 271 @author tag comment indented incorrectly. Expected 4 spaces but found 5.
error 272 @copyright tag comment indented incorrectly. Expected 1 spaces but found 2.
error 273 @version tag comment indented incorrectly. Expected 3 spaces but found 4.
error 274 @link tag comment indented incorrectly. Expected 6 spaces but found 7.
error 275 Missing @license tag in class comment
error 335 The variable names for parameters $dispMap (1) and $serviceNow (2) do not align
error 335 The comments for parameters $dispMap (1) and $serviceNow (2) do not align
error 335 Expected 1 space after the longest variable name
error 363 There must be exactly one blank line before the tags in function comment
warning 377 Line exceeds 85 characters; contains 99 characters
error 390 Expected 1 space after the longest variable name
warning 434 Line exceeds 85 characters; contains 86 characters
warning 436 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
error 437 Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
warning 462 Equals sign not aligned with surrounding assignments; expected 20 spaces but found 1 space
error 494 Doc comment for "$in" missing
error 494 Doc comment for "$sig" missing
error 495 There must be exactly one blank line before the tags in function comment
warning 514 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 515 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 517 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 535 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 546 Doc comment for "$data" missing
error 547 There must be exactly one blank line before the tags in function comment
warning 561 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 563 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 565 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 566 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 5 spaces
warning 567 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 4 spaces
warning 568 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 569 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 570 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 583 Line exceeds 85 characters; contains 91 characters
warning 585 Line exceeds 85 characters; contains 101 characters
warning 586 Line exceeds 85 characters; contains 94 characters
warning 601 Line exceeds 85 characters; contains 97 characters
warning 612 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 615 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 619 Expected "if (...) {\n"; found "if (...)\n {\n"
error 627 Expected "if (...) {\n"; found "if (...)\n {\n"
error 633 Space before closing parenthesis of function call prohibited
warning 643 Line exceeds 85 characters; contains 89 characters
warning 644 Line exceeds 85 characters; contains 87 characters
warning 671 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
Sum 44 errors and 33 warnings