mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +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:
parent
af71eba5cc
commit
79f2e81f38
8 changed files with 8 additions and 8 deletions
|
@ -203,7 +203,7 @@ foreach ($input as $key => $line) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count ($symbols) >= $args->getArg('max-transaction')) {
|
if (count($symbols) >= $args->getArg('max-transaction')) {
|
||||||
try {
|
try {
|
||||||
echo pht(
|
echo pht(
|
||||||
"Committing %s symbols...\n",
|
"Committing %s symbols...\n",
|
||||||
|
|
|
@ -170,7 +170,7 @@ final class PhabricatorAuditEditor
|
||||||
$audit_requested = PhabricatorAuditStatusConstants::AUDIT_REQUESTED;
|
$audit_requested = PhabricatorAuditStatusConstants::AUDIT_REQUESTED;
|
||||||
$audit_reason = $this->getAuditReasons($phid);
|
$audit_reason = $this->getAuditReasons($phid);
|
||||||
}
|
}
|
||||||
$requests[] = id (new PhabricatorRepositoryAuditRequest())
|
$requests[] = id(new PhabricatorRepositoryAuditRequest())
|
||||||
->setCommitPHID($object->getPHID())
|
->setCommitPHID($object->getPHID())
|
||||||
->setAuditorPHID($phid)
|
->setAuditorPHID($phid)
|
||||||
->setAuditStatus($audit_requested)
|
->setAuditStatus($audit_requested)
|
||||||
|
|
|
@ -300,7 +300,7 @@ final class DiffusionCommitQuery
|
||||||
$where = array();
|
$where = array();
|
||||||
|
|
||||||
if ($this->repositoryPHIDs !== null) {
|
if ($this->repositoryPHIDs !== null) {
|
||||||
$map_repositories = id (new PhabricatorRepositoryQuery())
|
$map_repositories = id(new PhabricatorRepositoryQuery())
|
||||||
->setViewer($this->getViewer())
|
->setViewer($this->getViewer())
|
||||||
->withPHIDs($this->repositoryPHIDs)
|
->withPHIDs($this->repositoryPHIDs)
|
||||||
->execute();
|
->execute();
|
||||||
|
|
|
@ -38,7 +38,7 @@ final class ManiphestUpdateConduitAPIMethod extends ManiphestConduitAPIMethod {
|
||||||
'phid'));
|
'phid'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = id (new ManiphestTaskQuery())
|
$query = id(new ManiphestTaskQuery())
|
||||||
->setViewer($request->getUser())
|
->setViewer($request->getUser())
|
||||||
->needSubscriberPHIDs(true)
|
->needSubscriberPHIDs(true)
|
||||||
->needProjectPHIDs(true);
|
->needProjectPHIDs(true);
|
||||||
|
|
|
@ -38,7 +38,7 @@ final class PhameBlogListController extends PhameController {
|
||||||
$blog_list = $this->renderBlogList($blogs, $user, $nodata);
|
$blog_list = $this->renderBlogList($blogs, $user, $nodata);
|
||||||
$blog_list->setPager($pager);
|
$blog_list->setPager($pager);
|
||||||
|
|
||||||
$box = id (new PHUIObjectBoxView())
|
$box = id(new PHUIObjectBoxView())
|
||||||
->setHeaderText($title)
|
->setHeaderText($title)
|
||||||
->setObjectList($blog_list);
|
->setObjectList($blog_list);
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,7 @@ final class PonderQuestionEditController extends PonderController {
|
||||||
->setValue($v_projects)
|
->setValue($v_projects)
|
||||||
->setDatasource(new PhabricatorProjectDatasource()));
|
->setDatasource(new PhabricatorProjectDatasource()));
|
||||||
|
|
||||||
$form ->appendChild(
|
$form->appendChild(
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->addCancelButton($this->getApplicationURI())
|
->addCancelButton($this->getApplicationURI())
|
||||||
->setValue(pht('Ask Away!')));
|
->setValue(pht('Ask Away!')));
|
||||||
|
|
|
@ -53,7 +53,7 @@ abstract class PhabricatorObjectRemarkupRule extends PhutilRemarkupRule {
|
||||||
return $uri;
|
return $uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function renderObjectRefForAnyMedia (
|
protected function renderObjectRefForAnyMedia(
|
||||||
$object,
|
$object,
|
||||||
PhabricatorObjectHandle $handle,
|
PhabricatorObjectHandle $handle,
|
||||||
$anchor,
|
$anchor,
|
||||||
|
|
|
@ -253,7 +253,7 @@ final class PHUICalendarMonthView extends AphrontView {
|
||||||
$today_class .= ' last-weekday';
|
$today_class .= ' last-weekday';
|
||||||
}
|
}
|
||||||
|
|
||||||
$today_slot = phutil_tag (
|
$today_slot = phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
array(
|
array(
|
||||||
'class' => $today_class,
|
'class' => $today_class,
|
||||||
|
|
Loading…
Reference in a new issue