Minor formatting changes

Summary: Apply some autofix linter rules.

Test Plan: `arc lint` and `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D10585
This commit is contained in:
Joshua Spence
2014-10-08 00:01:04 +11:00
parent fcd2025a85
commit 3cf9a5820f
270 changed files with 823 additions and 578 deletions

View File

@@ -9,7 +9,7 @@ final class PhabricatorOAuthServerTestCase
'http://www.google.com/' => true,
'http://www.google.com/auth' => true,
'www.google.com' => false,
'http://www.google.com/auth#invalid' => false
'http://www.google.com/auth#invalid' => false,
);
$server = new PhabricatorOAuthServer();
foreach ($map as $input => $expected) {
@@ -32,7 +32,7 @@ final class PhabricatorOAuthServerTestCase
'http://www.google.com/?auth' => true,
'www.google.com' => false,
'http://www.google.com/auth#invalid' => false,
'http://www.example.com' => false
'http://www.example.com' => false,
);
foreach ($test_domain_map as $input => $expected) {
$uri = new PhutilURI($input);

View File

@@ -196,7 +196,7 @@ final class PhabricatorOAuthServerAuthController
} else {
$desired_scopes = array(
PhabricatorOAuthServerScope::SCOPE_WHOAMI => 1,
PhabricatorOAuthServerScope::SCOPE_OFFLINE_ACCESS => 1
PhabricatorOAuthServerScope::SCOPE_OFFLINE_ACCESS => 1,
);
}