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, Dec 17, 7:08 PM
Unknown Object (File)
Tue, Dec 17, 6:44 AM
Unknown Object (File)
Tue, Dec 17, 6:37 AM
Unknown Object (File)
Sat, Dec 14, 10:45 AM
Unknown Object (File)
Tue, Dec 10, 6:26 PM
Unknown Object (File)
Mon, Dec 9, 2:04 PM
Unknown Object (File)
Thu, Dec 5, 11:34 AM
Unknown Object (File)
Thu, Dec 5, 5:02 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.