Completed
Branch develop (2dd6cc)
by
unknown
26:03
created
htdocs/includes/OAuth/OAuth2/Service/Spotify.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         if (null === $data || !is_array($data)) {
75 75
             throw new TokenResponseException('Unable to parse response.');
76 76
         } elseif (isset($data['error'])) {
77
-            throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
77
+            throw new TokenResponseException('Error in retrieving token: "'.$data['error'].'"');
78 78
         }
79 79
 
80 80
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     protected function getExtraOAuthHeaders()
105 105
     {
106
-        return array('Authorization' => 'Basic ' .
107
-            base64_encode($this->credentials->getConsumerId() . ':' . $this->credentials->getConsumerSecret()));
106
+        return array('Authorization' => 'Basic '.
107
+            base64_encode($this->credentials->getConsumerId().':'.$this->credentials->getConsumerSecret()));
108 108
     }
109 109
 }
Please login to merge, or discard this patch.
htdocs/includes/OAuth/OAuth2/Service/WordPress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,9 +86,9 @@
 block discarded – undo
86 86
 		$data = json_decode($responseBody, true);
87 87
 
88 88
 		if (null === $data || !is_array($data)) {
89
-			throw new TokenResponseException('Unable to parse response: "'.(isset($responseBody)?$responseBody:'NULL').'"');
89
+			throw new TokenResponseException('Unable to parse response: "'.(isset($responseBody) ? $responseBody : 'NULL').'"');
90 90
 		} elseif (isset($data['error'])) {
91
-			throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '" : "'.$data['error_description'].'"');
91
+			throw new TokenResponseException('Error in retrieving token: "'.$data['error'].'" : "'.$data['error_description'].'"');
92 92
 		}
93 93
 
94 94
 		$token = new StdOAuth2Token();
Please login to merge, or discard this patch.
htdocs/includes/OAuth/OAuth2/Service/EveOnline.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function getAuthorizationEndpoint()
43 43
     {
44
-        return new Uri($this->baseApiUri . '/oauth/authorize');
44
+        return new Uri($this->baseApiUri.'/oauth/authorize');
45 45
     }
46 46
 
47 47
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function getAccessTokenEndpoint()
52 52
     {
53
-        return new Uri($this->baseApiUri . '/oauth/token');
53
+        return new Uri($this->baseApiUri.'/oauth/token');
54 54
     }
55 55
 
