Passed
Push — master ( f59107...48d447 )
by smiley
01:38
created
src/DeviantArt/DeviantArtEndpoints.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://www.deviantart.com/developers/http/v1/20160316
19 19
  */
20
-class DeviantArtEndpoints extends EndpointMap{
20
+class DeviantArtEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $whoami = [
23 23
 		'path'          => '/user/whoami',
Please login to merge, or discard this patch.
src/Twitch/TwitchEndpoints.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.twitch.tv/docs/api/reference/
19 19
  */
20
-class TwitchEndpoints extends EndpointMap{
20
+class TwitchEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $me = [
23 23
 		'path'          => '/user',
Please login to merge, or discard this patch.
src/Twitch/Twitch.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 #	protected $accessTokenExpires = true;
52 52
 	protected $authHeaders        = ['Accept' => 'application/vnd.twitchtv.v5+json'];
53 53
 	protected $apiHeaders         = ['Accept' => 'application/vnd.twitchtv.v5+json'];
54
-	protected $authMethod         = self::HEADER_OAUTH;  // -> https://api.twitch.tv/kraken
54
+	protected $authMethod         = self::HEADER_OAUTH; // -> https://api.twitch.tv/kraken
55 55
 #	protected $authMethod         = self::HEADER_BEARER; // -> https://api.twitch.tv/helix
56 56
 	protected $endpointMap        = TwitchEndpoints::class;
57 57
 	protected $apiDocs            = 'https://dev.twitch.tv/docs/api/reference/';
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 			'grant_type'    => 'client_credentials',
72 72
 		];
73 73
 
74
-		if($scopes !== null){
74
+		if ($scopes !== null) {
75 75
 			$params['scope'] = implode($this->scopesDelimiter, $scopes);
76 76
 		}
77 77
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 			->withBody($this->streamFactory->createStream(http_build_query($params, '', '&', PHP_QUERY_RFC1738)))
82 82
 		;
83 83
 
84
-		foreach($this->authHeaders as $header => $value){
84
+		foreach ($this->authHeaders as $header => $value) {
85 85
 			$request = $request->withAddedHeader($header, $value);
86 86
 		}
87 87
 
Please login to merge, or discard this patch.
src/Mixcloud/Mixcloud.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  * @method \Psr\Http\Message\ResponseInterface me()
21 21
  * @method \Psr\Http\Message\ResponseInterface user(string $username)
22 22
  */
23
-class Mixcloud extends OAuth2Provider{
23
+class Mixcloud extends OAuth2Provider {
24 24
 
25 25
 	protected $apiURL         = 'https://api.mixcloud.com';
26 26
 	protected $authURL        = 'https://www.mixcloud.com/oauth/authorize';
Please login to merge, or discard this patch.
src/Mixcloud/MixcloudEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  *
21 21
  * note: a missing slash at the end of the path will end up in a HTTP/301
22 22
  */
23
-class MixcloudEndpoints extends EndpointMap{
23
+class MixcloudEndpoints extends EndpointMap {
24 24
 
25 25
 	protected $me = [
26 26
 		'path'          => '/me/',
Please login to merge, or discard this patch.
src/Stripe/StripeEndpoints.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://stripe.com/docs/api
19 19
  */
20
-class StripeEndpoints extends EndpointMap{
20
+class StripeEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $me = [
23 23
 		'path'          => '/accounts',
Please login to merge, or discard this patch.
src/Discogs/DiscogsEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  *
25 25
  * Note: the endpoints are ordered by the api docs (against any logical pattern)
26 26
  */
27
-class DiscogsEndpoints extends EndpointMap{
27
+class DiscogsEndpoints extends EndpointMap {
28 28
 
29 29
 	/**
30 30
 	 * Database
Please login to merge, or discard this patch.
src/Discogs/Discogs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
  * @method \Psr\Http\Message\ResponseInterface wantlistRemove(string $username, string $release_id)
71 71
  * @method \Psr\Http\Message\ResponseInterface wantlistUpdate(string $username, string $release_id, array $body = ['notes', 'rating'])
72 72
  */
73
-class Discogs extends OAuth1Provider{
73
+class Discogs extends OAuth1Provider {
74 74
 
75 75
 	protected $apiURL          = 'https://api.discogs.com';
76 76
 	protected $requestTokenURL = 'https://api.discogs.com/oauth/request_token';
Please login to merge, or discard this patch.
src/Foursquare/FoursquareEndpoints.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.foursquare.com/docs
19 19
  */
20
-class FoursquareEndpoints extends EndpointMap{
20
+class FoursquareEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $me = [
23 23
 		'path'          => '/users/self',
Please login to merge, or discard this patch.