Completed
Push — master ( 5c6d51...c432d5 )
by Alexey
02:50
created
source/GCM/Client.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Supported content types
38 38
      */
39 39
     const CONTENT_TYPE_JSON       = 'application/json',
40
-          CONTENT_TYPE_PLAIN_TEXT = 'application/x-www-form-urlencoded; charset=UTF-8';
40
+            CONTENT_TYPE_PLAIN_TEXT = 'application/x-www-form-urlencoded; charset=UTF-8';
41 41
 
42 42
     /**
43 43
      * GCM sender service endpoint
Please login to merge, or discard this patch.
source/GCM/Message/PayloadMessage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * GCM messages content types constants
31 31
      */
32 32
     const TYPE_PLAIN = 0,
33
-          TYPE_JSON  = 1;
33
+            TYPE_JSON  = 1;
34 34
 
35 35
     /**
36 36
      * Maximum registration ids for multicast messages
Please login to merge, or discard this patch.
source/GCM/Response/Status.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,14 +27,14 @@
 block discarded – undo
27 27
      * Error constants
28 28
      */
29 29
     const STATUS_UNAVAILABLE           = 'Unavailable',
30
-          STATUS_NOT_REGISTERED        = 'NotRegistered',
31
-          STATUS_MISSING_REGISTRATION  = 'MissingRegistration',
32
-          STATUS_INVALID_REGISTRATION  = 'InvalidRegistration',
33
-          STATUS_MISMATCH_SENDER_ID    = 'MismatchSenderId',
34
-          STATUS_MESSAGE_TOO_BIG       = 'MessageTooBig',
35
-          STATUS_INVALID_DATA_KEY      = 'InvalidDataKey',
36
-          STATUS_INVALID_TTL           = 'InvalidTtl',
37
-          STATUS_INTERNAL_SERVER_ERROR = 'InternalServerError';
30
+            STATUS_NOT_REGISTERED        = 'NotRegistered',
31
+            STATUS_MISSING_REGISTRATION  = 'MissingRegistration',
32
+            STATUS_INVALID_REGISTRATION  = 'InvalidRegistration',
33
+            STATUS_MISMATCH_SENDER_ID    = 'MismatchSenderId',
34
+            STATUS_MESSAGE_TOO_BIG       = 'MessageTooBig',
35
+            STATUS_INVALID_DATA_KEY      = 'InvalidDataKey',
36
+            STATUS_INVALID_TTL           = 'InvalidTtl',
37
+            STATUS_INTERNAL_SERVER_ERROR = 'InternalServerError';
38 38
 
39 39
     /**
40 40
      * @var string message identifier
Please login to merge, or discard this patch.
source/OAuth2/Response/Error.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * Error string constants
30 30
      */
31 31
     const STRING_INVALID_GRANT  = 'invalid_grant',
32
-          STRING_INVALID_CLIENT = 'invalid_client';
32
+            STRING_INVALID_CLIENT = 'invalid_client';
33 33
 
34 34
     /**
35 35
      * @var string google error code
Please login to merge, or discard this patch.
source/OAuth2/Response/Token.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * Token type constants
31 31
      */
32 32
     const TYPE_UNKNOWN = 0,
33
-          TYPE_BEARER  = 1;
33
+            TYPE_BEARER  = 1;
34 34
 
35 35
     /**
36 36
      * @var string access token
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
     id token:      %s
214 214
     refresh token: %s
215 215
     token type:    %s
216
-EOD;
216
+eod;
217 217
         try {
218 218
             $refreshToken = $this->getRefreshToken();
219 219
         } catch (OutOfBoundsException $Ex) {
Please login to merge, or discard this patch.
source/OAuth2/WebServerApplication.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,26 +37,26 @@
 block discarded – undo
37 37
      * Access type constants
38 38
      */
39 39
     const ACCESS_TYPE_ONLINE  = 'online',
40
-          ACCESS_TYPE_OFFLINE = 'offline';
40
+            ACCESS_TYPE_OFFLINE = 'offline';
41 41
 
42 42
     /**
43 43
      * Approval constants
44 44
      */
45 45
     const APPROVAL_PROMPT_AUTO  = 'auto',
46
-          APPROVAL_PROMPT_FORCE = 'force';
46
+            APPROVAL_PROMPT_FORCE = 'force';
47 47
 
48 48
     /**
49 49
      * Grant type constants
50 50
      */
51 51
     const GRANT_TYPE_AUTHORIZATION = 'authorization_code',
52
-          GRANT_TYPE_REFRESH       = 'refresh_token';
52
+            GRANT_TYPE_REFRESH       = 'refresh_token';
53 53
 
54 54
     /**
55 55
      * Google Api endpoints
56 56
      */
57 57
     const ENDPOINT_INITIAL_REQUEST      = 'https://accounts.google.com/o/oauth2/auth',
58
-          ENDPOINT_ACCESS_TOKEN_REQUEST = 'https://accounts.google.com/o/oauth2/token',
59
-          ENDPOINT_REVOKE_TOKEN         = 'https://accounts.google.com/o/oauth2/revoke';
58
+            ENDPOINT_ACCESS_TOKEN_REQUEST = 'https://accounts.google.com/o/oauth2/token',
59
+            ENDPOINT_REVOKE_TOKEN         = 'https://accounts.google.com/o/oauth2/revoke';
60 60
 
61 61
     /**
62 62
      * @var Token access token
Please login to merge, or discard this patch.