56 56
     /**
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
         if (null === $data || !is_array($data)) {
69 69
             throw new TokenResponseException('Unable to parse response.');
70 70
         } elseif (isset($data['error_description'])) {
71
-            throw new TokenResponseException('Error in retrieving token: "' . $data['error_description'] . '"');
71
+            throw new TokenResponseException('Error in retrieving token: "'.$data['error_description'].'"');
72 72
         } elseif (isset($data['error'])) {
73
-            throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
73
+            throw new TokenResponseException('Error in retrieving token: "'.$data['error'].'"');
74 74
         }
75 75
 
76 76
         $token = new StdOAuth2Token();
Please login to merge, or discard this patch.
htdocs/includes/OAuth/OAuth2/Service/Buffer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
         if ($data === null || !is_array($data)) {
137 137
             throw new TokenResponseException('Unable to parse response.');
138 138
         } elseif (isset($data['error'])) {
139
-            throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
139
+            throw new TokenResponseException('Error in retrieving token: "'.$data['error'].'"');
140 140
         }
141 141
 
142 142
         $token = new StdOAuth2Token();
Please login to merge, or discard this patch.
htdocs/includes/OAuth/OAuth2/Service/Reddit.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         if (null === $data || !is_array($data)) {
83 83
             throw new TokenResponseException('Unable to parse response.');
84 84
         } elseif (isset($data['error'])) {
85
-            throw new TokenResponseException('Error in retrieving token: "' . $data['error'] . '"');
85
+            throw new TokenResponseException('Error in retrieving token: "'.$data['error'].'"');
86 86
         }
87 87
 
88 88
         $token = new StdOAuth2Token();
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     protected function getExtraOAuthHeaders()
109 109
     {
110 110
         // Reddit uses a Basic OAuth header
111
-        return array('Authorization' => 'Basic ' .
112
-            base64_encode($this->credentials->getConsumerId() . ':' . $this->credentials->getConsumerSecret()));
111
+        return array('Authorization' => 'Basic '.
112
+            base64_encode($this->credentials->getConsumerId().':'.$this->credentials->getConsumerSecret()));
113 113
     }
114 114
 }
Please login to merge, or discard this patch.
htdocs/includes/OAuth/OAuth2/Service/Strava.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function getAuthorizationEndpoint()
73 73
     {
74
-        return new Uri('https://www.strava.com/oauth/authorize?approval_prompt=' . $this->approvalPrompt);
74
+        return new Uri('https://www.strava.com/oauth/authorize?approval_prompt='.$this->approvalPrompt);
75 75
     }
76 76
 
77 77
     /**
@@ -101,11 +101,11 @@  discard block
 block discarded – undo
101 101
             throw new TokenResponseException('Unable to parse response.');
102 102
         } elseif (isset($data['error_description'])) {
103 103
             throw new TokenResponseException(
104
-                'Error in retrieving token: "' . $data['error_description'] . '"'
104
+                'Error in retrieving token: "'.$data['error_description'].'"'
105 105
             );
106 106
         } elseif (isset($data['error'])) {
107 107
             throw new TokenResponseException(
108
-                'Error in retrieving token: "' . $data['error'] . '"'
108
+                'Error in retrieving token: "'.$data['error'].'"'
109 109
             );
110 110
         }
111 111
 
Please login to merge, or discard this patch.
htdocs/includes/OAuth/ServiceFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         $reflClass = new \ReflectionClass($className);
78 78
 
79 79
         foreach (array('OAuth2', 'OAuth1') as $version) {
80
-            if ($reflClass->implementsInterface('OAuth\\' . $version . '\\Service\\ServiceInterface')) {
80
+            if ($reflClass->implementsInterface('OAuth\\'.$version.'\\Service\\ServiceInterface')) {
81 81
                 $this->serviceClassMap[$version][ucfirst($serviceName)] = $className;
82 82
 
83 83
                 return $this;
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             return $this->serviceClassMap[$type][$serviceName];
149 149
         }
150 150
 
151
-        return '\\OAuth\\' . $type . '\\Service\\' . $serviceName;
151
+        return '\\OAuth\\'.$type.'\\Service\\'.$serviceName;
152 152
     }
153 153
 
154 154
     /**
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 
198 198
         $resolvedScopes = array();
199 199
         foreach ($scopes as $scope) {
200
-            $key = strtoupper('SCOPE_' . $scope);
200
+            $key = strtoupper('SCOPE_'.$scope);
201 201
 
202 202
             if (array_key_exists($key, $constants)) {
203 203
                 $resolvedScopes[] = $constants[$key];
Please login to merge, or discard this patch.
maximebf/debugbar/src/DebugBar/Bridge/SwiftMailer/SwiftMailCollector.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
 
56 56
         $f = array();
57 57
         foreach ($to as $k => $v) {
58
-            $f[] = (empty($v) ? '' : "$v ") . "<$k>";
58
+            $f[] = (empty($v) ? '' : "$v ")."<$k>";
59 59
         }
60 60
         return implode(', ', $f);
61 61
     }
Please login to merge, or discard this patch.
maximebf/debugbar/src/DebugBar/Bridge/SwiftMailer/SwiftLogCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
                 continue;
41 41
             }
42 42
 
43
-            $dump .= $message['message'] . PHP_EOL;
43
+            $dump .= $message['message'].PHP_EOL;
44 44
         }
45 45
 
46 46
         return $dump;
Please login to merge, or discard this patch.