Page MenuHomePhabricator

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

Authored by epriestley on Mar 20 2017, 10:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 12:18 AM
Unknown Object (File)
Fri, Nov 15, 10:37 AM
Unknown Object (File)
Sun, Nov 10, 11:36 PM
Unknown Object (File)
Sun, Nov 10, 10:36 PM
Unknown Object (File)
Sun, Nov 10, 8:22 PM
Unknown Object (File)
Thu, Nov 7, 1:48 AM
Unknown Object (File)
Mon, Nov 4, 5:13 PM
Unknown Object (File)
Mon, Nov 4, 2:31 PM
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.