1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

Various linter fixes

Summary: Self-explanatory.

Test Plan: Eyeball it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13808
This commit is contained in:
Joshua Spence 2015-08-08 10:19:44 +10:00
parent af71eba5cc
commit 79f2e81f38
8 changed files with 8 additions and 8 deletions

View file

@ -203,7 +203,7 @@ foreach ($input as $key => $line) {
}
}
if (count ($symbols) >= $args->getArg('max-transaction')) {
if (count($symbols) >= $args->getArg('max-transaction')) {
try {
echo pht(
"Committing %s symbols...\n",

View file

@ -170,7 +170,7 @@ final class PhabricatorAuditEditor
$audit_requested = PhabricatorAuditStatusConstants::AUDIT_REQUESTED;
$audit_reason = $this->getAuditReasons($phid);
}
$requests[] = id (new PhabricatorRepositoryAuditRequest())
$requests[] = id(new PhabricatorRepositoryAuditRequest())
->setCommitPHID($object->getPHID())
->setAuditorPHID($phid)
->setAuditStatus($audit_requested)

View file

@ -300,7 +300,7 @@ final class DiffusionCommitQuery
$where = array();
if ($this->repositoryPHIDs !== null) {
$map_repositories = id (new PhabricatorRepositoryQuery())
$map_repositories = id(new PhabricatorRepositoryQuery())
->setViewer($this->getViewer())
->withPHIDs($this->repositoryPHIDs)
->execute();

View file

@ -38,7 +38,7 @@ final class ManiphestUpdateConduitAPIMethod extends ManiphestConduitAPIMethod {
'phid'));
}
$query = id (new ManiphestTaskQuery())
$query = id(new ManiphestTaskQuery())
->setViewer($request->getUser())
->needSubscriberPHIDs(true)
->needProjectPHIDs(true);

View file

@ -38,7 +38,7 @@ final class PhameBlogListController extends PhameController {
$blog_list = $this->renderBlogList($blogs, $user, $nodata);
$blog_list->setPager($pager);
$box = id (new PHUIObjectBoxView())
$box = id(new PHUIObjectBoxView())
->setHeaderText($title)
->setObjectList($blog_list);

View file

@ -139,7 +139,7 @@ final class PonderQuestionEditController extends PonderController {
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()));
$form ->appendChild(
$form->appendChild(
id(new AphrontFormSubmitControl())
->addCancelButton($this->getApplicationURI())
->setValue(pht('Ask Away!')));

View file

@ -53,7 +53,7 @@ abstract class PhabricatorObjectRemarkupRule extends PhutilRemarkupRule {
return $uri;
}
protected function renderObjectRefForAnyMedia (
protected function renderObjectRefForAnyMedia(
$object,
PhabricatorObjectHandle $handle,
$anchor,

View file

@ -253,7 +253,7 @@ final class PHUICalendarMonthView extends AphrontView {
$today_class .= ' last-weekday';
}
$today_slot = phutil_tag (
$today_slot = phutil_tag(
'div',
array(
'class' => $today_class,