Minor formatting changes

Summary: Apply some autofix linter rules.

Test Plan: `arc lint` and `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D10585
This commit is contained in:
Joshua Spence
2014-10-08 00:01:04 +11:00
parent fcd2025a85
commit 3cf9a5820f
270 changed files with 823 additions and 578 deletions

View File

@@ -50,7 +50,8 @@ final class DiffusionDiffController extends DiffusionController {
'diffusion.diffquery',
array(
'commit' => $drequest->getCommit(),
'path' => $drequest->getPath()));
'path' => $drequest->getPath(),
));
$drequest->updateSymbolicCommit($data['effectiveCommit']);
$raw_changes = ArcanistDiffChange::newFromConduit($data['changes']);
$diff = DifferentialDiff::newFromRawChanges($raw_changes);
@@ -66,7 +67,8 @@ final class DiffusionDiffController extends DiffusionController {
$parser->setChangeset($changeset);
$parser->setRenderingReference($drequest->generateURI(
array(
'action' => 'rendering-ref')));
'action' => 'rendering-ref',
)));
$parser->setCharacterEncoding($request->getStr('encoding'));
$parser->setHighlightAs($request->getStr('highlight'));