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:
@@ -120,15 +120,13 @@ final class PhabricatorMailingListsEditController
|
||||
$crumbs->addCrumb(
|
||||
id(new PhabricatorCrumbView())
|
||||
->setName(pht('Edit Mailing List'))
|
||||
->setHref($this->getApplicationURI('/edit/'.$list->getID().'/'))
|
||||
);
|
||||
->setHref($this->getApplicationURI('/edit/'.$list->getID().'/')));
|
||||
} else {
|
||||
$panel->setHeader(pht('Create Mailing List'));
|
||||
$crumbs->addCrumb(
|
||||
id(new PhabricatorCrumbView())
|
||||
->setName(pht('Create Mailing List'))
|
||||
->setHref($this->getApplicationURI('/edit/'))
|
||||
);
|
||||
->setHref($this->getApplicationURI('/edit/')));
|
||||
}
|
||||
|
||||
$panel->appendChild($form);
|
||||
|
||||
Reference in New Issue
Block a user