Passed
Push — master ( a6fd9c...78040a )
by smiley
01:37
created
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 $userProfile = [
22 22
 		'path'          => '/user/profile',
Please login to merge, or discard this patch.
src/Amazon/Amazon.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
 namespace chillerlan\OAuth\Providers\Amazon;
18 18
 
19
-use chillerlan\OAuth\Core\{CSRFToken, OAuth2Provider, TokenExpires, TokenRefresh,};
19
+use chillerlan\OAuth\Core\{CSRFToken, OAuth2Provider, TokenExpires, TokenRefresh, };
20 20
 
21 21
 /**
22 22
  * @method \Psr\Http\Message\ResponseInterface userProfile()
Please login to merge, or discard this patch.
src/Mastodon/Mastodon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 	public function setInstance(string $instance):Mastodon{
117 117
 		$instance = parse_url($instance);
118 118
 
119
-		if(!isset($instance['scheme']) || !isset($instance['host'])){
119
+		if (!isset($instance['scheme']) || !isset($instance['host'])) {
120 120
 			throw new OAuthException('invalid instance URL');
121 121
 		}
122 122
 
Please login to merge, or discard this patch.
src/Mastodon/MastodonEndpoints.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://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md
19 19
  */
20
-class MastodonEndpoints extends EndpointMap{
20
+class MastodonEndpoints extends EndpointMap {
21 21
 
22 22
 	protected $getCurrentUser = [
23 23
 		'path'          => '/v1/accounts/verify_credentials',
Please login to merge, or discard this patch.
src/BigCartel/BigCartel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
  * @method \Psr\Http\Message\ResponseInterface updateDiscount(string $account_id, string $discount_id, array $body = ['type', 'name', 'code', 'active_at', 'expires_at', 'requirement_type', 'expiration_type', 'reward_type', 'application_type', 'percent_discount', 'flat_rate_discount', 'use_limit', 'minimum_cart_total', 'minimum_cart_quantity'])
46 46
  * @method \Psr\Http\Message\ResponseInterface updateOrder(string $account_id, string $order_id, array $body = ['id', 'type', 'customer_first_name', 'customer_last_name', 'customer_email', 'shipping_address_1', 'shipping_address_2', 'shipping_city', 'shipping_state', 'shipping_zip', 'shipping_country_id', 'shipping_status'])
47 47
  */
48
-class BigCartel extends OAuth2Provider implements CSRFToken{
48
+class BigCartel extends OAuth2Provider implements CSRFToken {
49 49
 
50 50
 	protected $apiURL         = 'https://api.bigcartel.com/v1';
51 51
 	protected $authURL        = 'https://my.bigcartel.com/oauth/authorize';
Please login to merge, or discard this patch.
src/BigCartel/BigCartelEndpoints.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://developers.bigcartel.com/api/v1
19 19
  */
20
-class BigCartelEndpoints extends EndpointMap{
20
+class BigCartelEndpoints extends EndpointMap {
21 21
 
22 22
 	/**
23 23
 	 * Account
Please login to merge, or discard this patch.
src/MusicBrainz/MusicBrainzEndpoints.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
 use chillerlan\HTTP\MagicAPI\EndpointMap;
19 19
 
20
-class MusicBrainzEndpoints extends EndpointMap{
20
+class MusicBrainzEndpoints extends EndpointMap {
21 21
 
22 22
 	/**
23 23
 	 * oauth2
Please login to merge, or discard this patch.
src/MailChimp/MailChimpEndpoints.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
  * @link http://developer.mailchimp.com/documentation/mailchimp/reference/overview/
21 21
  */
22
-class MailChimpEndpoints extends EndpointMap{
22
+class MailChimpEndpoints extends EndpointMap {
23 23
 
24 24
 	/************
25 25
 	 * API Root *
Please login to merge, or discard this patch.
src/Spotify/SpotifyEndpoints.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
  * Note: the endpoints are ordered by the api docs (against any logical pattern)
21 21
  */
22
-class SpotifyEndpoints extends EndpointMap{
22
+class SpotifyEndpoints extends EndpointMap {
23 23
 
24 24
 	protected $API_BASE = '/v1';
25 25
 
Please login to merge, or discard this patch.