From: vrana Date: Wed, 24 Oct 2012 19:42:18 +0000 (-0700) Subject: Fix didAbortWorkflow() without workflow X-Git-Tag: conduit-6~56 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fa75a03b725f6db69e1c41d812772ecff0777178;p=arcanist.git Fix didAbortWorkflow() without workflow Summary: This is a BC break but it was introduced recently. Test Plan: $ arc unit x No more: > Fatal error: Argument 2 passed to ArcanistConfiguration::didAbortWorkflow() must be an instance of ArcanistBaseWorkflow, null given Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3812 --- diff --git a/src/configuration/ArcanistConfiguration.php b/src/configuration/ArcanistConfiguration.php index f8af6909..ea781630 100644 --- a/src/configuration/ArcanistConfiguration.php +++ b/src/configuration/ArcanistConfiguration.php @@ -93,11 +93,7 @@ class ArcanistConfiguration { // This is a hook. } - public function didAbortWorkflow( - $command, - ArcanistBaseWorkflow $workflow, - Exception $ex) { - + public function didAbortWorkflow($command, $workflow, Exception $ex) { // This is a hook. }