Coding Standards Report for XML_XPath

Type Line Message
Package 270 errors and 263 warnings
/data/pear/pear/XML_XPath/XPath.php
error 2 You must use "/**" style comments for a file comment
error 36 Expected 1 space after comma in function call; 22 found
error 37 Expected 1 space after comma in function call; 18 found
error 38 Expected 1 space after comma in function call; 9 found
error 39 Expected 1 space after comma in function call; 7 found
error 40 Expected 1 space after comma in function call; 10 found
error 41 Expected 1 space after comma in function call; 17 found
error 42 Expected 1 space after comma in function call; 10 found
error 43 Expected 1 space after comma in function call; 8 found
error 44 Expected 1 space after comma in function call; 11 found
error 45 Expected 1 space after comma in function call; 13 found
error 46 Expected 1 space after comma in function call; 6 found
error 47 Expected 1 space after comma in function call; 5 found
error 48 Expected 1 space after comma in function call; 9 found
error 49 Expected 1 space after comma in function call; 12 found
error 50 Expected 1 space after comma in function call; 17 found
error 51 Expected 1 space after comma in function call; 14 found
error 77 Opening brace of a class must be on the line after the definition
error 77 You must use "/**" style comments for a class comment
error 98 You must use "/**" style comments for a function comment
error 98 Method name "XML_XPath::XML_Xpath" is not in camel caps format
warning 113 Line exceeds 85 characters; contains 90 characters
warning 114 Line exceeds 85 characters; contains 91 characters
warning 115 Line exceeds 85 characters; contains 93 characters
warning 118 Line exceeds 85 characters; contains 87 characters
error 118 Expected 1 space before variable type
error 118 Expected 1 space after the longest type
error 118 Doc comment for "$in_type" missing
warning 127 Line exceeds 85 characters; contains 135 characters
warning 133 Line exceeds 85 characters; contains 86 characters
error 137 Expected "} elseif (...) {\n"; found "}\n // we can read the file, so use xmldocfile to make a xmldom object\n elseif (...) {\n"
warning 137 Line exceeds 85 characters; contains 108 characters
error 141 Expected "} elseif (...) {\n"; found "}\n // this is a string, so attempt to make an xmldom object from string\n elseif(...) {\n"
error 145 Expected "} else {\n"; found "}\n // not a valid xml instance, so throw error\n else {\n"
warning 147 Line exceeds 85 characters; contains 176 characters
warning 154 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 155 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 160 Expected "} else {\n"; found "}\n // we could not make a domxml object, so throw an error\n else {\n"
warning 161 Line exceeds 85 characters; contains 168 characters
warning 171 Line exceeds 85 characters; contains 89 characters
error 174 Expected 1 space before variable type
error 174 Missing comment for param "$in_namespaces" at position 1
error 182 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 193 Expected 1 space before variable type
error 193 Expected 1 space after the longest type
error 201 Line indented incorrectly; expected at least 12 spaces, found 9
error 201 Spaces must be used to indent lines; tabs are not allowed
error 204 Line indented incorrectly; expected at least 12 spaces, found 9
error 204 Spaces must be used to indent lines; tabs are not allowed
error 215 Expected 1 space before variable type
warning 222 Line exceeds 85 characters; contains 92 characters
warning 233 Line exceeds 85 characters; contains 91 characters
warning 235 Line exceeds 85 characters; contains 98 characters
warning 237 Line exceeds 85 characters; contains 103 characters
warning 238 Line exceeds 85 characters; contains 92 characters
warning 257 Line exceeds 85 characters; contains 110 characters
warning 271 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 272 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 274 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 281 Line exceeds 85 characters; contains 92 characters
warning 282 Line exceeds 85 characters; contains 96 characters
Sum 38 errors and 23 warnings
/data/pear/pear/XML_XPath/XPath/common.php
error 2 You must use "/**" style comments for a file comment
warning 25 Line exceeds 85 characters; contains 96 characters
error 35 Expected 1 space before variable type
error 35 Expected 1 space after the longest type
error 36 Expected 1 space before variable type
warning 39 Line exceeds 85 characters; contains 86 characters
error 41 Function name "is_a_php_class" is prefixed with a package name but does not begin with a capital letter
warning 87 Line exceeds 85 characters; contains 86 characters
error 99 Opening brace of a class must be on the line after the definition
error 99 You must use "/**" style comments for a class comment
error 99 Class name is not valid; consider XML_XPath_Common instead
warning 115 Line exceeds 85 characters; contains 91 characters
warning 131 Line exceeds 85 characters; contains 95 characters
error 133 Expected 1 space before variable type
warning 134 Line exceeds 85 characters; contains 94 characters
error 134 Expected 1 space before variable type
error 134 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 137 Line exceeds 85 characters; contains 101 characters
warning 142 Line exceeds 85 characters; contains 117 characters
warning 145 Line exceeds 85 characters; contains 145 characters
error 164 Expected 1 space before variable type
warning 165 Line exceeds 85 characters; contains 94 characters
error 165 Expected 1 space before variable type
error 165 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 173 Line exceeds 85 characters; contains 117 characters
warning 176 Line exceeds 85 characters; contains 145 characters
warning 195 Line exceeds 85 characters; contains 88 characters
warning 196 Line exceeds 85 characters; contains 92 characters
warning 202 Line exceeds 85 characters; contains 92 characters
warning 208 Line exceeds 85 characters; contains 117 characters
error 212 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 213 Line exceeds 85 characters; contains 91 characters
warning 219 Line exceeds 85 characters; contains 114 characters
error 230 Expected 1 space before variable type
error 230 Missing comment for param "$in_tagName" at position 1
warning 237 Line exceeds 85 characters; contains 91 characters
warning 239 Line exceeds 85 characters; contains 118 characters
warning 248 Line exceeds 85 characters; contains 96 characters
error 248 Expected 1 space before variable type
error 248 Expected 1 space after the longest type
warning 251 Line exceeds 85 characters; contains 86 characters
warning 256 Line exceeds 85 characters; contains 117 characters
error 264 Expected "} else {\n"; found "}\n else {\n"
warning 273 Line exceeds 85 characters; contains 91 characters
warning 276 Line exceeds 85 characters; contains 96 characters
error 276 Expected 1 space before variable type
error 276 Expected 1 space after the longest type
warning 284 Line exceeds 85 characters; contains 117 characters
error 293 Expected "} else {\n"; found "}\n else {\n"
error 297 Expected "} else {\n"; found "}\n else {\n"
warning 306 Line exceeds 85 characters; contains 98 characters
warning 310 Line exceeds 85 characters; contains 96 characters
error 310 Expected 1 space before variable type
error 310 Expected 1 space after the longest type
warning 313 Line exceeds 85 characters; contains 86 characters
warning 318 Line exceeds 85 characters; contains 117 characters
error 334 Expected "} elseif (...) {\n"; found "}\n // we have found a non-blank node\n elseif (...) {\n"
error 338 Expected "} elseif (...) {\n"; found "}\n // we found a blank node at the very end\n elseif (...) {\n"
error 349 Expected "} else {\n"; found "}\n else {\n"
error 353 Expected "} else {\n"; found "}\n else {\n"
warning 367 Line exceeds 85 characters; contains 96 characters
error 367 Expected 1 space before variable type
error 367 Expected 1 space after the longest type
warning 370 Line exceeds 85 characters; contains 90 characters
warning 375 Line exceeds 85 characters; contains 117 characters
error 390 Expected "} elseif (...) {\n"; found "}\n // we have arrived at the beginning\n elseif (...) {\n"
error 401 Expected "} else {\n"; found "}\n else {\n"
error 405 Expected "} else {\n"; found "}\n else {\n"
warning 418 Line exceeds 85 characters; contains 96 characters
error 418 Expected 1 space before variable type
error 418 Expected 1 space after the longest type
warning 421 Line exceeds 85 characters; contains 98 characters
warning 426 Line exceeds 85 characters; contains 117 characters
error 441 Expected "} elseif (...) {\n"; found "}\n // we have arrived at the end\n elseif (...) {\n"
error 452 Expected "} else {\n"; found "}\n else {\n"
error 456 Expected "} else {\n"; found "}\n else {\n"
warning 469 Line exceeds 85 characters; contains 96 characters
error 469 Expected 1 space before variable type
error 469 Expected 1 space after the longest type
warning 472 Line exceeds 85 characters; contains 96 characters
warning 477 Line exceeds 85 characters; contains 117 characters
error 492 Expected "} elseif (...) {\n"; found "}\n // we have arrived at the beginning\n elseif (...) {\n"
error 503 Expected "} else {\n"; found "}\n else {\n"
error 507 Expected "} else {\n"; found "}\n else {\n"
error 518 Expected 1 space before variable type
error 519 Expected 1 space before variable type
error 519 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 527 Line exceeds 85 characters; contains 117 characters
warning 530 Line exceeds 85 characters; contains 145 characters
error 550 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 558 Line exceeds 85 characters; contains 117 characters
warning 561 Line exceeds 85 characters; contains 145 characters
error 582 The comments for parameters $in_name (1) and $in_xpathQuery (2) do not align
error 583 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 591 Line exceeds 85 characters; contains 117 characters
warning 594 Line exceeds 85 characters; contains 130 characters
warning 611 Line exceeds 85 characters; contains 93 characters
error 615 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 623 Line exceeds 85 characters; contains 117 characters
warning 626 Line exceeds 85 characters; contains 145 characters
error 632 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 648 Line exceeds 85 characters; contains 89 characters
warning 650 Line exceeds 85 characters; contains 86 characters
warning 651 Line exceeds 85 characters; contains 89 characters
warning 652 Line exceeds 85 characters; contains 89 characters
error 656 The comments for parameters $in_name (1) and $in_xpathQuery (2) do not align
warning 657 Line exceeds 85 characters; contains 97 characters
error 657 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 660 Line exceeds 85 characters; contains 97 characters
warning 665 Line exceeds 85 characters; contains 117 characters
warning 668 Line exceeds 85 characters; contains 130 characters
error 694 The comments for parameters $in_name (1) and $in_value (2) do not align
error 695 The comments for parameters $in_value (2) and $in_xpathQuery (3) do not align
error 696 The comments for parameters $in_xpathQuery (3) and $in_movePointer (4) do not align
warning 701 Line exceeds 85 characters; contains 94 characters
warning 704 Line exceeds 85 characters; contains 117 characters
warning 707 Line exceeds 85 characters; contains 130 characters
error 726 Expected 1 space before variable type
error 727 Expected 1 space before variable type
error 727 The comments for parameters $in_name (1) and $in_xpathQuery (2) do not align
error 728 Expected 1 space before variable type
error 728 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 733 Line exceeds 85 characters; contains 86 characters
warning 736 Line exceeds 85 characters; contains 117 characters
warning 739 Line exceeds 85 characters; contains 130 characters
warning 756 Line exceeds 85 characters; contains 95 characters
warning 757 Line exceeds 85 characters; contains 94 characters
warning 759 Line exceeds 85 characters; contains 89 characters
error 762 The comments for parameters $in_offset (1) and $in_count (2) do not align
error 763 The variable names for parameters $in_count (2) and $in_xpathQuery (3) do not align
error 763 The comments for parameters $in_count (2) and $in_xpathQuery (3) do not align
error 764 The variable names for parameters $in_xpathQuery (3) and $in_movePointer (4) do not align
error 764 The comments for parameters $in_xpathQuery (3) and $in_movePointer (4) do not align
warning 769 Line exceeds 85 characters; contains 105 characters
warning 772 Line exceeds 85 characters; contains 117 characters
warning 775 Line exceeds 85 characters; contains 187 characters
warning 780 Line exceeds 85 characters; contains 135 characters
error 782 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 782 Line exceeds 85 characters; contains 121 characters
warning 783 Line exceeds 85 characters; contains 136 characters
error 785 Expected "} else {\n"; found "}\n else {\n"
error 804 The comments for parameters $in_content (1) and $in_offset (2) do not align
error 805 The comments for parameters $in_offset (2) and $in_xpathQuery (3) do not align
error 806 The comments for parameters $in_xpathQuery (3) and $in_movePointer (4) do not align
warning 811 Line exceeds 85 characters; contains 100 characters
warning 813 Line exceeds 85 characters; contains 100 characters
error 823 The comments for parameters $in_offset (1) and $in_count (2) do not align
error 824 The comments for parameters $in_count (2) and $in_xpathQuery (3) do not align
error 825 The comments for parameters $in_xpathQuery (3) and $in_movePointer (4) do not align
warning 830 Line exceeds 85 characters; contains 102 characters
warning 832 Line exceeds 85 characters; contains 103 characters
error 842 The comments for parameters $in_content (1) and $in_offset (2) do not align
error 843 The comments for parameters $in_offset (2) and $in_count (3) do not align
error 844 The comments for parameters $in_count (3) and $in_xpathQuery (4) do not align
error 845 The comments for parameters $in_xpathQuery (4) and $in_movePointer (5) do not align
warning 850 Line exceeds 85 characters; contains 116 characters
warning 852 Line exceeds 85 characters; contains 110 characters
error 862 The comments for parameters $in_content (1) and $in_xpathQuery (2) do not align
error 863 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 870 Line exceeds 85 characters; contains 94 characters
warning 877 Line exceeds 85 characters; contains 95 characters
warning 878 Line exceeds 85 characters; contains 96 characters
error 882 The comments for parameters $in_xmlData (1) and $in_xpathQuery (2) do not align
error 883 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 888 Line exceeds 85 characters; contains 86 characters
warning 891 Line exceeds 85 characters; contains 117 characters
warning 894 Line exceeds 85 characters; contains 200 characters
warning 898 Line exceeds 85 characters; contains 87 characters
warning 906 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 909 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 913 Expected "} else {\n"; found "}\n else {\n"
warning 922 Line exceeds 85 characters; contains 98 characters
warning 929 Line exceeds 85 characters; contains 90 characters
error 933 The comments for parameters $in_xmlData (1) and $in_xpathQuery (2) do not align
error 934 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 937 Line exceeds 85 characters; contains 95 characters
warning 942 Line exceeds 85 characters; contains 117 characters
warning 945 Line exceeds 85 characters; contains 149 characters
warning 950 Line exceeds 85 characters; contains 97 characters
warning 955 Line exceeds 85 characters; contains 115 characters
warning 958 Line exceeds 85 characters; contains 87 characters
error 962 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 983 The comments for parameters $in_xmlData (1) and $in_xpathQuery (2) do not align
error 984 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 989 Line exceeds 85 characters; contains 86 characters
warning 992 Line exceeds 85 characters; contains 117 characters
warning 995 Line exceeds 85 characters; contains 130 characters
error 1006 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 1030 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 1033 Line exceeds 85 characters; contains 90 characters
warning 1038 Line exceeds 85 characters; contains 117 characters
warning 1041 Line exceeds 85 characters; contains 200 characters
warning 1056 Line exceeds 85 characters; contains 102 characters
error 1066 The comments for parameters $in_deep (1) and $in_xpathQuery (2) do not align
error 1067 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 1070 Line exceeds 85 characters; contains 90 characters
warning 1072 Line exceeds 85 characters; contains 88 characters
warning 1075 Line exceeds 85 characters; contains 117 characters
warning 1078 Line exceeds 85 characters; contains 105 characters
warning 1088 Line exceeds 85 characters; contains 101 characters
warning 1094 Line exceeds 85 characters; contains 93 characters
warning 1095 Line exceeds 85 characters; contains 94 characters
warning 1096 Line exceeds 85 characters; contains 94 characters
warning 1097 Line exceeds 85 characters; contains 86 characters
error 1099 Doc comment var "$in_fragment" does not match actual variable name "$in_xmlData" at position 1
error 1100 The comments for parameters $in_fragment (1) and $in_xpathQuery (2) do not align
error 1101 The comments for parameters $in_xpathQuery (2) and $in_movePointer (3) do not align
warning 1106 Line exceeds 85 characters; contains 89 characters
warning 1109 Line exceeds 85 characters; contains 117 characters
warning 1112 Line exceeds 85 characters; contains 130 characters
warning 1116 Line exceeds 85 characters; contains 87 characters
warning 1125 Line exceeds 85 characters; contains 96 characters
warning 1125 Equals sign not aligned with surrounding assignments; expected 25 spaces but found 1 space
warning 1127 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
error 1129 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 1130 Line indented incorrectly; expected at least 12 spaces, found 11
error 1131 Line indented incorrectly; expected at least 12 spaces, found 11
warning 1131 Line exceeds 85 characters; contains 95 characters
error 1150 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
error 1150 Doc comment for "$in_format" missing
warning 1153 Line exceeds 85 characters; contains 89 characters
warning 1155 Line exceeds 85 characters; contains 92 characters
warning 1158 Line exceeds 85 characters; contains 117 characters
warning 1161 Line exceeds 85 characters; contains 130 characters
error 1166 No space found after comma in function call
error 1166 No space found after comma in function call
error 1166 No space found after comma in function call
warning 1166 Line exceeds 85 characters; contains 96 characters
warning 1179 Line exceeds 85 characters; contains 88 characters
error 1181 Expected 1 space before variable type
error 1181 Expected 1 space after the longest type
error 1182 Expected 1 space before variable type
error 1182 The comments for parameters $in_file (1) and $in_compression (2) do not align
warning 1192 Line exceeds 85 characters; contains 140 characters
error 1196 Expected "} else {\n"; found "}\n // If the file exists, make sure we can overwrite it\n else {\n"
warning 1198 Line exceeds 85 characters; contains 140 characters
warning 1202 Line exceeds 85 characters; contains 89 characters
error 1216 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
error 1217 The comments for parameters $in_movePointer (2) and $in_format (3) do not align
warning 1222 Line exceeds 85 characters; contains 88 characters
warning 1225 Line exceeds 85 characters; contains 117 characters
warning 1228 Line exceeds 85 characters; contains 145 characters
error 1235 Expected "} else {\n"; found "}\n else {\n"
error 1271 Expected 1 space before variable type
error 1271 Expected 1 space after the longest type
error 1282 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 1283 Line exceeds 85 characters; contains 124 characters
error 1285 Expected "} else {\n"; found "}\n else {\n"
error 1298 Expected 1 space before variable type
error 1298 Doc comment var "$in_xpathQuery" does not match actual variable name "$in_node" at position 1
error 1299 Expected 1 space before variable type
error 1299 The variable names for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
error 1299 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
error 1299 Superfluous doc comment at position 2
error 1309 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 1310 Line exceeds 85 characters; contains 124 characters
warning 1314 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 1316 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1317 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 1326 Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
error 1331 Expected "} else {\n"; found "}\n else {\n"
warning 1348 Line exceeds 85 characters; contains 87 characters
warning 1354 Line exceeds 85 characters; contains 96 characters
error 1355 Expected "} elseif (...) {\n"; found "}\n // fix the names for those nodes where xpath query and dom node name don't match\n elseif (...) {\n"
error 1358 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 1361 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
error 1365 Expected "} else {\n"; found "}\n // anything left here has not been coded yet (cdata is broken)\n else {\n"
warning 1366 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1367 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 1375 Expected "} else {\n"; found "}\n else {\n"
warning 1390 Line exceeds 85 characters; contains 88 characters
error 1393 Expected 1 space before variable type
error 1394 Expected 1 space before variable type
error 1394 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 1397 Line exceeds 85 characters; contains 93 characters
warning 1401 Line exceeds 85 characters; contains 86 characters
warning 1402 Line exceeds 85 characters; contains 93 characters
warning 1416 Line exceeds 85 characters; contains 90 characters
warning 1417 Line exceeds 85 characters; contains 93 characters
error 1420 Expected 1 space before variable type
error 1421 Expected 1 space before variable type
error 1421 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
warning 1429 Line exceeds 85 characters; contains 92 characters
warning 1431 Line exceeds 85 characters; contains 115 characters
error 1446 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 1446 Line exceeds 85 characters; contains 89 characters
warning 1448 Line exceeds 85 characters; contains 90 characters
error 1450 Expected "} else {\n"; found "}\n else {\n"
error 1454 Expected "} else {\n"; found "}\n else {\n"
warning 1459 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
warning 1460 Line exceeds 85 characters; contains 101 characters
error 1462 Expected "} else {\n"; found "}\n else {\n"
warning 1466 Line exceeds 85 characters; contains 91 characters
warning 1469 Line exceeds 85 characters; contains 92 characters
error 1475 Expected "} else {\n"; found "}\n else {\n"
warning 1494 Line exceeds 85 characters; contains 91 characters
warning 1495 Line exceeds 85 characters; contains 91 characters
error 1498 Expected 1 space after the longest type
error 1503 Method name "XML_XPath_common::_build_fragment" is not in camel caps format
error 1508 Expected "} else {\n"; found "}\n else {\n"
warning 1511 Line exceeds 85 characters; contains 123 characters
warning 1513 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 1514 Line exceeds 85 characters; contains 94 characters
warning 1523 Line exceeds 85 characters; contains 97 characters
error 1526 Doc comment var "$in_replace" does not match actual variable name "$in_xpathQuery" at position 2
error 1527 The comments for parameters $in_replace (2) and $in_offset (3) do not align
error 1527 Doc comment var "$in_offset" does not match actual variable name "$in_movePointer" at position 3
error 1528 The comments for parameters $in_offset (3) and $in_count (4) do not align
error 1528 Doc comment var "$in_count" does not match actual variable name "$in_replace" at position 4
error 1528 Doc comment for "$in_offset" missing
error 1528 Doc comment for "$in_count" missing
error 1533 Method name "XML_XPath_common::_set_content" is not in camel caps format
warning 1533 Line exceeds 85 characters; contains 115 characters
warning 1536 Line exceeds 85 characters; contains 117 characters
warning 1539 Line exceeds 85 characters; contains 200 characters
warning 1544 Line exceeds 85 characters; contains 93 characters
warning 1547 Line exceeds 85 characters; contains 136 characters
error 1549 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 1550 Line exceeds 85 characters; contains 135 characters
error 1552 Expected "} else {\n"; found "}\n else {\n"
warning 1554 Line exceeds 85 characters; contains 164 characters
error 1556 Expected "} else {\n"; found "}\n else {\n"
warning 1557 Line exceeds 85 characters; contains 95 characters
error 1563 Expected "} else {\n"; found "}\n else {\n"
error 1583 Expected 1 space before variable type
error 1583 Expected 1 space after the longest type
error 1588 Method name "XML_XPath_common::_is_dom_node" is not in camel caps format
error 1602 Method name "XML_XPath_common::_restore_bookmark" is not in camel caps format
warning 1611 Line exceeds 85 characters; contains 94 characters
warning 1612 Line exceeds 85 characters; contains 91 characters
warning 1613 Line exceeds 85 characters; contains 96 characters
warning 1614 Line exceeds 85 characters; contains 97 characters
warning 1616 Line exceeds 85 characters; contains 86 characters
error 1617 The comments for parameters $in_xpathQuery (1) and $in_movePointer (2) do not align
error 1618 The comments for parameters $in_movePointer (2) and $in_nodeTypes (3) do not align
error 1623 Method name "XML_XPath_common::_quick_evaluate_init" is not in camel caps format
warning 1623 Line exceeds 85 characters; contains 103 characters
warning 1625 Line exceeds 85 characters; contains 88 characters
warning 1628 Line exceeds 85 characters; contains 90 characters
warning 1632 Line exceeds 85 characters; contains 123 characters
warning 1635 Line exceeds 85 characters; contains 87 characters
warning 1644 Line exceeds 85 characters; contains 87 characters
error 1647 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 1647 Line exceeds 85 characters; contains 97 characters
warning 1649 Line exceeds 85 characters; contains 98 characters
error 1651 Expected "} else {\n"; found "}\n else {\n"
error 1655 Expected "} else {\n"; found "}\n else {\n"
error 1661 Expected "} else {\n"; found "}\n else {\n"
warning 1666 Line exceeds 85 characters; contains 154 characters
warning 1670 Line exceeds 85 characters; contains 156 characters
error 1677 Expected "} elseif (...) {\n"; found "}\n // a bit costly, so we put it second\n elseif (...) {\n"
error 1680 Expected "} else {\n"; found "}\n else {\n"
warning 1681 Line exceeds 85 characters; contains 153 characters
error 1690 Expected "} else {\n"; found "}\n // set the bookmark if we only want to temporarily move the pointer\n // this area is too critical to call class methods...we have to be nasty\n else {\n"
warning 1692 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 1697 Line exceeds 85 characters; contains 107 characters
warning 1702 Line exceeds 85 characters; contains 197 characters
error 1704 Expected "} else {\n"; found "}\n else {\n"
Sum 173 errors and 185 warnings
/data/pear/pear/XML_XPath/XPath/error.php
error 2 You must use "/**" style comments for a file comment
warning 32 Line exceeds 85 characters; contains 100 characters
error 42 Opening brace of a class must be on the line after the definition
error 42 You must use "/**" style comments for a class comment
warning 58 Line exceeds 85 characters; contains 91 characters
error 59 The comments for parameters $mode (2) and $level (3) do not align
warning 60 Line exceeds 85 characters; contains 93 characters
error 60 The comments for parameters $level (3) and $debuginfo (4) do not align
warning 68 Line exceeds 85 characters; contains 96 characters
error 70 Expected "} else {\n"; found "} \n else {\n"
warning 71 Line exceeds 85 characters; contains 103 characters
Sum 6 errors and 5 warnings
/data/pear/pear/XML_XPath/XPath/result.php
error 2 You must use "/**" style comments for a file comment
error 30 Expected 1 space after comma in function call; 5 found
error 31 Expected 1 space after comma in function call; 3 found
error 32 Expected 1 space after comma in function call; 2 found
error 33 Expected 1 space after comma in function call; 4 found
error 34 Expected 1 space after comma in function call; 2 found
warning 42 Line exceeds 85 characters; contains 96 characters
error 53 Opening brace of a class must be on the line after the definition
error 53 You must use "/**" style comments for a class comment
error 53 Class name is not valid; consider XML_XPath_Result instead
error 94 You must use "/**" style comments for a function comment
warning 97 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 98 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 99 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 100 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 101 Line exceeds 85 characters; contains 87 characters
warning 102 Line exceeds 85 characters; contains 88 characters
warning 110 Line exceeds 85 characters; contains 89 characters
warning 111 Line exceeds 85 characters; contains 87 characters
error 119 Line indented incorrectly; expected 8 spaces, found 12
error 121 Break statement indented incorrectly; expected 16 spaces, found 12
error 123 Line indented incorrectly; expected 8 spaces, found 12
error 124 Line indented incorrectly; expected 12 spaces, found 16
error 127 Expected "} else {\n"; found "}\n else {\n"
error 127 Line indented incorrectly; expected 12 spaces, found 16
warning 128 Line exceeds 85 characters; contains 128 characters
error 130 Break statement indented incorrectly; expected 16 spaces, found 12
error 132 Line indented incorrectly; expected 8 spaces, found 12
error 133 Line indented incorrectly; expected 8 spaces, found 12
error 135 Break statement indented incorrectly; expected 16 spaces, found 12
error 135 Break statement indented incorrectly; expected 16 spaces, found 12
error 163 Opening brace should be on a new line
warning 185 Line exceeds 85 characters; contains 92 characters
warning 186 Line exceeds 85 characters; contains 89 characters
warning 187 Line exceeds 85 characters; contains 94 characters
warning 188 Line exceeds 85 characters; contains 93 characters
warning 191 Line exceeds 85 characters; contains 97 characters
warning 194 Line exceeds 85 characters; contains 89 characters
error 194 Expected 1 space before variable type
error 195 Expected 1 space before variable type
error 195 The variable names for parameters $in_sortXpath (1) and $in_order (2) do not align
error 195 The comments for parameters $in_sortXpath (1) and $in_order (2) do not align
error 195 Doc comment for "$in_permanent" missing
warning 202 Line exceeds 85 characters; contains 105 characters
error 218 Expected "} else {\n"; found "}\n // we need to run the query again\n else {\n"
warning 219 Line exceeds 85 characters; contains 95 characters
warning 220 Line exceeds 85 characters; contains 87 characters
warning 222 Line exceeds 85 characters; contains 91 characters
warning 225 Line exceeds 85 characters; contains 93 characters
warning 226 Line exceeds 85 characters; contains 92 characters
warning 228 Line exceeds 85 characters; contains 108 characters
warning 230 Line exceeds 85 characters; contains 155 characters
warning 234 Line exceeds 85 characters; contains 94 characters
warning 235 Line exceeds 85 characters; contains 92 characters
warning 236 Line exceeds 85 characters; contains 99 characters
error 240 Expected "while (...) {\n"; found "while(...) {\n"
warning 241 Line exceeds 85 characters; contains 92 characters
warning 242 Line exceeds 85 characters; contains 88 characters
warning 246 Line exceeds 85 characters; contains 88 characters
warning 248 Line exceeds 85 characters; contains 92 characters
warning 250 Line exceeds 85 characters; contains 125 characters
warning 253 Line exceeds 85 characters; contains 89 characters
error 254 Expected "} else {\n"; found "}\n // okay, they were different, we found a sort node, get its value\n else {\n"
warning 255 Line exceeds 85 characters; contains 87 characters
warning 258 Line exceeds 85 characters; contains 93 characters
error 260 Expected "} else {\n"; found "}\n // the last sort nodeset element is missing, which means the sort nodeset\n // was missing the last sort node\n else {\n"
error 264 Expected "} else {\n"; found "}\n else {\n"
error 271 Line indented incorrectly; expected 8 spaces, found 12
error 273 Break statement indented incorrectly; expected 16 spaces, found 12
error 275 Line indented incorrectly; expected 8 spaces, found 12
error 277 Break statement indented incorrectly; expected 16 spaces, found 12
error 279 Line indented incorrectly; expected 8 spaces, found 12
error 281 Break statement indented incorrectly; expected 16 spaces, found 12
error 283 Line indented incorrectly; expected 8 spaces, found 12
error 285 Break statement indented incorrectly; expected 16 spaces, found 12
error 287 Line indented incorrectly; expected 8 spaces, found 12
error 289 Break statement indented incorrectly; expected 16 spaces, found 12
error 291 Line indented incorrectly; expected 8 spaces, found 12
error 294 Break statement indented incorrectly; expected 16 spaces, found 12
error 296 Line indented incorrectly; expected 8 spaces, found 12
error 298 Break statement indented incorrectly; expected 16 spaces, found 12
warning 313 Line exceeds 85 characters; contains 86 characters
warning 313 Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
warning 315 Equals sign not aligned with surrounding assignments; expected 22 spaces but found 1 space
error 317 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 318 Line indented incorrectly; expected at least 16 spaces, found 15
error 319 Line indented incorrectly; expected at least 16 spaces, found 15
warning 319 Line exceeds 85 characters; contains 92 characters
warning 345 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 361 Line exceeds 85 characters; contains 92 characters
warning 362 Line exceeds 85 characters; contains 92 characters
warning 372 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 374 Expected "} else {\n"; found "}\n else {\n"
warning 391 Line exceeds 85 characters; contains 92 characters
warning 392 Line exceeds 85 characters; contains 91 characters
error 395 Expected 1 space before variable type
warning 426 Line exceeds 85 characters; contains 92 characters
warning 427 Line exceeds 85 characters; contains 91 characters
error 430 Expected 1 space before variable type
error 430 Expected 1 space after the longest type
warning 463 Line exceeds 85 characters; contains 90 characters
warning 509 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 510 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Sum 53 errors and 50 warnings