Coding Standards Report for Pager

Type Line Message
Package 30 errors and 141 warnings
/data/pear/pear/Pager/Common.php
warning 45 Line exceeds 85 characters; contains 107 characters
warning 47 Line exceeds 85 characters; contains 111 characters
warning 49 Line exceeds 85 characters; contains 104 characters
warning 50 Line exceeds 85 characters; contains 92 characters
error 55 Expected 1 space after comma in function call; 25 found
error 56 Expected 1 space after comma in function call; 21 found
error 57 Expected 1 space after comma in function call; 13 found
error 59 Expected 1 space after comma in function call; 7 found
error 60 Expected 1 space after comma in function call; 5 found
warning 88 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 94 Equals sign not aligned correctly; expected 1 space but found 7 spaces
warning 106 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 112 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 124 Equals sign not aligned correctly; expected 1 space but found 8 spaces
warning 130 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 133 Line exceeds 85 characters; contains 87 characters
warning 142 Equals sign not aligned correctly; expected 1 space but found 6 spaces
warning 148 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 154 Equals sign not aligned correctly; expected 1 space but found 6 spaces
warning 166 Equals sign not aligned correctly; expected 1 space but found 6 spaces
warning 172 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 178 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 190 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 196 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 202 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 214 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 220 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 226 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 232 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 235 Line exceeds 85 characters; contains 86 characters
warning 238 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 244 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 247 Line exceeds 85 characters; contains 93 characters
warning 259 Equals sign not aligned correctly; expected 1 space but found 5 spaces
warning 275 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 287 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 293 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 299 Equals sign not aligned correctly; expected 1 space but found 8 spaces
warning 305 Equals sign not aligned correctly; expected 1 space but found 7 spaces
warning 311 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 329 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 335 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 341 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 347 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 353 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 383 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 389 Equals sign not aligned correctly; expected 1 space but found 6 spaces
warning 395 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 401 Equals sign not aligned correctly; expected 1 space but found 3 spaces
warning 407 Equals sign not aligned correctly; expected 1 space but found 2 spaces
warning 413 Equals sign not aligned correctly; expected 1 space but found 4 spaces
warning 697 Line exceeds 85 characters; contains 104 characters
warning 800 Line exceeds 85 characters; contains 86 characters
warning 801 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 835 Line exceeds 85 characters; contains 94 characters
warning 839 Line exceeds 85 characters; contains 96 characters
warning 845 Line exceeds 85 characters; contains 113 characters
warning 846 Line exceeds 85 characters; contains 87 characters
error 849 Space before closing parenthesis of function call prohibited
warning 855 Line exceeds 85 characters; contains 95 characters
warning 859 Line exceeds 85 characters; contains 115 characters
error 862 Space before closing parenthesis of function call prohibited
error 897 Space after opening parenthesis of function call prohibited
warning 898 Line exceeds 85 characters; contains 101 characters
error 900 Space before closing parenthesis of function call prohibited
warning 905 Line exceeds 85 characters; contains 96 characters
warning 911 Line exceeds 85 characters; contains 96 characters
warning 947 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 951 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 2 spaces
warning 952 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 982 Opening brace should be on a new line
error 1045 Method name "Pager_Common::_recursive_stripslashes" is not in camel caps format
error 1067 Method name "Pager_Common::_recursive_urldecode" is not in camel caps format
warning 1075 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 1085 Line exceeds 85 characters; contains 88 characters
warning 1086 Line exceeds 85 characters; contains 88 characters
warning 1104 Equals sign not aligned with surrounding assignments; expected 28 spaces but found 1 space
warning 1119 Line exceeds 85 characters; contains 86 characters
warning 1136 Line exceeds 85 characters; contains 88 characters
warning 1137 Line exceeds 85 characters; contains 88 characters
warning 1155 Equals sign not aligned with surrounding assignments; expected 28 spaces but found 1 space
error 1191 Space before closing parenthesis of function call prohibited
error 1219 Space before closing parenthesis of function call prohibited
error 1247 Space before closing parenthesis of function call prohibited
error 1275 Space before closing parenthesis of function call prohibited
warning 1295 Line exceeds 85 characters; contains 90 characters
warning 1324 Line exceeds 85 characters; contains 102 characters
warning 1328 Line exceeds 85 characters; contains 93 characters
error 1373 Space after opening parenthesis of function call prohibited
error 1376 Space before closing parenthesis of function call prohibited
error 1395 Space after opening parenthesis of function call prohibited
error 1398 Space before closing parenthesis of function call prohibited
error 1435 Method name "Pager_Common::_http_build_query_wrapper" is not in camel caps format
error 1474 Method name "Pager_Common::__http_build_query" is invalid; only PHP magic methods should be prefixed with a double underscore
warning 1476 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 1483 Line exceeds 85 characters; contains 102 characters
warning 1484 Line exceeds 85 characters; contains 92 characters
warning 1486 Line exceeds 85 characters; contains 106 characters
warning 1487 Line exceeds 85 characters; contains 87 characters
warning 1489 Line exceeds 85 characters; contains 119 characters
warning 1490 Line exceeds 85 characters; contains 109 characters
warning 1571 Line exceeds 85 characters; contains 87 characters
warning 1573 Line exceeds 85 characters; contains 89 characters
warning 1580 Line exceeds 85 characters; contains 94 characters
warning 1597 Line exceeds 85 characters; contains 89 characters
warning 1597 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 1628 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 1689 Line exceeds 85 characters; contains 95 characters
warning 1690 Line exceeds 85 characters; contains 94 characters
warning 1691 Line exceeds 85 characters; contains 112 characters
Sum 22 errors and 88 warnings
/data/pear/pear/Pager/HtmlWidgets.php
warning 91 Line exceeds 85 characters; contains 102 characters
warning 94 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 95 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 113 Space after opening parenthesis of function call prohibited
error 116 Space before closing parenthesis of function call prohibited
warning 127 Line exceeds 85 characters; contains 99 characters
error 193 Space after opening parenthesis of function call prohibited
error 196 Space before closing parenthesis of function call prohibited
warning 207 Line exceeds 85 characters; contains 99 characters
error 208 Space after opening parenthesis of function call prohibited
error 212 Space before closing parenthesis of function call prohibited
warning 214 Line exceeds 85 characters; contains 117 characters
warning 221 Line exceeds 85 characters; contains 102 characters
error 223 Space after opening parenthesis of function call prohibited
warning 223 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 224 Line exceeds 85 characters; contains 97 characters
error 227 Space before closing parenthesis of function call prohibited
warning 230 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 231 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 232 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 3 spaces
Sum 8 errors and 12 warnings
/data/pear/pear/Pager/Jumping.php
warning 124 Line exceeds 85 characters; contains 138 characters
warning 172 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 240 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 245 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 247 Line exceeds 85 characters; contains 89 characters
warning 247 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 250 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 253 Line exceeds 85 characters; contains 95 characters
Sum 0 errors and 8 warnings
/data/pear/pear/Pager/Pager.php
warning 171 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
Sum 0 errors and 1 warnings
/data/pear/pear/Pager/Sliding.php
warning 126 Line exceeds 85 characters; contains 94 characters
warning 157 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 232 Line exceeds 85 characters; contains 99 characters
warning 236 Line exceeds 85 characters; contains 130 characters
warning 237 Line exceeds 85 characters; contains 125 characters
warning 239 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 241 Line exceeds 85 characters; contains 92 characters
warning 241 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 243 Line exceeds 85 characters; contains 98 characters
warning 248 Line exceeds 85 characters; contains 141 characters
warning 255 Line exceeds 85 characters; contains 116 characters
warning 259 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 261 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 263 Line exceeds 85 characters; contains 93 characters
warning 263 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 266 Line exceeds 85 characters; contains 95 characters
warning 271 Line exceeds 85 characters; contains 111 characters
warning 272 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 273 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 275 Line exceeds 85 characters; contains 92 characters
warning 275 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 277 Line exceeds 85 characters; contains 93 characters
warning 285 Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
warning 287 Line exceeds 85 characters; contains 93 characters
warning 287 Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space
warning 290 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 293 Line exceeds 85 characters; contains 99 characters
Sum 0 errors and 27 warnings
/data/pear/pear/Pager/example.php
warning 20 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
warning 24 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 25 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 2 spaces
warning 26 Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
warning 36 Line exceeds 85 characters; contains 102 characters
Sum 0 errors and 5 warnings