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

@@ -43,7 +43,7 @@ final class DiffusionRepositoryCreateController
$cancel_uri = $this->getApplicationURI('new/');
break;
default:
throw new Exception("Invalid edit operation!");
throw new Exception('Invalid edit operation!');
}
$form = id(new PHUIPagedFormView())
@@ -432,7 +432,7 @@ final class DiffusionRepositoryCreateController
$is_mercurial = true;
break;
default:
throw new Exception("Unsupported VCS!");
throw new Exception('Unsupported VCS!');
}
$has_local = ($is_git || $is_mercurial);
@@ -478,7 +478,7 @@ final class DiffusionRepositoryCreateController
"repository, use the //Import Only// option at the end of this ".
"workflow.)");
} else {
throw new Exception("Unsupported VCS!");
throw new Exception('Unsupported VCS!');
}
$page->addRemarkupInstructions($instructions, 'remoteURI');
@@ -492,7 +492,7 @@ final class DiffusionRepositoryCreateController
if (!strlen($v_remote)) {
$c_remote->setError(pht('Required'));
$page->addPageError(
pht("You must specify a URI."));
pht('You must specify a URI.'));
} else {
$proto = $this->getRemoteURIProtocol($v_remote);
@@ -623,7 +623,7 @@ final class DiffusionRepositoryCreateController
'accessed over the `file://` protocol. Continue to the next step.'),
'credential');
} else {
throw new Exception("Unknown URI protocol!");
throw new Exception('Unknown URI protocol!');
}
if ($provides_type) {
@@ -735,7 +735,7 @@ final class DiffusionRepositoryCreateController
->setUser($viewer)
->addRemarkupInstructions(
pht(
"Select access policies for this repository."))
'Select access policies for this repository.'))
->addControl($view_policy)
->addControl($edit_policy)
->addControl($push_policy);