1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

Fix method visibility for PhabricatorRepositoryCommitParserWorker subclasses

Summary: Ref T6822.

Test Plan: Visual inspection. This method is only called from within the `PhabricatorRepositoryCommitParserWorker` class.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11248
This commit is contained in:
Joshua Spence 2015-01-07 07:33:43 +11:00
parent 7756484a00
commit 44093da93c
4 changed files with 4 additions and 5 deletions

View file

@ -3,13 +3,12 @@
final class PhabricatorRepositoryCommitHeraldWorker
extends PhabricatorRepositoryCommitParserWorker {
public function getRequiredLeaseTime() {
// Herald rules may take a long time to process.
return phutil_units('4 hours in seconds');
}
public function parseCommit(
protected function parseCommit(
PhabricatorRepository $repository,
PhabricatorRepositoryCommit $commit) {

View file

@ -3,7 +3,7 @@
final class PhabricatorRepositoryGitCommitMessageParserWorker
extends PhabricatorRepositoryCommitMessageParserWorker {
public function parseCommit(
protected function parseCommit(
PhabricatorRepository $repository,
PhabricatorRepositoryCommit $commit) {

View file

@ -3,7 +3,7 @@
final class PhabricatorRepositoryMercurialCommitMessageParserWorker
extends PhabricatorRepositoryCommitMessageParserWorker {
public function parseCommit(
protected function parseCommit(
PhabricatorRepository $repository,
PhabricatorRepositoryCommit $commit) {

View file

@ -3,7 +3,7 @@
final class PhabricatorRepositorySvnCommitMessageParserWorker
extends PhabricatorRepositoryCommitMessageParserWorker {
public function parseCommit(
protected function parseCommit(
PhabricatorRepository $repository,
PhabricatorRepositoryCommit $commit) {