Completed
Branch develop (3f9c38)
by
unknown
25:32
created
htdocs/includes/stripe/stripe-php/lib/PaymentLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      */
83 83
     public static function allLineItems($id, $params = null, $opts = null)
84 84
     {
85
-        $url = static::resourceUrl($id) . '/line_items';
85
+        $url = static::resourceUrl($id).'/line_items';
86 86
         list($response, $opts) = static::_staticRequest('get', $url, $params, $opts);
87 87
         $obj = \Stripe\Util\Util::convertToStripeObject($response->json, $opts);
88 88
         $obj->setLastResponse($response);
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/BaseStripeClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -304,9 +304,9 @@
 block discarded – undo
304 304
         $extraConfigKeys = \array_diff(\array_keys($config), \array_keys($this->getDefaultConfig()));
305 305
         if (!empty($extraConfigKeys)) {
306 306
             // Wrap in single quote to more easily catch trailing spaces errors
307
-            $invalidKeys = "'" . \implode("', '", $extraConfigKeys) . "'";
307
+            $invalidKeys = "'".\implode("', '", $extraConfigKeys)."'";
308 308
 
309
-            throw new \Stripe\Exception\InvalidArgumentException('Found unknown key(s) in configuration array: ' . $invalidKeys);
309
+            throw new \Stripe\Exception\InvalidArgumentException('Found unknown key(s) in configuration array: '.$invalidKeys);
310 310
         }
311 311
     }
312 312
 }
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/PaymentMethod.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function attach($params = null, $opts = null)
77 77
     {
78
-        $url = $this->instanceUrl() . '/attach';
78
+        $url = $this->instanceUrl().'/attach';
79 79
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
80 80
         $this->refreshFrom($response, $opts);
81 81
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function detach($params = null, $opts = null)
94 94
     {
95
-        $url = $this->instanceUrl() . '/detach';
95
+        $url = $this->instanceUrl().'/detach';
96 96
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
97 97
         $this->refreshFrom($response, $opts);
98 98
 
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/TransferReversal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $transfer = $this['transfer'];
51 51
         if (!$id) {
52 52
             throw new Exception\UnexpectedValueException(
53
-                'Could not determine which URL to request: ' .
53
+                'Could not determine which URL to request: '.
54 54
                 "class instance has invalid ID: {$id}",
55 55
                 null
56 56
             );
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/Payout.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function cancel($params = null, $opts = null)
86 86
     {
87
-        $url = $this->instanceUrl() . '/cancel';
87
+        $url = $this->instanceUrl().'/cancel';
88 88
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
89 89
         $this->refreshFrom($response, $opts);
90 90
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public function reverse($params = null, $opts = null)
103 103
     {
104
-        $url = $this->instanceUrl() . '/reverse';
104
+        $url = $this->instanceUrl().'/reverse';
105 105
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
106 106
         $this->refreshFrom($response, $opts);
107 107
 
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/Terminal/Reader.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function cancelAction($params = null, $opts = null)
46 46
     {
47
-        $url = $this->instanceUrl() . '/cancel_action';
47
+        $url = $this->instanceUrl().'/cancel_action';
48 48
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
49 49
         $this->refreshFrom($response, $opts);
50 50
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function processPaymentIntent($params = null, $opts = null)
63 63
     {
64
-        $url = $this->instanceUrl() . '/process_payment_intent';
64
+        $url = $this->instanceUrl().'/process_payment_intent';
65 65
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
66 66
         $this->refreshFrom($response, $opts);
67 67
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function processSetupIntent($params = null, $opts = null)
80 80
     {
81
-        $url = $this->instanceUrl() . '/process_setup_intent';
81
+        $url = $this->instanceUrl().'/process_setup_intent';
82 82
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
83 83
         $this->refreshFrom($response, $opts);
84 84
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function refundPayment($params = null, $opts = null)
97 97
     {
98
-        $url = $this->instanceUrl() . '/refund_payment';
98
+        $url = $this->instanceUrl().'/refund_payment';
99 99
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
100 100
         $this->refreshFrom($response, $opts);
101 101
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function setReaderDisplay($params = null, $opts = null)
114 114
     {
115
-        $url = $this->instanceUrl() . '/set_reader_display';
115
+        $url = $this->instanceUrl().'/set_reader_display';
116 116
         list($response, $opts) = $this->_request('post', $url, $params, $opts);
117 117
         $this->refreshFrom($response, $opts);
118 118
 
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/Capability.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $account = $this['account'];
41 41
         if (!$id) {
42 42
             throw new Exception\UnexpectedValueException(
43
-                'Could not determine which URL to request: ' .
43
+                'Could not determine which URL to request: '.
44 44
                 "class instance has invalid ID: {$id}",
45 45
                 null
46 46
             );
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public static function retrieve($_id, $_opts = null)
65 65
     {
66
-        $msg = 'Capabilities cannot be retrieved without an account ID. ' .
67
-               'Retrieve a capability using `Account::retrieveCapability(' .
66
+        $msg = 'Capabilities cannot be retrieved without an account ID. '.
67
+               'Retrieve a capability using `Account::retrieveCapability('.
68 68
                "'account_id', 'capability_id')`.";
69 69
 
70 70
         throw new Exception\BadMethodCallException($msg);
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public static function update($_id, $_params = null, $_options = null)
81 81
     {
82
-        $msg = 'Capabilities cannot be updated without an account ID. ' .
83
-               'Update a capability using `Account::updateCapability(' .
82
+        $msg = 'Capabilities cannot be updated without an account ID. '.
83
+               'Update a capability using `Account::updateCapability('.
84 84
                "'account_id', 'capability_id', \$updateParams)`.";
85 85
 
86 86
         throw new Exception\BadMethodCallException($msg);
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/Service/AbstractService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         if (null === $params) {
62 62
             return null;
63 63
         }
64
-        \array_walk_recursive($params, function (&$value, $key) {
64
+        \array_walk_recursive($params, function(&$value, $key) {
65 65
             if (null === $value) {
66 66
                 $value = '';
67 67
             }
Please login to merge, or discard this patch.
htdocs/includes/stripe/stripe-php/lib/Service/OAuthService.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         }
44 44
         $query = \Stripe\Util\Util::encodeParameters($params);
45 45
 
46
-        return $base . '/oauth/authorize?' . $query;
46
+        return $base.'/oauth/authorize?'.$query;
47 47
     }
48 48
 
49 49
     /**
@@ -144,7 +144,6 @@  discard block
 block discarded – undo
144 144
     private function _getBase($opts)
145 145
     {
146 146
         return isset($opts->apiBase) ?
147
-          $opts->apiBase :
148
-          $this->client->getConnectBase();
147
+          $opts->apiBase : $this->client->getConnectBase();
149 148
     }
150 149
 }
Please login to merge, or discard this patch.