Closed (fixed)
Project:
xmlrpc
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jun 2012 at 16:56 UTC
Updated:
31 Jul 2015 at 10:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fotuzlab commentedI'll do it this weekend. Assigning the issue to myself.
Comment #2
traviscarden commentedThanks, @fotuzlab. Don't forget to claim the module on the meta issue, too.
Comment #3
fotuzlab commentedCoder 8 did not work for me. So I used Drupal code sniffer.
Following are the two issues reported by DCS those I skipped.
1. hook_xmlrpc
xmlrpc.api.php
Line 48 | ERROR | No key specified for array entry; first entry specifies key
2. xmlrpc_server
xmlrpc.server.inc
Line 32 | ERROR | No key specified for array entry; first entry specifies key
Attached is the patch for rest of the coder fixes.
Comment #4
traviscarden commentedThanks, @fotuzlab. Most of this looks pretty good. I'm going to postpone, however, pending resolution of #1539712: [policy, no patch] Coding standards for breaking function calls and language constructs across lines.
While you're waiting, there should be no DocBlock on inherited methods. See http://drupal.org/node/325974. These additions should be removed from the patch. Attached is the drupalcs output after your patch to take care of, too.
Comment #5
fotuzlab commentedThanks Travis. I'll go through the links.
Also the last two errors output by drupalcs are the ones I have mentioned in my last comment. I guess they are to be ignored.
btw, I came across this http://drupal.org/node/1649140 today morning. Assigning it to myself as it relates to this issue.
Comment #6
traviscarden commentedCan you document your reason for ignoring those drupalcs errors here?
Also, when linking to issues, use this format
#1649140: Clean up API docs for xmlrpc moduleto automatically get this: #1649140: Clean up API docs for xmlrpc module. :)Comment #7
sphism commentedWe have the go ahead with all these issues again, see #1518116: [meta] Make Core pass Coder Review for more details
Comment #8
sriharsha.uppuluri commentedStarted Working
Comment #9
sriharsha.uppuluri commentedAs mentioned in #3 except those remaining are fixed.
Comment #10
gregglesAfter #1285726-48: Remove XML-RPC moving this to the contributed module home for xmlrpc issues.
Comment #12
drummComment #14
fgmRerolled so that patch applies : after that, it will need fixing: drupalcs still reports a ton of warnings with this patch applied.
Comment #15
fgmFWIW, the current coder (CS ) report is attached.
Comment #16
fgmAddressed all CS issues too.
Comment #17
fgmNeed to also address the changes introduced in recent fixed issuesa
Comment #18
fgmAll issues addressed.
Comment #20
fgmCommitted to 8.x-1.x. Thanks all for your work.