Passed
Push — main ( cbb3af...b6601b )
by smiley
02:34
created
src/Twitter/TwitterEndpoints.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  *
18 18
  * Note: the endpoints are ordered by the api docs (against any logical pattern)
19 19
  */
20
-class TwitterEndpoints extends TwitterCCEndpoints{
20
+class TwitterEndpoints extends TwitterCCEndpoints {
21 21
 
22 22
 	/**
23 23
 	 * 1 Basics
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 		'method'        => 'POST',
122 122
 		'query'         => null,
123 123
 		'path_elements' => null,
124
-		'body'          => ['name', 'url', 'location', 'description', 'profile_link_color', 'include_entities', 'skip_status',],
124
+		'body'          => ['name', 'url', 'location', 'description', 'profile_link_color', 'include_entities', 'skip_status', ],
125 125
 		'headers'       => null,
126 126
 	];
127 127
 
Please login to merge, or discard this patch.
src/Twitter/TwitterCCEndpoints.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  *
18 18
  * Note: the endpoints are ordered by the api docs (against any logical pattern)
19 19
  */
20
-class TwitterCCEndpoints extends EndpointMap{
20
+class TwitterCCEndpoints extends EndpointMap {
21 21
 
22 22
 	protected string $API_BASE = '/1.1';
23 23
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 	protected array $friendshipsShow = [
82 82
 		'path'          => '/friendships/show.json',
83 83
 		'method'        => 'GET',
84
-		'query'         => ['source_id', 'source_screen_name', 'target_id', 'target_screen_name',],
84
+		'query'         => ['source_id', 'source_screen_name', 'target_id', 'target_screen_name', ],
85 85
 		'path_elements' => null,
86 86
 		'body'          => null,
87 87
 		'headers'       => null,
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
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
  * @method \Psr\Http\Message\ResponseInterface usersSearch(array $params = ['q', 'page', 'count', 'include_entities', 'skip_status'])
56 56
  * @method \Psr\Http\Message\ResponseInterface usersShow(array $params = ['user_id', 'screen_name', 'include_entities', 'skip_status'])
57 57
  */
58
-class TwitterCC extends OAuth2Provider implements ClientCredentials{
58
+class TwitterCC extends OAuth2Provider implements ClientCredentials {
59 59
 
60 60
 	protected const AUTH_ERRMSG = 'TwitterCC only supports Client Credentials Grant, use the Twitter OAuth1 class for authentication instead.';
61 61
 
Please login to merge, or discard this patch.
src/Twitter/Twitter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,11 +124,11 @@
 block discarded – undo
124 124
  * @method \Psr\Http\Message\ResponseInterface usersShow(array $params = ['user_id', 'screen_name', 'include_entities', 'skip_status'])
125 125
  * @method \Psr\Http\Message\ResponseInterface verifyCredentials(array $params = ['include_entities', 'skip_status'])
126 126
  */
127
-class Twitter extends OAuth1Provider{
127
+class Twitter extends OAuth1Provider {
128 128
 
129 129
 	// choose your fighter
130 130
 	/** @link https://developer.twitter.com/en/docs/basics/authentication/api-reference/authorize */
131
-	protected string $authURL         = 'https://api.twitter.com/oauth/authorize';
131
+	protected string $authURL = 'https://api.twitter.com/oauth/authorize';
132 132
 	/** @link https://developer.twitter.com/en/docs/basics/authentication/api-reference/authenticate */
133 133
 #	protected string $authURL         = 'https://api.twitter.com/oauth/authenticate';
134 134
 
Please login to merge, or discard this patch.