Passed
Push — master ( f23b67...61a6ec )
by smiley
01:37
created
src/GitHub/GitHub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  * @method \Psr\Http\Message\ResponseInterface getUser(string $username)
22 22
  * @method \Psr\Http\Message\ResponseInterface me()
23 23
  */
24
-class GitHub extends OAuth2Provider implements CSRFToken{
24
+class GitHub extends OAuth2Provider implements CSRFToken {
25 25
 
26 26
 	const SCOPE_USER             = 'user';
27 27
 	const SCOPE_USER_EMAIL       = 'user:email';
Please login to merge, or discard this patch.
src/Flickr/Flickr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
  * @method \Psr\Http\Message\ResponseInterface urlsLookupGroup(array $params = ['url'])
244 244
  * @method \Psr\Http\Message\ResponseInterface urlsLookupUser(array $params = ['url'])
245 245
  */
246
-class Flickr extends OAuth1Provider{
246
+class Flickr extends OAuth1Provider {
247 247
 
248 248
 	public const PERM_READ   = 'read';
249 249
 	public const PERM_WRITE  = 'write';
Please login to merge, or discard this patch.
src/MailChimp/MailChimp.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
  * @method \Psr\Http\Message\ResponseInterface ping()
28 28
  * @method \Psr\Http\Message\ResponseInterface root(array $params = ['fields', 'exclude_fields'])
29 29
  */
30
-class MailChimp extends OAuth2Provider implements CSRFToken{
30
+class MailChimp extends OAuth2Provider implements CSRFToken {
31 31
 
32 32
 	protected const API_BASE          = 'https://%s.api.mailchimp.com/3.0';
33 33
 	protected const METADATA_ENDPOINT = 'https://login.mailchimp.com/oauth2/metadata';
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
 		$token = $token ?? $this->storage->getAccessToken($this->serviceName);
51 51
 
52
-		if(!$token instanceof AccessToken){
52
+		if (!$token instanceof AccessToken) {
53 53
 			throw new OAuthException('invalid token'); // @codeCoverageIgnore
54 54
 		}
55 55
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
 		$response = $this->http->sendRequest($request);
62 62
 
63
-		if($response->getStatusCode() !== 200){
63
+		if ($response->getStatusCode() !== 200) {
64 64
 			throw new OAuthException('metadata response error'); // @codeCoverageIgnore
65 65
 		}
66 66
 
Please login to merge, or discard this patch.
src/NPR/NPROneEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * @link https://dev.npr.org/api/
19 19
  */
20
-class NPROneEndpoints extends EndpointMap{
20
+class NPROneEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $API_BASE = 'https://'; // i hate this so much
23 23
 
Please login to merge, or discard this patch.
src/Imgur/ImgurEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 /**
18 18
  */
19
-class ImgurEndpoints extends EndpointMap{
19
+class ImgurEndpoints extends EndpointMap {
20 20
 
21 21
 	protected $me = [
22 22
 		'path'          => '/3/account/me',
Please login to merge, or discard this patch.
src/GitLab/GitLabV4Endpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * @link https://docs.gitlab.com/ee/api/README.html
19 19
  */
20
-class GitLabV4Endpoints extends EndpointMap{
20
+class GitLabV4Endpoints extends EndpointMap {
21 21
 
22 22
 	protected $API_BASE = '/v4';
23 23
 
Please login to merge, or discard this patch.
src/Twitter/TwitterCC.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
  * @method \Psr\Http\Message\ResponseInterface usersSuggestionsSlugMembers(string $slug, array $params = ['lang'])
133 133
  * @method \Psr\Http\Message\ResponseInterface verifyCredentials(array $params = ['include_entities', 'skip_status'])
134 134
  */
135
-class TwitterCC extends OAuth2Provider implements ClientCredentials{
135
+class TwitterCC extends OAuth2Provider implements ClientCredentials {
136 136
 
137 137
 	protected const AUTH_ERRMSG = 'TwitterCC only supports Client Credentials Grant, use the Twitter OAuth1 class for authentication instead.';
138 138
 
Please login to merge, or discard this patch.
src/Bitbucket/BitbucketEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 /**
18 18
  */
19
-class BitbucketEndpoints extends EndpointMap{
19
+class BitbucketEndpoints extends EndpointMap {
20 20
 
21 21
 	protected $API_BASE = '/2.0';
22 22
 
Please login to merge, or discard this patch.
src/PayPal/PayPalEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * @link https://developer.paypal.com/docs/api/identity/v1/
19 19
  */
20
-class PayPalEndpoints extends EndpointMap{
20
+class PayPalEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $me = [
23 23
 		'path'          => '/v1/identity/oauth2/userinfo',
Please login to merge, or discard this patch.