diff --git a/src/aphront/configuration/AphrontApplicationConfiguration.php b/src/aphront/configuration/AphrontApplicationConfiguration.php index 07f7a806e3..237acbb0a5 100644 --- a/src/aphront/configuration/AphrontApplicationConfiguration.php +++ b/src/aphront/configuration/AphrontApplicationConfiguration.php @@ -52,8 +52,7 @@ abstract class AphrontApplicationConfiguration { return $this->path; } - public function willBuildRequest() { - } + public function willBuildRequest() {} /* -( URI Routing )-------------------------------------------------------- */ diff --git a/src/aphront/exception/AphrontCSRFException.php b/src/aphront/exception/AphrontCSRFException.php index 58e00f0b61..c7ff45e82f 100644 --- a/src/aphront/exception/AphrontCSRFException.php +++ b/src/aphront/exception/AphrontCSRFException.php @@ -1,5 +1,3 @@ getConfig('enabled', parent::shouldRequireEnabledUser()); } - public function processRequest() { - - } + public function processRequest() {} } diff --git a/src/applications/cache/management/PhabricatorCacheManagementWorkflow.php b/src/applications/cache/management/PhabricatorCacheManagementWorkflow.php index a4b813c64e..72a9db071b 100644 --- a/src/applications/cache/management/PhabricatorCacheManagementWorkflow.php +++ b/src/applications/cache/management/PhabricatorCacheManagementWorkflow.php @@ -1,6 +1,4 @@ getTransactionType()) { - } + switch ($xaction->getTransactionType()) {} return parent::requireCapabilities($object, $xaction); } diff --git a/src/applications/differential/exception/DifferentialDiffCreationRejectException.php b/src/applications/differential/exception/DifferentialDiffCreationRejectException.php index 15f8383d91..e068084f0a 100644 --- a/src/applications/differential/exception/DifferentialDiffCreationRejectException.php +++ b/src/applications/differential/exception/DifferentialDiffCreationRejectException.php @@ -1,5 +1,3 @@ limit(8)->resolveAll(); - } catch (PhutilSyntaxHighlighterException $ex) { - } + } catch (PhutilSyntaxHighlighterException $ex) {} $rows = array(); foreach ($results as $result) { @@ -148,8 +147,7 @@ final class DiffusionBrowseSearchController extends DiffusionBrowseController { try { $string = $futures["{$path}:{$line}"]->resolve(); - } catch (PhutilSyntaxHighlighterException $ex) { - } + } catch (PhutilSyntaxHighlighterException $ex) {} $string = phutil_tag( 'pre', diff --git a/src/applications/diffusion/controller/DiffusionPushLogController.php b/src/applications/diffusion/controller/DiffusionPushLogController.php index 16b9bf5530..78890dd05b 100644 --- a/src/applications/diffusion/controller/DiffusionPushLogController.php +++ b/src/applications/diffusion/controller/DiffusionPushLogController.php @@ -1,5 +1,3 @@ createNewUser($user, $email_object); return $user; - } catch (AphrontDuplicateKeyQueryException $ex) { - } + } catch (AphrontDuplicateKeyQueryException $ex) {} } } diff --git a/src/applications/phid/handle/const/PhabricatorObjectHandleConstants.php b/src/applications/phid/handle/const/PhabricatorObjectHandleConstants.php index 053c86657c..411fb88c48 100644 --- a/src/applications/phid/handle/const/PhabricatorObjectHandleConstants.php +++ b/src/applications/phid/handle/const/PhabricatorObjectHandleConstants.php @@ -1,5 +1,3 @@ getTransactionType(); - switch ($type) { - } + switch ($type) {} return parent::mergeTransactions($u, $v); } @@ -271,9 +270,7 @@ final class PhabricatorRepositoryEditor $new = $xaction->getNewValue(); $type = $xaction->getTransactionType(); - switch ($type) { - - } + switch ($type) {} return parent::transactionHasEffect($object, $xaction); } diff --git a/src/applications/search/management/PhabricatorSearchManagementWorkflow.php b/src/applications/search/management/PhabricatorSearchManagementWorkflow.php index 00c3399610..23333665e3 100644 --- a/src/applications/search/management/PhabricatorSearchManagementWorkflow.php +++ b/src/applications/search/management/PhabricatorSearchManagementWorkflow.php @@ -1,6 +1,4 @@