Completed
Push — master ( e678ca...d0596b )
by Alexey
7s
created
source/AndroidPublisher/Purchases/Subscriptions/Resource.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @return float time at which the subscription will expire, seconds
55
+     * @return integer time at which the subscription will expire, seconds
56 56
      */
57 57
     public function getExpiryTime() {
58 58
         return $this->getExpiryTimeMillis() / 1000;
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.
bin/gcm.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     success: %s
71 71
     failure: %s
72 72
 
73
-EOD
73
+eod
74 74
         , $Response->getSuccessCount()
75 75
         , $Response->getFailureCount());
76 76
 } catch (RequiredOptionException $Ex) {
Please login to merge, or discard this patch.
examples/inappproducts.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 use alxmsl\Google\AndroidPublisher\InAppProducts\Resource as InAppProductsResource;
26 26
 
27 27
 const PACKAGE_NAME = 'com.example.package',
28
-      ACCESS_TOKEN = '4CcE5s_T0keN',
29
-      PRODUCT_ID   = 'com.example.package.product.1';
28
+        ACCESS_TOKEN = '4CcE5s_T0keN',
29
+        PRODUCT_ID   = 'com.example.package.product.1';
30 30
 
31 31
 $Client = new Client();
32 32
 $Client->setPackage(PACKAGE_NAME)
Please login to merge, or discard this patch.
examples/subscriptions.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\Subscriptions\SubscriptionsClient;
26 26
 
27 27
 const PACKAGE_NAME    = 'com.example.package',
28
-      ACCESS_TOKEN    = '4CcE5s_T0keN',
29
-      SUBSCRIPTION_ID = 'com.example.package.product.1',
30
-      PURCHASE_TOKEN  = 'puRCH45e_tokEN';
28
+        ACCESS_TOKEN    = '4CcE5s_T0keN',
29
+        SUBSCRIPTION_ID = 'com.example.package.product.1',
30
+        PURCHASE_TOKEN  = 'puRCH45e_tokEN';
31 31
 
32 32
 $Client = new SubscriptionsClient();
33 33
 $Client->setPackage(PACKAGE_NAME)
Please login to merge, or discard this patch.
examples/webclient.authorize.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
 // Define client identification
28 28
 const CLIENT_ID     = 'my-client@id',
29
-      CLIENT_SECRET = 'clientsecret';
29
+        CLIENT_SECRET = 'clientsecret';
30 30
 
31 31
 // Create new client
32 32
 $Client = new WebServerApplication();
Please login to merge, or discard this patch.
source/AndroidPublisher/Purchases/Client.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
      * API client code
38 38
      */
39 39
     const TYPE_PRODUCTS      = 0,
40
-          TYPE_SUBSCRIPTIONS = 1;
40
+            TYPE_SUBSCRIPTIONS = 1;
41 41
 
42 42
     /**
43 43
      * Google Purchases API uri parts
44 44
      */
45 45
     const URI_PRODUCTS      = 'products',
46
-          URI_SUBSCRIPTIONS = 'subscriptions';
46
+            URI_SUBSCRIPTIONS = 'subscriptions';
47 47
 
48 48
     /**
49 49
      * GooglePlay Purchases Products API endpoint
Please login to merge, or discard this patch.
source/AndroidPublisher/Purchases/Products/Resource.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@
 block discarded – undo
28 28
      * Consumption state constants
29 29
      */
30 30
     const STATE_YET_CONSUMED = 0,
31
-          STATE_CONSUMED     = 1;
31
+            STATE_CONSUMED     = 1;
32 32
 
33 33
     /**
34 34
      * Order state constants
35 35
      */
36 36
     const ORDER_PURCHASED = 0,
37
-          ORDER_CANCELLED = 1,
38
-          ORDER_UNKNOWN   = -1;
37
+            ORDER_CANCELLED = 1,
38
+            ORDER_UNKNOWN   = -1;
39 39
 
40 40
     /**
41 41
      * @var int purchase consumption state
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/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.