Passed
Push — master ( 9749ab...6ad01e )
by smiley
01:28
created
src/SoundCloud/SoundCloudEndpoints.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,12 +67,12 @@
 block discarded – undo
67 67
  *
68 68
  *
69 69
  */
70
-class SoundCloudEndpoints extends EndpointMap{
70
+class SoundCloudEndpoints extends EndpointMap {
71 71
 
72 72
 	/**
73 73
 	 * @link
74 74
 	 */
75
-	protected $me   = [
75
+	protected $me = [
76 76
 		'path'          => '/me',
77 77
 		'method'        => 'GET',
78 78
 		'query'         => [],
Please login to merge, or discard this patch.
src/SoundCloud/SoundCloud.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 me()
22 22
  * @method \Psr\Http\Message\ResponseInterface user(string $id)
23 23
  */
24
-class SoundCloud extends OAuth2Provider implements TokenExpires{
24
+class SoundCloud extends OAuth2Provider implements TokenExpires {
25 25
 
26 26
 	public const SCOPE_NONEXPIRING = 'non-expiring';
27 27
 #	public const SCOPE_EMAIL       = 'email'; // ???
Please login to merge, or discard this patch.
src/Flickr/Flickr.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 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';
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 
279 279
 		$request = $this->requestFactory->createRequest($method, Psr7\merge_query($this->apiURL, $params));
280 280
 
281
-		foreach(\array_merge($this->apiHeaders, $headers ?? []) as $header => $value){
281
+		foreach (\array_merge($this->apiHeaders, $headers ?? []) as $header => $value) {
282 282
 			$request = $request->withAddedHeader($header, $value);
283 283
 		}
284 284
 
Please login to merge, or discard this patch.
src/Flickr/FlickrEndpoints.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 use chillerlan\HTTP\MagicAPI\EndpointMap;
16 16
 
17
-class FlickrEndpoints extends EndpointMap{
17
+class FlickrEndpoints extends EndpointMap {
18 18
 
19 19
 	/**
20 20
 	 * @link https://www.flickr.com/services/api/flickr.activity.userComments.html
Please login to merge, or discard this patch.
src/Instagram/InstagramEndpoints.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.instagram.com/developer/endpoints/
19 19
  */
20
-class InstagramEndpoints extends EndpointMap{
20
+class InstagramEndpoints extends EndpointMap {
21 21
 
22 22
 	/**
23 23
 	 * @link
Please login to merge, or discard this patch.
src/Instagram/Instagram.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
  * @method \Psr\Http\Message\ResponseInterface tags(string $tagname)
44 44
  * @method \Psr\Http\Message\ResponseInterface tagsRecentMedia(string $tagname, array $params = ['max_tag_id', 'min_tag_id', 'count'])
45 45
  */
46
-class Instagram extends OAuth2Provider implements CSRFToken{
46
+class Instagram extends OAuth2Provider implements CSRFToken {
47 47
 
48 48
 	public const SCOPE_BASIC          = 'basic';
49 49
 	public const SCOPE_COMMENTS       = 'comments';
Please login to merge, or discard this patch.
src/GitHub/GitHubEndpoints.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,12 +19,12 @@
 block discarded – undo
19 19
 /**
20 20
  * @todo
21 21
  */
22
-class GitHubEndpoints extends EndpointMap{
22
+class GitHubEndpoints extends EndpointMap {
23 23
 
24 24
 	/**
25 25
 	 * @link https://developer.github.com/v3/users/#get-the-authenticated-user
26 26
 	 */
27
-	protected $me      = [
27
+	protected $me = [
28 28
 		'path'          => '/user',
29 29
 		'method'        => 'GET',
30 30
 		'query'         => [],
Please login to merge, or discard this patch.
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.