From 2e5065feb52131712206ba2c5d49a2f36a7207fa Mon Sep 17 00:00:00 2001 From: austinkelleher Date: Sun, 20 Apr 2014 11:02:55 -0400 Subject: [PATCH] Update function name to follow naming convention. See: Reviewed by: epriestley --- src/applications/herald/adapter/HeraldAdapter.php | 2 +- src/applications/herald/controller/HeraldRuleController.php | 2 +- .../repository/storage/PhabricatorRepositoryPushLog.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/applications/herald/adapter/HeraldAdapter.php b/src/applications/herald/adapter/HeraldAdapter.php index 4cc0cbcfcf..ceb2e21942 100644 --- a/src/applications/herald/adapter/HeraldAdapter.php +++ b/src/applications/herald/adapter/HeraldAdapter.php @@ -1041,7 +1041,7 @@ abstract class HeraldAdapter { break; case HeraldPreCommitRefAdapter::FIELD_REF_CHANGE: $change_map = - PhabricatorRepositoryPushLog::getHeraldChangeflagConditionOptions(); + PhabricatorRepositoryPushLog::getHeraldChangeFlagConditionOptions(); foreach ($value as $index => $val) { $name = idx($change_map, $val); if ($name) { diff --git a/src/applications/herald/controller/HeraldRuleController.php b/src/applications/herald/controller/HeraldRuleController.php index e462ae0a0a..b770348ef0 100644 --- a/src/applications/herald/controller/HeraldRuleController.php +++ b/src/applications/herald/controller/HeraldRuleController.php @@ -464,7 +464,7 @@ final class HeraldRuleController extends HeraldController { } $changeflag_options = - PhabricatorRepositoryPushLog::getHeraldChangeflagConditionOptions(); + PhabricatorRepositoryPushLog::getHeraldChangeFlagConditionOptions(); Javelin::initBehavior( 'herald-rule-editor', array( diff --git a/src/applications/repository/storage/PhabricatorRepositoryPushLog.php b/src/applications/repository/storage/PhabricatorRepositoryPushLog.php index e5ff6d1cd0..789636a818 100644 --- a/src/applications/repository/storage/PhabricatorRepositoryPushLog.php +++ b/src/applications/repository/storage/PhabricatorRepositoryPushLog.php @@ -52,7 +52,7 @@ final class PhabricatorRepositoryPushLog ->setPusherPHID($viewer->getPHID()); } - public static function getHeraldChangeflagConditionOptions() { + public static function getHeraldChangeFlagConditionOptions() { return array( PhabricatorRepositoryPushLog::CHANGEFLAG_ADD => pht('change creates ref'),