Comments

fotuzlab’s picture

Assigned: Unassigned » fotuzlab

I'll do it this weekend. Assigning the issue to myself.

traviscarden’s picture

Thanks, @fotuzlab. Don't forget to claim the module on the meta issue, too.

fotuzlab’s picture

Status: Active » Needs review
StatusFileSize
new17.52 KB

Coder 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.

traviscarden’s picture

Status: Needs review » Postponed
StatusFileSize
new1.85 KB

Thanks, @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.

fotuzlab’s picture

Thanks 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.

traviscarden’s picture

Can 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 module to automatically get this: #1649140: Clean up API docs for xmlrpc module. :)

sphism’s picture

Status: Postponed » Active

We have the go ahead with all these issues again, see #1518116: [meta] Make Core pass Coder Review for more details

sriharsha.uppuluri’s picture

Assigned: fotuzlab » sriharsha.uppuluri
Issue summary: View changes

Started Working

sriharsha.uppuluri’s picture

Status: Active » Needs review
StatusFileSize
new23.55 KB

As mentioned in #3 except those remaining are fixed.

greggles’s picture

Project: Drupal core » xmlrpc
Version: 8.0.x-dev »
Component: xml-rpc system » Code

After #1285726-48: Remove XML-RPC moving this to the contributed module home for xmlrpc issues.

drumm’s picture

Version: » 8.x-1.x-dev

Status: Needs review » Needs work

The last submitted patch, 9: drupal-make_xmlrpc_module_pass_coder_review-6180146-9.patch, failed testing.

fgm’s picture

Status: Needs work » Needs review
StatusFileSize
new21.33 KB
new11.66 KB

Rerolled so that patch applies : after that, it will need fixing: drupalcs still reports a ton of warnings with this patch applied.

fgm’s picture

StatusFileSize
new8.86 KB

FWIW, the current coder (CS ) report is attached.

fgm’s picture

StatusFileSize
new34.63 KB
new18.03 KB

Addressed all CS issues too.

fgm’s picture

Status: Needs review » Needs work

Need to also address the changes introduced in recent fixed issuesa

fgm’s picture

Status: Needs work » Needs review
StatusFileSize
new32.78 KB

All issues addressed.

  • fgm committed 30a9d24 on 8.x-1.x
    Issue #1650894 by fgm, fotuzlab, sriharsha.uppuluri: Make xmlrpc module...
fgm’s picture

Assigned: sriharsha.uppuluri » Unassigned
Status: Needs review » Fixed

Committed to 8.x-1.x. Thanks all for your work.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.