Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14010438
D10454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
37 KB
Referenced Files
None
Subscribers
None
D10454.diff
View Options
diff --git a/src/aphront/configuration/AphrontApplicationConfiguration.php b/src/aphront/configuration/AphrontApplicationConfiguration.php
--- a/src/aphront/configuration/AphrontApplicationConfiguration.php
+++ b/src/aphront/configuration/AphrontApplicationConfiguration.php
@@ -52,8 +52,7 @@
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
--- a/src/aphront/exception/AphrontCSRFException.php
+++ b/src/aphront/exception/AphrontCSRFException.php
@@ -1,5 +1,3 @@
<?php
-final class AphrontCSRFException extends AphrontException {
-
-}
+final class AphrontCSRFException extends AphrontException {}
diff --git a/src/aphront/exception/AphrontException.php b/src/aphront/exception/AphrontException.php
--- a/src/aphront/exception/AphrontException.php
+++ b/src/aphront/exception/AphrontException.php
@@ -1,5 +1,3 @@
<?php
-abstract class AphrontException extends Exception {
-
-}
+abstract class AphrontException extends Exception {}
diff --git a/src/applications/audit/management/PhabricatorAuditManagementWorkflow.php b/src/applications/audit/management/PhabricatorAuditManagementWorkflow.php
--- a/src/applications/audit/management/PhabricatorAuditManagementWorkflow.php
+++ b/src/applications/audit/management/PhabricatorAuditManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorAuditManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/auth/data/PhabricatorAuthHighSecurityToken.php b/src/applications/auth/data/PhabricatorAuthHighSecurityToken.php
--- a/src/applications/auth/data/PhabricatorAuthHighSecurityToken.php
+++ b/src/applications/auth/data/PhabricatorAuthHighSecurityToken.php
@@ -1,5 +1,3 @@
<?php
-final class PhabricatorAuthHighSecurityToken {
-
-}
+final class PhabricatorAuthHighSecurityToken {}
diff --git a/src/applications/auth/management/PhabricatorAuthManagementWorkflow.php b/src/applications/auth/management/PhabricatorAuthManagementWorkflow.php
--- a/src/applications/auth/management/PhabricatorAuthManagementWorkflow.php
+++ b/src/applications/auth/management/PhabricatorAuthManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorAuthManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/base/controller/__tests__/PhabricatorTestController.php b/src/applications/base/controller/__tests__/PhabricatorTestController.php
--- a/src/applications/base/controller/__tests__/PhabricatorTestController.php
+++ b/src/applications/base/controller/__tests__/PhabricatorTestController.php
@@ -33,8 +33,6 @@
return $this->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
--- a/src/applications/cache/management/PhabricatorCacheManagementWorkflow.php
+++ b/src/applications/cache/management/PhabricatorCacheManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorCacheManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/calendar/exception/PhabricatorCalendarEventInvalidEpochException.php b/src/applications/calendar/exception/PhabricatorCalendarEventInvalidEpochException.php
--- a/src/applications/calendar/exception/PhabricatorCalendarEventInvalidEpochException.php
+++ b/src/applications/calendar/exception/PhabricatorCalendarEventInvalidEpochException.php
@@ -1,4 +1,3 @@
<?php
-final class PhabricatorCalendarEventInvalidEpochException extends Exception {
-}
+final class PhabricatorCalendarEventInvalidEpochException extends Exception {}
diff --git a/src/applications/chatlog/constants/PhabricatorChatLogConstants.php b/src/applications/chatlog/constants/PhabricatorChatLogConstants.php
--- a/src/applications/chatlog/constants/PhabricatorChatLogConstants.php
+++ b/src/applications/chatlog/constants/PhabricatorChatLogConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorChatLogConstants {
-
-}
+abstract class PhabricatorChatLogConstants {}
diff --git a/src/applications/chatlog/controller/PhabricatorChatLogController.php b/src/applications/chatlog/controller/PhabricatorChatLogController.php
--- a/src/applications/chatlog/controller/PhabricatorChatLogController.php
+++ b/src/applications/chatlog/controller/PhabricatorChatLogController.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorChatLogController extends PhabricatorController {
-
-}
+abstract class PhabricatorChatLogController extends PhabricatorController {}
diff --git a/src/applications/conduit/protocol/exception/ConduitMethodNotFoundException.php b/src/applications/conduit/protocol/exception/ConduitMethodNotFoundException.php
--- a/src/applications/conduit/protocol/exception/ConduitMethodNotFoundException.php
+++ b/src/applications/conduit/protocol/exception/ConduitMethodNotFoundException.php
@@ -1,5 +1,3 @@
<?php
-abstract class ConduitMethodNotFoundException extends ConduitException {
-
-}
+abstract class ConduitMethodNotFoundException extends ConduitException {}
diff --git a/src/applications/config/exception/PhabricatorConfigValidationException.php b/src/applications/config/exception/PhabricatorConfigValidationException.php
--- a/src/applications/config/exception/PhabricatorConfigValidationException.php
+++ b/src/applications/config/exception/PhabricatorConfigValidationException.php
@@ -1,5 +1,3 @@
<?php
-final class PhabricatorConfigValidationException extends Exception {
-
-}
+final class PhabricatorConfigValidationException extends Exception {}
diff --git a/src/applications/config/management/PhabricatorConfigManagementWorkflow.php b/src/applications/config/management/PhabricatorConfigManagementWorkflow.php
--- a/src/applications/config/management/PhabricatorConfigManagementWorkflow.php
+++ b/src/applications/config/management/PhabricatorConfigManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorConfigManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardController.php b/src/applications/dashboard/controller/PhabricatorDashboardController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardController.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorDashboardController extends PhabricatorController {
-
-}
+abstract class PhabricatorDashboardController extends PhabricatorController {}
diff --git a/src/applications/dashboard/customfield/PhabricatorDashboardPanelCustomField.php b/src/applications/dashboard/customfield/PhabricatorDashboardPanelCustomField.php
--- a/src/applications/dashboard/customfield/PhabricatorDashboardPanelCustomField.php
+++ b/src/applications/dashboard/customfield/PhabricatorDashboardPanelCustomField.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorDashboardPanelCustomField
- extends PhabricatorCustomField {
-
-}
+ extends PhabricatorCustomField {}
diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -1040,8 +1040,7 @@
PhabricatorLiskDAO $object,
PhabricatorApplicationTransaction $xaction) {
- switch ($xaction->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
--- a/src/applications/differential/exception/DifferentialDiffCreationRejectException.php
+++ b/src/applications/differential/exception/DifferentialDiffCreationRejectException.php
@@ -1,5 +1,3 @@
<?php
-final class DifferentialDiffCreationRejectException extends Exception {
-
-}
+final class DifferentialDiffCreationRejectException extends Exception {}
diff --git a/src/applications/differential/exception/DifferentialFieldParseException.php b/src/applications/differential/exception/DifferentialFieldParseException.php
--- a/src/applications/differential/exception/DifferentialFieldParseException.php
+++ b/src/applications/differential/exception/DifferentialFieldParseException.php
@@ -1,5 +1,3 @@
<?php
-final class DifferentialFieldParseException extends Exception {
-
-}
+final class DifferentialFieldParseException extends Exception {}
diff --git a/src/applications/differential/exception/DifferentialFieldValidationException.php b/src/applications/differential/exception/DifferentialFieldValidationException.php
--- a/src/applications/differential/exception/DifferentialFieldValidationException.php
+++ b/src/applications/differential/exception/DifferentialFieldValidationException.php
@@ -1,5 +1,3 @@
<?php
-final class DifferentialFieldValidationException extends Exception {
-
-}
+final class DifferentialFieldValidationException extends Exception {}
diff --git a/src/applications/differential/management/PhabricatorHunksManagementWorkflow.php b/src/applications/differential/management/PhabricatorHunksManagementWorkflow.php
--- a/src/applications/differential/management/PhabricatorHunksManagementWorkflow.php
+++ b/src/applications/differential/management/PhabricatorHunksManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorHunksManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/diffusion/controller/DiffusionBrowseSearchController.php b/src/applications/diffusion/controller/DiffusionBrowseSearchController.php
--- a/src/applications/diffusion/controller/DiffusionBrowseSearchController.php
+++ b/src/applications/diffusion/controller/DiffusionBrowseSearchController.php
@@ -133,8 +133,7 @@
try {
Futures($futures)->limit(8)->resolveAll();
- } catch (PhutilSyntaxHighlighterException $ex) {
- }
+ } catch (PhutilSyntaxHighlighterException $ex) {}
$rows = array();
foreach ($results as $result) {
@@ -148,8 +147,7 @@
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
--- a/src/applications/diffusion/controller/DiffusionPushLogController.php
+++ b/src/applications/diffusion/controller/DiffusionPushLogController.php
@@ -1,5 +1,3 @@
<?php
-abstract class DiffusionPushLogController extends DiffusionController {
-
-}
+abstract class DiffusionPushLogController extends DiffusionController {}
diff --git a/src/applications/diffusion/exception/DiffusionCommitHookRejectException.php b/src/applications/diffusion/exception/DiffusionCommitHookRejectException.php
--- a/src/applications/diffusion/exception/DiffusionCommitHookRejectException.php
+++ b/src/applications/diffusion/exception/DiffusionCommitHookRejectException.php
@@ -1,5 +1,3 @@
<?php
-final class DiffusionCommitHookRejectException extends Exception {
-
-}
+final class DiffusionCommitHookRejectException extends Exception {}
diff --git a/src/applications/diffusion/ssh/DiffusionSSHMercurialWorkflow.php b/src/applications/diffusion/ssh/DiffusionSSHMercurialWorkflow.php
--- a/src/applications/diffusion/ssh/DiffusionSSHMercurialWorkflow.php
+++ b/src/applications/diffusion/ssh/DiffusionSSHMercurialWorkflow.php
@@ -1,5 +1,3 @@
<?php
-abstract class DiffusionSSHMercurialWorkflow extends DiffusionSSHWorkflow {
-
-}
+abstract class DiffusionSSHMercurialWorkflow extends DiffusionSSHWorkflow {}
diff --git a/src/applications/doorkeeper/exception/DoorkeeperMissingLinkException.php b/src/applications/doorkeeper/exception/DoorkeeperMissingLinkException.php
--- a/src/applications/doorkeeper/exception/DoorkeeperMissingLinkException.php
+++ b/src/applications/doorkeeper/exception/DoorkeeperMissingLinkException.php
@@ -1,5 +1,3 @@
<?php
-final class DoorkeeperMissingLinkException extends Exception {
-
-}
+final class DoorkeeperMissingLinkException extends Exception {}
diff --git a/src/applications/drydock/constants/DrydockConstants.php b/src/applications/drydock/constants/DrydockConstants.php
--- a/src/applications/drydock/constants/DrydockConstants.php
+++ b/src/applications/drydock/constants/DrydockConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class DrydockConstants {
-
-}
+abstract class DrydockConstants {}
diff --git a/src/applications/drydock/customfield/DrydockBlueprintCustomField.php b/src/applications/drydock/customfield/DrydockBlueprintCustomField.php
--- a/src/applications/drydock/customfield/DrydockBlueprintCustomField.php
+++ b/src/applications/drydock/customfield/DrydockBlueprintCustomField.php
@@ -1,6 +1,4 @@
<?php
abstract class DrydockBlueprintCustomField
- extends PhabricatorCustomField {
-
-}
+ extends PhabricatorCustomField {}
diff --git a/src/applications/drydock/management/DrydockManagementWorkflow.php b/src/applications/drydock/management/DrydockManagementWorkflow.php
--- a/src/applications/drydock/management/DrydockManagementWorkflow.php
+++ b/src/applications/drydock/management/DrydockManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class DrydockManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/drydock/query/DrydockBlueprintSearchEngine.php b/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
--- a/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
+++ b/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
@@ -21,9 +21,7 @@
public function buildSearchForm(
AphrontFormView $form,
- PhabricatorSavedQuery $saved) {
-
- }
+ PhabricatorSavedQuery $saved) {}
protected function getURI($path) {
return '/drydock/blueprint/'.$path;
diff --git a/src/applications/drydock/query/DrydockLogSearchEngine.php b/src/applications/drydock/query/DrydockLogSearchEngine.php
--- a/src/applications/drydock/query/DrydockLogSearchEngine.php
+++ b/src/applications/drydock/query/DrydockLogSearchEngine.php
@@ -20,9 +20,7 @@
public function buildSearchForm(
AphrontFormView $form,
- PhabricatorSavedQuery $saved) {
-
- }
+ PhabricatorSavedQuery $saved) {}
protected function getURI($path) {
return '/drydock/log/'.$path;
diff --git a/src/applications/fact/controller/PhabricatorFactController.php b/src/applications/fact/controller/PhabricatorFactController.php
--- a/src/applications/fact/controller/PhabricatorFactController.php
+++ b/src/applications/fact/controller/PhabricatorFactController.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorFactController extends PhabricatorController {
-
-}
+abstract class PhabricatorFactController extends PhabricatorController {}
diff --git a/src/applications/fact/management/PhabricatorFactManagementWorkflow.php b/src/applications/fact/management/PhabricatorFactManagementWorkflow.php
--- a/src/applications/fact/management/PhabricatorFactManagementWorkflow.php
+++ b/src/applications/fact/management/PhabricatorFactManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorFactManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/feed/constants/PhabricatorFeedConstants.php b/src/applications/feed/constants/PhabricatorFeedConstants.php
--- a/src/applications/feed/constants/PhabricatorFeedConstants.php
+++ b/src/applications/feed/constants/PhabricatorFeedConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorFeedConstants {
-
-}
+abstract class PhabricatorFeedConstants {}
diff --git a/src/applications/feed/management/PhabricatorFeedManagementWorkflow.php b/src/applications/feed/management/PhabricatorFeedManagementWorkflow.php
--- a/src/applications/feed/management/PhabricatorFeedManagementWorkflow.php
+++ b/src/applications/feed/management/PhabricatorFeedManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorFeedManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/files/editor/PhabricatorFileEditor.php b/src/applications/files/editor/PhabricatorFileEditor.php
--- a/src/applications/files/editor/PhabricatorFileEditor.php
+++ b/src/applications/files/editor/PhabricatorFileEditor.php
@@ -22,15 +22,11 @@
protected function getCustomTransactionOldValue(
PhabricatorLiskDAO $object,
- PhabricatorApplicationTransaction $xaction) {
-
- }
+ PhabricatorApplicationTransaction $xaction) {}
protected function getCustomTransactionNewValue(
PhabricatorLiskDAO $object,
- PhabricatorApplicationTransaction $xaction) {
-
- }
+ PhabricatorApplicationTransaction $xaction) {}
protected function applyCustomInternalTransaction(
PhabricatorLiskDAO $object,
@@ -45,8 +41,7 @@
protected function applyCustomExternalTransaction(
PhabricatorLiskDAO $object,
- PhabricatorApplicationTransaction $xaction) {
- }
+ PhabricatorApplicationTransaction $xaction) {}
protected function shouldSendMail(
PhabricatorLiskDAO $object,
diff --git a/src/applications/flag/constants/PhabricatorFlagConstants.php b/src/applications/flag/constants/PhabricatorFlagConstants.php
--- a/src/applications/flag/constants/PhabricatorFlagConstants.php
+++ b/src/applications/flag/constants/PhabricatorFlagConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorFlagConstants {
-
-}
+abstract class PhabricatorFlagConstants {}
diff --git a/src/applications/flag/interface/PhabricatorFlaggableInterface.php b/src/applications/flag/interface/PhabricatorFlaggableInterface.php
--- a/src/applications/flag/interface/PhabricatorFlaggableInterface.php
+++ b/src/applications/flag/interface/PhabricatorFlaggableInterface.php
@@ -1,5 +1,3 @@
<?php
-interface PhabricatorFlaggableInterface extends PhabricatorPHIDInterface {
-
-}
+interface PhabricatorFlaggableInterface extends PhabricatorPHIDInterface {}
diff --git a/src/applications/harbormaster/customfield/HarbormasterBuildStepCustomField.php b/src/applications/harbormaster/customfield/HarbormasterBuildStepCustomField.php
--- a/src/applications/harbormaster/customfield/HarbormasterBuildStepCustomField.php
+++ b/src/applications/harbormaster/customfield/HarbormasterBuildStepCustomField.php
@@ -1,6 +1,4 @@
<?php
abstract class HarbormasterBuildStepCustomField
- extends PhabricatorCustomField {
-
-}
+ extends PhabricatorCustomField {}
diff --git a/src/applications/harbormaster/exception/HarbormasterBuildAbortedException.php b/src/applications/harbormaster/exception/HarbormasterBuildAbortedException.php
--- a/src/applications/harbormaster/exception/HarbormasterBuildAbortedException.php
+++ b/src/applications/harbormaster/exception/HarbormasterBuildAbortedException.php
@@ -1,5 +1,3 @@
<?php
-final class HarbormasterBuildAbortedException extends Exception {
-
-}
+final class HarbormasterBuildAbortedException extends Exception {}
diff --git a/src/applications/harbormaster/exception/HarbormasterBuildFailureException.php b/src/applications/harbormaster/exception/HarbormasterBuildFailureException.php
--- a/src/applications/harbormaster/exception/HarbormasterBuildFailureException.php
+++ b/src/applications/harbormaster/exception/HarbormasterBuildFailureException.php
@@ -1,5 +1,3 @@
<?php
-final class HarbormasterBuildFailureException extends Exception {
-
-}
+final class HarbormasterBuildFailureException extends Exception {}
diff --git a/src/applications/harbormaster/management/HarbormasterManagementWorkflow.php b/src/applications/harbormaster/management/HarbormasterManagementWorkflow.php
--- a/src/applications/harbormaster/management/HarbormasterManagementWorkflow.php
+++ b/src/applications/harbormaster/management/HarbormasterManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class HarbormasterManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php b/src/applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php
--- a/src/applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php
+++ b/src/applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorLipsumManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/metamta/constants/MetaMTAConstants.php b/src/applications/metamta/constants/MetaMTAConstants.php
--- a/src/applications/metamta/constants/MetaMTAConstants.php
+++ b/src/applications/metamta/constants/MetaMTAConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class MetaMTAConstants {
-
-}
+abstract class MetaMTAConstants {}
diff --git a/src/applications/metamta/controller/PhabricatorMetaMTAController.php b/src/applications/metamta/controller/PhabricatorMetaMTAController.php
--- a/src/applications/metamta/controller/PhabricatorMetaMTAController.php
+++ b/src/applications/metamta/controller/PhabricatorMetaMTAController.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorMetaMTAController extends PhabricatorController {
-
-}
+abstract class PhabricatorMetaMTAController extends PhabricatorController {}
diff --git a/src/applications/metamta/exception/PhabricatorMetaMTAPermanentFailureException.php b/src/applications/metamta/exception/PhabricatorMetaMTAPermanentFailureException.php
--- a/src/applications/metamta/exception/PhabricatorMetaMTAPermanentFailureException.php
+++ b/src/applications/metamta/exception/PhabricatorMetaMTAPermanentFailureException.php
@@ -1,6 +1,4 @@
<?php
final class PhabricatorMetaMTAPermanentFailureException
- extends Exception {
-
-}
+ extends Exception {}
diff --git a/src/applications/metamta/management/PhabricatorMailManagementWorkflow.php b/src/applications/metamta/management/PhabricatorMailManagementWorkflow.php
--- a/src/applications/metamta/management/PhabricatorMailManagementWorkflow.php
+++ b/src/applications/metamta/management/PhabricatorMailManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorMailManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/nuance/constants/NuanceConstants.php b/src/applications/nuance/constants/NuanceConstants.php
--- a/src/applications/nuance/constants/NuanceConstants.php
+++ b/src/applications/nuance/constants/NuanceConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class NuanceConstants {
-
-}
+abstract class NuanceConstants {}
diff --git a/src/applications/nuance/controller/NuanceController.php b/src/applications/nuance/controller/NuanceController.php
--- a/src/applications/nuance/controller/NuanceController.php
+++ b/src/applications/nuance/controller/NuanceController.php
@@ -1,5 +1,3 @@
<?php
-abstract class NuanceController extends PhabricatorController {
-
-}
+abstract class NuanceController extends PhabricatorController {}
diff --git a/src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php b/src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php
--- a/src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php
+++ b/src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php
@@ -34,10 +34,8 @@
return $transactions;
}
- public function renderView() {
- }
+ public function renderView() {}
- public function renderListView() {
- }
+ public function renderListView() {}
}
diff --git a/src/applications/people/customfield/PhabricatorUserCustomField.php b/src/applications/people/customfield/PhabricatorUserCustomField.php
--- a/src/applications/people/customfield/PhabricatorUserCustomField.php
+++ b/src/applications/people/customfield/PhabricatorUserCustomField.php
@@ -1,7 +1,4 @@
<?php
abstract class PhabricatorUserCustomField
- extends PhabricatorCustomField {
-
-
-}
+ extends PhabricatorCustomField {}
diff --git a/src/applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php b/src/applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php
--- a/src/applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php
+++ b/src/applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php
@@ -25,8 +25,7 @@
->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
--- a/src/applications/phid/handle/const/PhabricatorObjectHandleConstants.php
+++ b/src/applications/phid/handle/const/PhabricatorObjectHandleConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorObjectHandleConstants {
-
-}
+abstract class PhabricatorObjectHandleConstants {}
diff --git a/src/applications/phortune/constants/PhortuneConstants.php b/src/applications/phortune/constants/PhortuneConstants.php
--- a/src/applications/phortune/constants/PhortuneConstants.php
+++ b/src/applications/phortune/constants/PhortuneConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhortuneConstants {
-
-}
+abstract class PhortuneConstants {}
diff --git a/src/applications/phrequent/interface/PhrequentTrackableInterface.php b/src/applications/phrequent/interface/PhrequentTrackableInterface.php
--- a/src/applications/phrequent/interface/PhrequentTrackableInterface.php
+++ b/src/applications/phrequent/interface/PhrequentTrackableInterface.php
@@ -1,5 +1,3 @@
<?php
-interface PhrequentTrackableInterface {
-
-}
+interface PhrequentTrackableInterface {}
diff --git a/src/applications/policy/constants/PhabricatorPolicyConstants.php b/src/applications/policy/constants/PhabricatorPolicyConstants.php
--- a/src/applications/policy/constants/PhabricatorPolicyConstants.php
+++ b/src/applications/policy/constants/PhabricatorPolicyConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorPolicyConstants {
-
-}
+abstract class PhabricatorPolicyConstants {}
diff --git a/src/applications/policy/controller/PhabricatorPolicyController.php b/src/applications/policy/controller/PhabricatorPolicyController.php
--- a/src/applications/policy/controller/PhabricatorPolicyController.php
+++ b/src/applications/policy/controller/PhabricatorPolicyController.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorPolicyController extends PhabricatorController {
-
-}
+abstract class PhabricatorPolicyController extends PhabricatorController {}
diff --git a/src/applications/policy/management/PhabricatorPolicyManagementWorkflow.php b/src/applications/policy/management/PhabricatorPolicyManagementWorkflow.php
--- a/src/applications/policy/management/PhabricatorPolicyManagementWorkflow.php
+++ b/src/applications/policy/management/PhabricatorPolicyManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorPolicyManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/ponder/constants/PonderConstants.php b/src/applications/ponder/constants/PonderConstants.php
--- a/src/applications/ponder/constants/PonderConstants.php
+++ b/src/applications/ponder/constants/PonderConstants.php
@@ -1,4 +1,3 @@
<?php
-abstract class PonderConstants {
-}
+abstract class PonderConstants {}
diff --git a/src/applications/project/constants/PhabricatorProjectConstants.php b/src/applications/project/constants/PhabricatorProjectConstants.php
--- a/src/applications/project/constants/PhabricatorProjectConstants.php
+++ b/src/applications/project/constants/PhabricatorProjectConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorProjectConstants {
-
-}
+abstract class PhabricatorProjectConstants {}
diff --git a/src/applications/project/exception/PhabricatorProjectNameCollisionException.php b/src/applications/project/exception/PhabricatorProjectNameCollisionException.php
--- a/src/applications/project/exception/PhabricatorProjectNameCollisionException.php
+++ b/src/applications/project/exception/PhabricatorProjectNameCollisionException.php
@@ -4,6 +4,4 @@
* Thrown when you try to save a project with a name too similar to another
* project.
*/
-final class PhabricatorProjectNameCollisionException extends Exception {
-
-}
+final class PhabricatorProjectNameCollisionException extends Exception {}
diff --git a/src/applications/project/interface/PhabricatorProjectInterface.php b/src/applications/project/interface/PhabricatorProjectInterface.php
--- a/src/applications/project/interface/PhabricatorProjectInterface.php
+++ b/src/applications/project/interface/PhabricatorProjectInterface.php
@@ -1,5 +1,3 @@
<?php
-interface PhabricatorProjectInterface {
-
-}
+interface PhabricatorProjectInterface {}
diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php
--- a/src/applications/project/query/PhabricatorProjectSearchEngine.php
+++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php
@@ -193,13 +193,9 @@
);
}
- private function getColorValues() {
+ private function getColorValues() {}
- }
-
- private function getIconValues() {
-
- }
+ private function getIconValues() {}
protected function getRequiredHandlePHIDsForResultList(
array $projects,
diff --git a/src/applications/releeph/controller/request/ReleephRequestController.php b/src/applications/releeph/controller/request/ReleephRequestController.php
--- a/src/applications/releeph/controller/request/ReleephRequestController.php
+++ b/src/applications/releeph/controller/request/ReleephRequestController.php
@@ -1,5 +1,3 @@
<?php
-abstract class ReleephRequestController extends ReleephController {
-
-}
+abstract class ReleephRequestController extends ReleephController {}
diff --git a/src/applications/repository/customfield/PhabricatorCommitCustomField.php b/src/applications/repository/customfield/PhabricatorCommitCustomField.php
--- a/src/applications/repository/customfield/PhabricatorCommitCustomField.php
+++ b/src/applications/repository/customfield/PhabricatorCommitCustomField.php
@@ -1,7 +1,4 @@
<?php
abstract class PhabricatorCommitCustomField
- extends PhabricatorCustomField {
-
-
-}
+ extends PhabricatorCustomField {}
diff --git a/src/applications/repository/editor/PhabricatorRepositoryEditor.php b/src/applications/repository/editor/PhabricatorRepositoryEditor.php
--- a/src/applications/repository/editor/PhabricatorRepositoryEditor.php
+++ b/src/applications/repository/editor/PhabricatorRepositoryEditor.php
@@ -257,8 +257,7 @@
PhabricatorApplicationTransaction $v) {
$type = $u->getTransactionType();
- switch ($type) {
- }
+ switch ($type) {}
return parent::mergeTransactions($u, $v);
}
@@ -271,9 +270,7 @@
$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
--- a/src/applications/search/management/PhabricatorSearchManagementWorkflow.php
+++ b/src/applications/search/management/PhabricatorSearchManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorSearchManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/applications/system/management/PhabricatorSystemRemoveWorkflow.php b/src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
--- a/src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
+++ b/src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorSystemRemoveWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/infrastructure/celerity/management/CelerityManagementWorkflow.php b/src/infrastructure/celerity/management/CelerityManagementWorkflow.php
--- a/src/infrastructure/celerity/management/CelerityManagementWorkflow.php
+++ b/src/infrastructure/celerity/management/CelerityManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class CelerityManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/infrastructure/customfield/exception/PhabricatorCustomFieldNotAttachedException.php b/src/infrastructure/customfield/exception/PhabricatorCustomFieldNotAttachedException.php
--- a/src/infrastructure/customfield/exception/PhabricatorCustomFieldNotAttachedException.php
+++ b/src/infrastructure/customfield/exception/PhabricatorCustomFieldNotAttachedException.php
@@ -1,6 +1,4 @@
<?php
final class PhabricatorCustomFieldNotAttachedException
- extends Exception {
-
-}
+ extends Exception {}
diff --git a/src/infrastructure/daemon/workers/exception/PhabricatorWorkerPermanentFailureException.php b/src/infrastructure/daemon/workers/exception/PhabricatorWorkerPermanentFailureException.php
--- a/src/infrastructure/daemon/workers/exception/PhabricatorWorkerPermanentFailureException.php
+++ b/src/infrastructure/daemon/workers/exception/PhabricatorWorkerPermanentFailureException.php
@@ -1,5 +1,3 @@
<?php
-final class PhabricatorWorkerPermanentFailureException extends Exception {
-
-}
+final class PhabricatorWorkerPermanentFailureException extends Exception {}
diff --git a/src/infrastructure/edges/constants/PhabricatorEdgeConstants.php b/src/infrastructure/edges/constants/PhabricatorEdgeConstants.php
--- a/src/infrastructure/edges/constants/PhabricatorEdgeConstants.php
+++ b/src/infrastructure/edges/constants/PhabricatorEdgeConstants.php
@@ -1,5 +1,3 @@
<?php
-abstract class PhabricatorEdgeConstants {
-
-}
+abstract class PhabricatorEdgeConstants {}
diff --git a/src/infrastructure/events/PhabricatorAutoEventListener.php b/src/infrastructure/events/PhabricatorAutoEventListener.php
--- a/src/infrastructure/events/PhabricatorAutoEventListener.php
+++ b/src/infrastructure/events/PhabricatorAutoEventListener.php
@@ -12,6 +12,4 @@
* startup. This allows it to be used with custom one-offs that can be dropped
* into `phabricator/src/extensions/`.
*/
-abstract class PhabricatorAutoEventListener extends PhabricatorEventListener {
-
-}
+abstract class PhabricatorAutoEventListener extends PhabricatorEventListener {}
diff --git a/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementWorkflow.php b/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementWorkflow.php
--- a/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementWorkflow.php
+++ b/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorInternationalizationManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/infrastructure/query/PhabricatorEmptyQueryException.php b/src/infrastructure/query/PhabricatorEmptyQueryException.php
--- a/src/infrastructure/query/PhabricatorEmptyQueryException.php
+++ b/src/infrastructure/query/PhabricatorEmptyQueryException.php
@@ -1,5 +1,3 @@
<?php
-final class PhabricatorEmptyQueryException extends Exception {
-
-}
+final class PhabricatorEmptyQueryException extends Exception {}
diff --git a/src/infrastructure/sms/management/PhabricatorSMSManagementWorkflow.php b/src/infrastructure/sms/management/PhabricatorSMSManagementWorkflow.php
--- a/src/infrastructure/sms/management/PhabricatorSMSManagementWorkflow.php
+++ b/src/infrastructure/sms/management/PhabricatorSMSManagementWorkflow.php
@@ -1,6 +1,4 @@
<?php
abstract class PhabricatorSMSManagementWorkflow
- extends PhabricatorManagementWorkflow {
-
-}
+ extends PhabricatorManagementWorkflow {}
diff --git a/src/infrastructure/storage/lisk/__tests__/LiskIsolationTestDAOException.php b/src/infrastructure/storage/lisk/__tests__/LiskIsolationTestDAOException.php
--- a/src/infrastructure/storage/lisk/__tests__/LiskIsolationTestDAOException.php
+++ b/src/infrastructure/storage/lisk/__tests__/LiskIsolationTestDAOException.php
@@ -1,3 +1,3 @@
<?php
-final class LiskIsolationTestDAOException extends Exception { }
+final class LiskIsolationTestDAOException extends Exception {}
diff --git a/src/infrastructure/util/password/PhabricatorPasswordHasherUnavailableException.php b/src/infrastructure/util/password/PhabricatorPasswordHasherUnavailableException.php
--- a/src/infrastructure/util/password/PhabricatorPasswordHasherUnavailableException.php
+++ b/src/infrastructure/util/password/PhabricatorPasswordHasherUnavailableException.php
@@ -1,5 +1,3 @@
<?php
-final class PhabricatorPasswordHasherUnavailableException extends Exception {
-
-}
+final class PhabricatorPasswordHasherUnavailableException extends Exception {}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 1, 8:32 AM (2 w, 4 d ago)
Storage Engine
amazon-s3
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
phabricator/secure/4v/iq/o76zd3oakbyhfm3x
Default Alt Text
D10454.diff (37 KB)
Attached To
Mode
D10454: Apply some autofix linter rules
Attached
Detach File
Event Timeline
Log In to Comment