Apply lint rules to Phabricator
Summary: Mostly applies a new call spacing rule; also a few things that have slipped through via pull requests and such Test Plan: `find src/ -type f -name '*.php' | xargs -n16 arc lint --output summary --apply-patches` Reviewers: chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D5002
This commit is contained in:
@@ -62,8 +62,7 @@ final class PonderFeedController extends PonderController {
|
||||
$user,
|
||||
$user->getPHID(),
|
||||
$this->answerOffset,
|
||||
self::PROFILE_ANSWER_PAGE_SIZE + 1
|
||||
);
|
||||
self::PROFILE_ANSWER_PAGE_SIZE + 1);
|
||||
|
||||
$side_nav->appendChild(
|
||||
id(new PonderUserProfileView())
|
||||
@@ -71,8 +70,7 @@ final class PonderFeedController extends PonderController {
|
||||
->setAnswers($answers)
|
||||
->setAnswerOffset($this->answerOffset)
|
||||
->setPageSize(self::PROFILE_ANSWER_PAGE_SIZE)
|
||||
->setURI(new PhutilURI("/ponder/profile/"), "aoff")
|
||||
);
|
||||
->setURI(new PhutilURI("/ponder/profile/"), "aoff"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -107,8 +107,7 @@ final class PonderQuestionAskController extends PonderController {
|
||||
array(
|
||||
'device' => true,
|
||||
'title' => 'Ask a Question',
|
||||
)
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user