diff --git a/src/applications/harbormaster/worker/HarbormasterBuildWorker.php b/src/applications/harbormaster/worker/HarbormasterBuildWorker.php index 31f37b2f2b..c71563a8a5 100644 --- a/src/applications/harbormaster/worker/HarbormasterBuildWorker.php +++ b/src/applications/harbormaster/worker/HarbormasterBuildWorker.php @@ -5,7 +5,7 @@ */ final class HarbormasterBuildWorker extends HarbormasterWorker { - public function doWork() { + protected function doWork() { $data = $this->getTaskData(); $id = idx($data, 'buildID'); $viewer = $this->getViewer(); diff --git a/src/applications/harbormaster/worker/HarbormasterTargetWorker.php b/src/applications/harbormaster/worker/HarbormasterTargetWorker.php index 180f19907a..d0d6d168ab 100644 --- a/src/applications/harbormaster/worker/HarbormasterTargetWorker.php +++ b/src/applications/harbormaster/worker/HarbormasterTargetWorker.php @@ -30,7 +30,7 @@ final class HarbormasterTargetWorker extends HarbormasterWorker { return $target; } - public function doWork() { + protected function doWork() { $target = $this->loadBuildTarget(); $build = $target->getBuild(); $viewer = $this->getViewer(); diff --git a/src/applications/metamta/PhabricatorMetaMTAWorker.php b/src/applications/metamta/PhabricatorMetaMTAWorker.php index 60fc1dcb92..e600bb3dc5 100644 --- a/src/applications/metamta/PhabricatorMetaMTAWorker.php +++ b/src/applications/metamta/PhabricatorMetaMTAWorker.php @@ -11,7 +11,7 @@ final class PhabricatorMetaMTAWorker return ($task->getFailureCount() * 15); } - public function doWork() { + protected function doWork() { $message = $this->loadMessage(); if (!$message) { throw new PhabricatorWorkerPermanentFailureException( diff --git a/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php b/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php index c6a3eef050..cafb28d7f6 100644 --- a/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php +++ b/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php @@ -27,7 +27,7 @@ abstract class PhabricatorRepositoryCommitParserWorker return $this->commit = $commit; } - final public function doWork() { + final protected function doWork() { if (!$this->loadCommit()) { return; } diff --git a/src/applications/repository/worker/PhabricatorRepositoryPushMailWorker.php b/src/applications/repository/worker/PhabricatorRepositoryPushMailWorker.php index 23582d63eb..a70ed055ac 100644 --- a/src/applications/repository/worker/PhabricatorRepositoryPushMailWorker.php +++ b/src/applications/repository/worker/PhabricatorRepositoryPushMailWorker.php @@ -3,7 +3,7 @@ final class PhabricatorRepositoryPushMailWorker extends PhabricatorWorker { - public function doWork() { + protected function doWork() { $viewer = PhabricatorUser::getOmnipotentUser(); $task_data = $this->getTaskData(); diff --git a/src/applications/search/worker/PhabricatorSearchWorker.php b/src/applications/search/worker/PhabricatorSearchWorker.php index 41d53b50c9..873d9ff2dc 100644 --- a/src/applications/search/worker/PhabricatorSearchWorker.php +++ b/src/applications/search/worker/PhabricatorSearchWorker.php @@ -2,7 +2,7 @@ final class PhabricatorSearchWorker extends PhabricatorWorker { - public function doWork() { + protected function doWork() { $data = $this->getTaskData(); $phid = idx($data, 'documentPHID'); diff --git a/src/infrastructure/sms/worker/PhabricatorSMSDemultiplexWorker.php b/src/infrastructure/sms/worker/PhabricatorSMSDemultiplexWorker.php index 7715166a7e..daa5244a10 100644 --- a/src/infrastructure/sms/worker/PhabricatorSMSDemultiplexWorker.php +++ b/src/infrastructure/sms/worker/PhabricatorSMSDemultiplexWorker.php @@ -3,7 +3,7 @@ final class PhabricatorSMSDemultiplexWorker extends PhabricatorSMSWorker { - public function doWork() { + protected function doWork() { $viewer = PhabricatorUser::getOmnipotentUser(); $task_data = $this->getTaskData(); diff --git a/src/infrastructure/sms/worker/PhabricatorSMSSendWorker.php b/src/infrastructure/sms/worker/PhabricatorSMSSendWorker.php index a630de44bc..fa56336809 100644 --- a/src/infrastructure/sms/worker/PhabricatorSMSSendWorker.php +++ b/src/infrastructure/sms/worker/PhabricatorSMSSendWorker.php @@ -11,7 +11,7 @@ final class PhabricatorSMSSendWorker return phutil_units('1 minute in seconds'); } - public function doWork() { + protected function doWork() { $viewer = PhabricatorUser::getOmnipotentUser(); $task_data = $this->getTaskData();