Skip to content

Commit 79f2e81

Browse files
committedAug 8, 2015
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
1 parent af71eba commit 79f2e81

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
 

‎scripts/symbols/import_repository_symbols.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function check_string_value($value, $field_name, $line_no, $max_length) {
203203
}
204204
}
205205

206-
if (count ($symbols) >= $args->getArg('max-transaction')) {
206+
if (count($symbols) >= $args->getArg('max-transaction')) {
207207
try {
208208
echo pht(
209209
"Committing %s symbols...\n",

‎src/applications/audit/editor/PhabricatorAuditEditor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ protected function applyCustomExternalTransaction(
170170
$audit_requested = PhabricatorAuditStatusConstants::AUDIT_REQUESTED;
171171
$audit_reason = $this->getAuditReasons($phid);
172172
}
173-
$requests[] = id (new PhabricatorRepositoryAuditRequest())
173+
$requests[] = id(new PhabricatorRepositoryAuditRequest())
174174
->setCommitPHID($object->getPHID())
175175
->setAuditorPHID($phid)
176176
->setAuditStatus($audit_requested)

‎src/applications/diffusion/query/DiffusionCommitQuery.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ protected function buildWhereClause(AphrontDatabaseConnection $conn_r) {
300300
$where = array();
301301

302302
if ($this->repositoryPHIDs !== null) {
303-
$map_repositories = id (new PhabricatorRepositoryQuery())
303+
$map_repositories = id(new PhabricatorRepositoryQuery())
304304
->setViewer($this->getViewer())
305305
->withPHIDs($this->repositoryPHIDs)
306306
->execute();

‎src/applications/maniphest/conduit/ManiphestUpdateConduitAPIMethod.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function execute(ConduitAPIRequest $request) {
3838
'phid'));
3939
}
4040

41-
$query = id (new ManiphestTaskQuery())
41+
$query = id(new ManiphestTaskQuery())
4242
->setViewer($request->getUser())
4343
->needSubscriberPHIDs(true)
4444
->needProjectPHIDs(true);

‎src/applications/phame/controller/blog/PhameBlogListController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handleRequest(AphrontRequest $request) {
3838
$blog_list = $this->renderBlogList($blogs, $user, $nodata);
3939
$blog_list->setPager($pager);
4040

41-
$box = id (new PHUIObjectBoxView())
41+
$box = id(new PHUIObjectBoxView())
4242
->setHeaderText($title)
4343
->setObjectList($blog_list);
4444

‎src/applications/ponder/controller/PonderQuestionEditController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function handleRequest(AphrontRequest $request) {
139139
->setValue($v_projects)
140140
->setDatasource(new PhabricatorProjectDatasource()));
141141

142-
$form ->appendChild(
142+
$form->appendChild(
143143
id(new AphrontFormSubmitControl())
144144
->addCancelButton($this->getApplicationURI())
145145
->setValue(pht('Ask Away!')));

‎src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function getObjectHref(
5353
return $uri;
5454
}
5555

56-
protected function renderObjectRefForAnyMedia (
56+
protected function renderObjectRefForAnyMedia(
5757
$object,
5858
PhabricatorObjectHandle $handle,
5959
$anchor,

‎src/view/phui/calendar/PHUICalendarMonthView.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ private function getDayNumberCell($event_list) {
253253
$today_class .= ' last-weekday';
254254
}
255255

256-
$today_slot = phutil_tag (
256+
$today_slot = phutil_tag(
257257
'div',
258258
array(
259259
'class' => $today_class,

0 commit comments

Comments
 (0)
Failed to load comments.