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:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user