Completed
Push — master ( e678ca...d0596b )
by Alexey
7s
created
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.
examples/products.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@
 block discarded – undo
25 25
 use alxmsl\Google\AndroidPublisher\Purchases\Products\Resource as ProductsResource;
26 26
 
27 27
 const PACKAGE_NAME   = 'com.example.package',
28
-      ACCESS_TOKEN   = '4CcE5s_T0keN',
29
-      PRODUCT_ID     = 'com.example.package.product.1',
30
-      PURCHASE_TOKEN = 'puRCH45e_tokEN';
28
+        ACCESS_TOKEN   = '4CcE5s_T0keN',
29
+        PRODUCT_ID     = 'com.example.package.product.1',
30
+        PURCHASE_TOKEN = 'puRCH45e_tokEN';
31 31
 
32 32
 $Client = new Client();
33 33
 $Client->setPackage(PACKAGE_NAME)
Please login to merge, or discard this patch.
examples/webclient.uri.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
 
27 27
 // Define client identification
28 28
 const CLIENT_ID     = 'my-client@id',
29
-      CLIENT_SECRET = 'clientsecret',
30
-      REDIRECT_URI  = 'http://example.com/oauth2callback';
29
+        CLIENT_SECRET = 'clientsecret',
30
+        REDIRECT_URI  = 'http://example.com/oauth2callback';
31 31
 
32 32
 // Create new client
33 33
 $Client = new WebServerApplication();
Please login to merge, or discard this patch.
source/AndroidPublisher/InAppProducts/Resource.php 1 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.