Coding Standards Report for Payment_KDDI

Type Line Message
Package 95 errors and 25 warnings
/data/pear/pear/Payment_KDDI/Prepaid.php
error 2 You must use "/**" style comments for a file comment
error 76 No space found after comma in function call
error 83 No space found after comma in function call
error 90 No space found after comma in function call
error 96 No space found after comma in function call
error 102 No space found after comma in function call
error 108 No space found after comma in function call
error 114 No space found after comma in function call
error 120 No space found after comma in function call
error 127 No space found after comma in function call
error 136 No space found after comma in function call
error 145 No space found after comma in function call
error 151 No space found after comma in function call
error 158 No space found after comma in function call
error 165 No space found after comma in function call
error 177 No space found after comma in function call
error 183 No space found after comma in function call
error 185 Missing class doc comment
error 213 Expected 1 space before variable type
error 213 Doc comment var "Merchant" does not match actual variable name "$merchantCode" at position 1
error 214 Expected 1 space before variable type
error 214 Doc comment var "Merchant" does not match actual variable name "$merchantId" at position 2
error 215 Expected 1 space before variable type
error 215 The comments for parameters Merchant (2) and WSDL (3) do not align
error 215 Doc comment var "WSDL" does not match actual variable name "$wsdl" at position 3
error 223 Expected "if (...) {\n"; found "if(...) {\n"
error 224 No space found after comma in function call
error 226 No space found after comma in function call
error 226 No space found after comma in function call
warning 226 Line exceeds 85 characters; contains 109 characters
error 228 No space found after comma in function call
error 229 No space found after comma in function call
error 230 No space found after comma in function call
error 231 No space found after comma in function call
error 232 No space found after comma in function call
warning 232 Line exceeds 85 characters; contains 86 characters
error 241 Expected 1 space before variable type
error 241 Doc comment var "Merchant" does not match actual variable name "$merchantCode" at position 1
error 242 Expected 1 space before variable type
error 242 Doc comment var "Merchant" does not match actual variable name "$merchantId" at position 2
error 243 Expected 1 space before variable type
error 243 The comments for parameters Merchant (2) and WSDL (3) do not align
error 243 Doc comment var "WSDL" does not match actual variable name "$wsdl" at position 3
error 249 Method name "Payment_KDDI_Prepaid::Payment_Kddi_Prepaid" is not in camel caps format
error 251 No space found after comma in function call
error 251 No space found after comma in function call
error 260 Expected 1 space before variable type
error 260 Doc comment var "Merchant" does not match actual variable name "$merchantOrderId" at position 1
error 260 Expected 1 space after the longest type
error 261 Expected 1 space before variable type
error 261 The comments for parameters Merchant (1) and total (2) do not align
error 261 Doc comment var "total" does not match actual variable name "$total" at position 2
error 262 Expected 1 space before variable type
error 262 The comments for parameters total (2) and Card (3) do not align
error 262 Doc comment var "Card" does not match actual variable name "$card" at position 3
error 270 Expected "if (...) {\n"; found "if(...) {\n"
error 275 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 286 Line exceeds 85 characters; contains 103 characters
warning 287 Line exceeds 85 characters; contains 97 characters
warning 289 Line exceeds 85 characters; contains 100 characters
warning 290 Line exceeds 85 characters; contains 101 characters
error 300 No space found after comma in function call
error 302 Expected "if (...) {\n"; found "if(...) {\n"
error 303 No space found after comma in function call
error 305 No space found after comma in function call
error 305 No space found after comma in function call
error 305 No space found after comma in function call
warning 305 Line exceeds 85 characters; contains 121 characters
error 316 Expected 1 space before variable type
error 316 Doc comment var "key(name)" does not match actual variable name "$key" at position 1
error 316 Expected 1 space after the longest type
error 317 Expected 1 space before variable type
error 317 The comments for parameters key(name) (1) and value (2) do not align
error 317 Doc comment var "value" does not match actual variable name "$val" at position 2
error 334 Expected 1 space before variable type
error 334 Doc comment var "key(name)" does not match actual variable name "$key" at position 1
error 334 Expected 1 space after the longest type
error 351 Expected 1 space before variable type
error 351 Doc comment var "Card" does not match actual variable name "$cards" at position 1
error 351 Expected 1 space after the longest type
error 359 Expected "if (...) {\n"; found "if(...) {\n"
error 371 Expected 1 space before variable type
error 371 Doc comment var "Status" does not match actual variable name "$statusCode" at position 1
error 371 Expected 1 space after the longest type
error 397 Expected 1 space before variable type
error 397 Doc comment var "Context" does not match actual variable name "$contextCode" at position 1
error 397 Expected 1 space after the longest type
warning 412 Line exceeds 85 characters; contains 94 characters
error 424 Expected 1 space before variable type
error 424 Doc comment var "result" does not match actual variable name "$str" at position 1
error 424 Expected 1 space after the longest type
error 433 File is being conditionally included; use "include_once" instead
warning 434 Equals sign not aligned with surrounding assignments; expected 35 spaces but found 1 space
warning 435 Equals sign not aligned with surrounding assignments; expected 36 spaces but found 1 space
warning 436 Equals sign not aligned with surrounding assignments; expected 31 spaces but found 1 space
warning 437 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 439 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 440 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 441 Equals sign not aligned with surrounding assignments; expected 13 spaces but found 1 space
warning 442 Equals sign not aligned with surrounding assignments; expected 34 spaces but found 1 space
warning 443 Equals sign not aligned with surrounding assignments; expected 31 spaces but found 1 space
warning 444 Equals sign not aligned with surrounding assignments; expected 32 spaces but found 1 space
warning 445 Equals sign not aligned with surrounding assignments; expected 29 spaces but found 1 space
error 446 Expected "for (...) {\n"; found "for(...) {\n"
error 447 Expected "if (...) {\n"; found "if(...) {\n"
warning 450 Equals sign not aligned with surrounding assignments; expected 27 spaces but found 1 space
warning 451 Equals sign not aligned with surrounding assignments; expected 27 spaces but found 1 space
warning 452 Line exceeds 85 characters; contains 88 characters
warning 455 Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
warning 456 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
error 459 Expected "if (...) {\n"; found "if(...) {\n"
error 462 No space found after comma in function call
warning 462 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
error 473 Expected 1 space before variable type
error 473 Doc comment var "parsed" does not match actual variable name "$data" at position 1
error 473 Expected 1 space after the longest type
error 482 Expected "if (...) {\n"; found "if(...) {\n"
error 483 Line indented incorrectly; expected at least 12 spaces, found 11
error 485 Expected "for (...) {\n"; found "for(...) {\n"
error 486 Expected "if (...) {\n"; found "if(...) {\n"
Sum 95 errors and 25 warnings