diff --git a/src/applications/conpherence/__tests__/ConpherenceRoomTestCase.php b/src/applications/conpherence/__tests__/ConpherenceRoomTestCase.php --- a/src/applications/conpherence/__tests__/ConpherenceRoomTestCase.php +++ b/src/applications/conpherence/__tests__/ConpherenceRoomTestCase.php @@ -124,22 +124,4 @@ return $conpherence; } - private function changeEditPolicy( - PhabricatorUser $actor, - ConpherenceThread $room, - $policy) { - - $xactions = array(); - $xactions[] = id(new ConpherenceTransaction()) - ->setTransactionType(PhabricatorTransactions::TYPE_EDIT_POLICY) - ->setNewValue($policy); - - id(new ConpherenceEditor()) - ->setActor($actor) - ->setContentSource($this->newContentSource()) - ->setContinueOnNoEffect(true) - ->applyTransactions($room, $xactions); - } - - } diff --git a/src/applications/conpherence/view/ConpherenceThreadListView.php b/src/applications/conpherence/view/ConpherenceThreadListView.php --- a/src/applications/conpherence/view/ConpherenceThreadListView.php +++ b/src/applications/conpherence/view/ConpherenceThreadListView.php @@ -155,18 +155,4 @@ return $item; } - private function getNoRoomsMenuItem() { - $message = phutil_tag( - 'div', - array( - 'class' => 'no-conpherences-menu-item', - ), - pht('No Rooms')); - - return id(new PHUIListItemView()) - ->setType(PHUIListItemView::TYPE_CUSTOM) - ->setName($message); - } - - } diff --git a/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php b/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php --- a/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php +++ b/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php @@ -562,35 +562,6 @@ ); } - private function selectDaemonPIDs(array $daemons, array $pids) { - $console = PhutilConsole::getConsole(); - - $running_pids = array_fuse(mpull($daemons, 'getPID')); - if (!$pids) { - $select_pids = $running_pids; - } else { - // We were given a PID or set of PIDs to kill. - $select_pids = array(); - foreach ($pids as $key => $pid) { - if (!preg_match('/^\d+$/', $pid)) { - $console->writeErr(pht("PID '%s' is not a valid PID.", $pid)."\n"); - continue; - } else if (empty($running_pids[$pid])) { - $console->writeErr( - "%s\n", - pht( - 'PID "%d" is not a known daemon PID.', - $pid)); - continue; - } else { - $select_pids[$pid] = $pid; - } - } - } - - return $select_pids; - } - protected function getOverseerProcessRefs() { $query = id(new PhutilProcessQuery()) ->withIsOverseer(true); diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php --- a/src/applications/differential/editor/DifferentialTransactionEditor.php +++ b/src/applications/differential/editor/DifferentialTransactionEditor.php @@ -1384,11 +1384,6 @@ return implode("\n", $filenames); } - private function renderPatchHTMLForMail($patch) { - return phutil_tag('pre', - array('style' => 'font-family: monospace;'), $patch); - } - private function buildPatchForMail(DifferentialDiff $diff, $byte_limit) { $format = PhabricatorEnv::getEnvConfig('metamta.differential.patch-format'); diff --git a/src/applications/differential/query/DifferentialRevisionSearchEngine.php b/src/applications/differential/query/DifferentialRevisionSearchEngine.php --- a/src/applications/differential/query/DifferentialRevisionSearchEngine.php +++ b/src/applications/differential/query/DifferentialRevisionSearchEngine.php @@ -172,18 +172,6 @@ return parent::buildSavedQueryFromBuiltin($query_key); } - private function getStatusOptions() { - return array( - DifferentialLegacyQuery::STATUS_ANY => pht('All'), - DifferentialLegacyQuery::STATUS_OPEN => pht('Open'), - DifferentialLegacyQuery::STATUS_ACCEPTED => pht('Accepted'), - DifferentialLegacyQuery::STATUS_NEEDS_REVIEW => pht('Needs Review'), - DifferentialLegacyQuery::STATUS_NEEDS_REVISION => pht('Needs Revision'), - DifferentialLegacyQuery::STATUS_CLOSED => pht('Closed'), - DifferentialLegacyQuery::STATUS_ABANDONED => pht('Abandoned'), - ); - } - protected function renderResultList( array $revisions, PhabricatorSavedQuery $query, diff --git a/src/applications/differential/xaction/DifferentialRevisionVoidTransaction.php b/src/applications/differential/xaction/DifferentialRevisionVoidTransaction.php --- a/src/applications/differential/xaction/DifferentialRevisionVoidTransaction.php +++ b/src/applications/differential/xaction/DifferentialRevisionVoidTransaction.php @@ -82,11 +82,4 @@ return true; } - private function getVoidableStatuses() { - return array( - DifferentialReviewerStatus::STATUS_ACCEPTED, - DifferentialReviewerStatus::STATUS_REJECTED, - ); - } - } diff --git a/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php b/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php --- a/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php +++ b/src/applications/diffusion/doorkeeper/DiffusionDoorkeeperCommitFeedStoryPublisher.php @@ -7,10 +7,6 @@ private $activePHIDs; private $passivePHIDs; - private function getAuditRequests() { - return $this->auditRequests; - } - public function canPublishStory(PhabricatorFeedStory $story, $object) { return ($story instanceof PhabricatorApplicationTransactionFeedStory) && diff --git a/src/view/phui/PHUIPagerView.php b/src/view/phui/PHUIPagerView.php --- a/src/view/phui/PHUIPagerView.php +++ b/src/view/phui/PHUIPagerView.php @@ -76,10 +76,6 @@ + ($this->hasMorePages ? 1 : 0); } - private function isExactCountKnown() { - return $this->count !== null; - } - /** * A common paging strategy is to select one extra record and use that to * indicate that there's an additional page (this doesn't give you a diff --git a/src/view/phui/calendar/PHUICalendarDayView.php b/src/view/phui/calendar/PHUICalendarDayView.php --- a/src/view/phui/calendar/PHUICalendarDayView.php +++ b/src/view/phui/calendar/PHUICalendarDayView.php @@ -296,24 +296,6 @@ return $header; } - private function updateEventsFromCluster($cluster, $hourly_events) { - $cluster_size = count($cluster); - $n = 0; - foreach ($cluster as $cluster_member) { - $event_id = $cluster_member->getEventID(); - $offset = (($n / $cluster_size) * 100).'%'; - $width = ((1 / $cluster_size) * 100).'%'; - - if (isset($hourly_events[$event_id])) { - $hourly_events[$event_id]['offset'] = $offset; - $hourly_events[$event_id]['width'] = $width; - } - $n++; - } - - return $hourly_events; - } - // returns DateTime of each hour in the day private function getHoursOfDay() { $included_datetimes = array();