Coding Standards Report for System_Command

Type Line Message
Package 83 errors and 41 warnings
/data/pear/pear/System_Command/Command.php
error 2 You must use "/**" style comments for a file comment
error 32 Expected 1 space after comma in function call; 17 found
error 33 Expected 1 space after comma in function call; 13 found
error 34 Expected 1 space after comma in function call; 10 found
error 35 Expected 1 space after comma in function call; 5 found
error 36 Expected 1 space after comma in function call; 6 found
error 37 Expected 1 space after comma in function call; 2 found
error 38 Expected 1 space after comma in function call; 3 found
error 39 No space found after comma in function call
error 41 Expected 1 space after comma in function call; 5 found
error 42 Expected 1 space after comma in function call; 8 found
error 43 Expected 1 space after comma in function call; 11 found
error 44 Expected 1 space after comma in function call; 5 found
error 62 Opening brace of a class must be on the line after the definition
error 62 You must use "/**" style comments for a class comment
error 134 Doc comment for "$in_shell" missing
error 187 Line indented incorrectly; expected at least 16 spaces, found 13
error 187 Spaces must be used to indent lines; tabs are not allowed
warning 187 Line exceeds 85 characters; contains 140 characters
warning 195 Line exceeds 85 characters; contains 143 characters
error 229 Last parameter comment requires a blank newline after it
error 229 The variable names for parameters $in_option (1) and $in_setting (2) do not align
error 229 The comments for parameters $in_option (1) and $in_setting (2) do not align
error 235 Spaces must be used to indent lines; tabs are not allowed
error 235 Line indented incorrectly; expected 8 spaces, found 5
error 237 Closing brace indented incorrectly; expected 5 spaces, found 8
warning 242 Line exceeds 85 characters; contains 114 characters
error 247 Line indented incorrectly; expected 8 spaces, found 12
error 248 Line indented incorrectly; expected 8 spaces, found 12
error 249 Line indented incorrectly; expected 8 spaces, found 12
error 250 Line indented incorrectly; expected 8 spaces, found 12
error 251 Line indented incorrectly; expected 8 spaces, found 12
error 254 Break statement indented incorrectly; expected 16 spaces, found 12
error 254 Break statement indented incorrectly; expected 16 spaces, found 12
error 254 Break statement indented incorrectly; expected 16 spaces, found 12
error 254 Break statement indented incorrectly; expected 16 spaces, found 12
error 254 Break statement indented incorrectly; expected 16 spaces, found 12
error 256 Line indented incorrectly; expected 8 spaces, found 12
error 257 Line indented incorrectly; expected 12 spaces, found 16
error 261 Expected "} else {\n"; found "} \n else {\n"
error 261 Line indented incorrectly; expected 12 spaces, found 16
warning 262 Line exceeds 85 characters; contains 132 characters
error 265 Break statement indented incorrectly; expected 16 spaces, found 12
error 267 Line indented incorrectly; expected 8 spaces, found 12
error 268 Line indented incorrectly; expected 12 spaces, found 16
error 271 Expected "} else if (...) {\n"; found "} \n else if (...) {\n"
error 271 Line indented incorrectly; expected 12 spaces, found 16
error 274 Expected "} else {\n"; found "} \n else {\n"
error 274 Line indented incorrectly; expected 12 spaces, found 16
warning 275 Line exceeds 85 characters; contains 130 characters
error 278 Break statement indented incorrectly; expected 16 spaces, found 12
error 288 Expected 1 space before variable type
warning 289 Line exceeds 85 characters; contains 98 characters
error 289 Expected 1 space before variable type
error 289 The comments for parameters $in_command (1) and $in_argument (2) do not align
error 289 Superfluous doc comment at position 2
error 290 Expected 1 space before variable type
error 290 The comments for parameters $in_argument (2) and $in_argument (3) do not align
error 290 Superfluous doc comment at position 3
error 290 Missing comment for param "$in_argument" at position 3
error 291 Expected 1 space before variable type
error 291 The variable names for parameters $in_argument (3) and [ UNKNOWN ] (4) do not align
error 291 The comments for parameters $in_argument (3) and [ UNKNOWN ] (4) do not align
error 291 Superfluous doc comment at position 4
error 291 Missing parameter name at position 4
error 291 Missing comment for param "[ UNKNOWN ]" at position 4
error 291 Expected 1 space after the longest type
error 298 Spaces must be used to indent lines; tabs are not allowed
error 298 Line indented incorrectly; expected 8 spaces, found 5
error 300 Closing brace indented incorrectly; expected 5 spaces, found 8
warning 302 Line exceeds 85 characters; contains 109 characters
warning 304 Line exceeds 85 characters; contains 136 characters
warning 304 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 310 Line exceeds 85 characters; contains 134 characters
error 315 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 319 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 325 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 336 Line exceeds 85 characters; contains 93 characters
error 336 Expected 1 space before variable type
error 343 Spaces must be used to indent lines; tabs are not allowed
error 343 Line indented incorrectly; expected 8 spaces, found 5
error 345 Closing brace indented incorrectly; expected 5 spaces, found 8
warning 347 Line exceeds 85 characters; contains 120 characters
warning 349 Line exceeds 85 characters; contains 107 characters
warning 351 Line exceeds 85 characters; contains 137 characters
warning 351 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
error 353 Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n"
warning 355 Line exceeds 85 characters; contains 140 characters
warning 355 Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
warning 359 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 375 Spaces must be used to indent lines; tabs are not allowed
error 375 Line indented incorrectly; expected 8 spaces, found 5
error 377 Closing brace indented incorrectly; expected 5 spaces, found 8
warning 379 Line exceeds 85 characters; contains 99 characters
warning 380 Line exceeds 85 characters; contains 137 characters
warning 381 Line exceeds 85 characters; contains 148 characters
warning 386 Line exceeds 85 characters; contains 88 characters
warning 387 Line exceeds 85 characters; contains 130 characters
error 402 Expected "} elseif (...) {\n"; found "}\n // run a background process (only if not nohup)\n elseif (...) {\n"
warning 408 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 413 Expected "} else {\n"; found "} \n else {\n"
warning 415 Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
warning 417 Line exceeds 85 characters; contains 125 characters
warning 417 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 422 Line exceeds 85 characters; contains 136 characters
error 424 Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
error 428 Expected "} else {\n"; found "}\n else {\n"
warning 434 Line exceeds 85 characters; contains 144 characters
warning 434 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
error 453 Doc comment var "name" does not match actual variable name "$in_cmd" at position 1
warning 481 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 482 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 491 Doc comment var "error" does not match actual variable name "$in_value" at position 1
warning 505 Line exceeds 85 characters; contains 96 characters
warning 508 Line exceeds 85 characters; contains 97 characters
warning 509 Line exceeds 85 characters; contains 88 characters
warning 513 Line exceeds 85 characters; contains 92 characters
warning 521 Line exceeds 85 characters; contains 115 characters
error 530 Doc comment var "result" does not match actual variable name "$in_value" at position 1
error 562 You must use "/**" style comments for a class comment
error 575 You must use "/**" style comments for a function comment
warning 575 Line exceeds 85 characters; contains 90 characters
warning 579 Line exceeds 85 characters; contains 101 characters
warning 581 Line exceeds 85 characters; contains 108 characters
Sum 83 errors and 41 warnings