Change double quotes to single quotes.

Summary: Ran `arc lint --apply-patches --everything` over rP, mainly to change double quotes to single quotes where appropriate. These changes also validate that the `ArcanistXHPASTLinter::LINT_DOUBLE_QUOTE` rule is working as expected.

Test Plan: Eyeballed it.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D9431
This commit is contained in:
Joshua Spence
2014-06-09 11:36:49 -07:00
committed by epriestley
parent 78f783222e
commit 0a62f13464
560 changed files with 1721 additions and 1722 deletions

View File

@@ -9,7 +9,7 @@ final class PhragmentSnapshotViewController extends PhragmentController {
}
public function willProcessRequest(array $data) {
$this->id = idx($data, "id", "");
$this->id = idx($data, 'id', '');
}
public function processRequest() {
@@ -100,8 +100,8 @@ final class PhragmentSnapshotViewController extends PhragmentController {
->setUser($viewer);
$zip_uri = $this->getApplicationURI(
"zip@".$snapshot->getName().
"/".$snapshot->getPrimaryFragment()->getPath());
'zip@'.$snapshot->getName().
'/'.$snapshot->getPrimaryFragment()->getPath());
$can_edit = PhabricatorPolicyFilter::hasCapability(
$viewer,
@@ -122,7 +122,7 @@ final class PhragmentSnapshotViewController extends PhragmentController {
id(new PhabricatorActionView())
->setName(pht('Delete Snapshot'))
->setHref($this->getApplicationURI(
"snapshot/delete/".$snapshot->getID()."/"))
'snapshot/delete/'.$snapshot->getID().'/'))
->setDisabled(!$can_edit)
->setWorkflow(true)
->setIcon('fa-times'));
@@ -130,7 +130,7 @@ final class PhragmentSnapshotViewController extends PhragmentController {
id(new PhabricatorActionView())
->setName(pht('Promote Another Snapshot to Here'))
->setHref($this->getApplicationURI(
"snapshot/promote/".$snapshot->getID()."/"))
'snapshot/promote/'.$snapshot->getID().'/'))
->setDisabled(!$can_edit)
->setWorkflow(true)
->setIcon('fa-arrow-up'));