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

@@ -136,7 +136,7 @@ final class PhabricatorKeyValueDatabaseCache
private function willWriteValue($key, $value) {
if (!is_string($value)) {
throw new Exception("Only strings may be written to the DB cache!");
throw new Exception('Only strings may be written to the DB cache!');
}
static $can_deflate;
@@ -162,7 +162,7 @@ final class PhabricatorKeyValueDatabaseCache
case self::CACHE_FORMAT_DEFLATE:
return PhabricatorCaches::inflateData($value);
default:
throw new Exception("Unknown cache format.");
throw new Exception('Unknown cache format.');
}
}

View File

@@ -52,19 +52,19 @@ final class PhabricatorCacheManagementPurgeWorkflow
}
if ($purge['remarkup']) {
$console->writeOut("Purging remarkup cache...");
$console->writeOut('Purging remarkup cache...');
$this->purgeRemarkupCache();
$console->writeOut("done.\n");
}
if ($purge['changeset']) {
$console->writeOut("Purging changeset cache...");
$console->writeOut('Purging changeset cache...');
$this->purgeChangesetCache();
$console->writeOut("done.\n");
}
if ($purge['general']) {
$console->writeOut("Purging general cache...");
$console->writeOut('Purging general cache...');
$this->purgeGeneralCache();
$console->writeOut("done.\n");
}