Passed
Push — main ( 2c74b5...627173 )
by smiley
02:17
created
src/Patreon/Patreon2Endpoints.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 Patreon2Endpoints extends EndpointMap{
19
+class Patreon2Endpoints extends EndpointMap {
20 20
 
21 21
 	protected string $API_BASE = '/v2';
22 22
 
Please login to merge, or discard this patch.
src/Patreon/Patreon1Endpoints.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 Patreon1Endpoints extends EndpointMap{
19
+class Patreon1Endpoints extends EndpointMap {
20 20
 
21 21
 	protected string $API_BASE = '/api';
22 22
 
Please login to merge, or discard this patch.
src/Patreon/Patreon2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  * @method \Psr\Http\Message\ResponseInterface memberId(string $member_id, array $params = ['fields[member]', 'fields[tier]', 'fields[user]'])
24 24
  * @method \Psr\Http\Message\ResponseInterface webhooks(array $params = ['fields[webhook]'])
25 25
  */
26
-class Patreon2 extends PatreonAbstract{
26
+class Patreon2 extends PatreonAbstract {
27 27
 
28 28
 	// wow, consistency...
29 29
 	public const  SCOPE_IDENTITY                  = 'identity';
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
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 	protected ?string $endpointMap     = TwitchEndpoints::class;
56 56
 	protected ?string $apiDocs         = 'https://dev.twitch.tv/docs/api/reference/';
57 57
 	protected ?string $applicationURL  = 'https://dev.twitch.tv/console/apps/create';
58
-	protected string $authMethodHeader = 'OAuth';  // -> https://api.twitch.tv/kraken
58
+	protected string $authMethodHeader = 'OAuth'; // -> https://api.twitch.tv/kraken
59 59
 #	protected string $authMethodHeader = 'Bearer'; // -> https://api.twitch.tv/helix
60 60
 	protected array $authHeaders       = ['Accept' => 'application/vnd.twitchtv.v5+json'];
61 61
 	protected array $apiHeaders        = ['Accept' => 'application/vnd.twitchtv.v5+json'];
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 			'grant_type'    => 'client_credentials',
75 75
 		];
76 76
 
77
-		if($scopes !== null){
77
+		if ($scopes !== null) {
78 78
 			$params['scope'] = implode($this->scopesDelimiter, $scopes);
79 79
 		}
80 80
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 			->withBody($this->streamFactory->createStream(http_build_query($params, '', '&', PHP_QUERY_RFC1738)))
85 85
 		;
86 86
 
87
-		foreach($this->authHeaders as $header => $value){
87
+		foreach ($this->authHeaders as $header => $value) {
88 88
 			$request = $request->withAddedHeader($header, $value);
89 89
 		}
90 90
 
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 array $me = [
23 23
 		'path'          => '/user',
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 array $me = [
23 23
 		'path'          => '/accounts',
Please login to merge, or discard this patch.
src/Tumblr/TumblrEndpoints.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.tumblr.com/docs/en/api/v2
19 19
  */
20
-class TumblrEndpoints extends EndpointMap{
20
+class TumblrEndpoints extends EndpointMap {
21 21
 
22 22
 	protected array $me = [
23 23
 		'path'          => '/user/info',
Please login to merge, or discard this patch.
src/Tumblr/Tumblr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 /**
20 20
  * @method \Psr\Http\Message\ResponseInterface me()
21 21
  */
22
-class Tumblr extends OAuth1Provider{
22
+class Tumblr extends OAuth1Provider {
23 23
 
24 24
 	protected string $requestTokenURL = 'https://www.tumblr.com/oauth/request_token';
25 25
 	protected string $authURL         = 'https://www.tumblr.com/oauth/authorize';
Please login to merge, or discard this patch.
src/Amazon/AmazonEndpoints.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 AmazonEndpoints extends EndpointMap{
19
+class AmazonEndpoints extends EndpointMap {
20 20
 
21 21
 	protected array $userProfile = [
22 22
 		'path'          => '/user/profile',
Please login to merge, or discard this patch.