Page MenuHomePhabricator

Rename "getReviewerStatus()" to "getReviewers()"
ClosedPublic

Authored by epriestley on Mar 20 2017, 10:09 PM.
Tags
None
Referenced Files
F18821148: D17522.id42135.diff
Wed, Oct 22, 7:36 PM
F18798490: D17522.id.diff
Fri, Oct 17, 6:36 AM
F18777287: D17522.diff
Sat, Oct 11, 1:51 AM
F18764977: D17522.id42146.diff
Tue, Oct 7, 8:52 AM
F18733517: D17522.id.diff
Tue, Sep 30, 10:36 PM
F18724913: D17522.id42145.diff
Tue, Sep 30, 4:32 AM
F18708817: D17522.diff
Sun, Sep 28, 10:55 PM
F18704824: D17522.diff
Sun, Sep 28, 8:59 AM
Subscribers
None

Details

Summary

Ref T10967. Improves some method names:

  • Revision->getReviewerStatus() -> Revision->getReviewers()
  • Revision->attachReviewerStatus() -> Revision->attachReviewers()
  • Reviewer->getStatus() -> Reviewer->getReviewerStatus() (this is mostly to make this more greppable)
Test Plan
  • bunch o' grep
  • Browsed around.
  • If I missed anything, it should fatal in an obvious way. We have a lot of other getStatus() calls and it's hard to be sure I got them all.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/differential/storage/DifferentialRevision.php
73

attachReviewers?

  • attachReviewer() -> attachReviewers()
This revision is now accepted and ready to land.Mar 20 2017, 11:49 PM
  • Fix one more getStatus().
  • Fix one getReviewer*s*Status().
  • Tune a bit of behavior around differential.sticky-accept.
This revision was automatically updated to reflect the committed changes.