Completed
Push — master ( 8cd561...ecf8e9 )
by Jim
03:41
created
src/Support/Arr.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
         $keys = (array) $keys;
135 135
 
136
-        if (! $array) {
136
+        if (!$array) {
137 137
             return false;
138 138
         }
139 139
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                 $part = array_shift($parts);
176 176
 
177 177
                 if (!static::exists($array, $part)) {
178
-                    return ;
178
+                    return;
179 179
                 }
180 180
 
181 181
                 if (is_array($array[$part])) {
Please login to merge, or discard this patch.
src/Support/Json.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $json = \json_encode($value, $options, $depth);
27 27
         if (JSON_ERROR_NONE !== json_last_error()) {
28 28
             throw new JsonParseException(
29
-                'json_encode error: ' . json_last_error_msg(),
29
+                'json_encode error: '.json_last_error_msg(),
30 30
                 json_last_error()
31 31
             );
32 32
         }
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $data = \json_decode($json, $assoc, $depth, $options);
51 51
         if (JSON_ERROR_NONE !== json_last_error()) {
52 52
             throw new JsonParseException(
53
-                'json_decode error: ' . json_last_error_msg(),
53
+                'json_decode error: '.json_last_error_msg(),
54 54
                 json_last_error()
55 55
             );
56 56
         }
Please login to merge, or discard this patch.
src/Foundation/ServiceProviders/LogServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        $pimple['logger'] = $pimple['log'] = function () {
28
+        $pimple['logger'] = $pimple['log'] = function() {
29 29
             $log = new Monolog('TimSDK');
30 30
 
31 31
             if (defined('PHPUNIT_RUNNING') || 'cli' === php_sapi_name()) {
Please login to merge, or discard this patch.
src/Foundation/ServiceProviders/ConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function register(Container $pimple)
25 25
     {
26
-        $pimple['config'] = $pimple[Config::class] = $pimple['config'] = function ($app) {
26
+        $pimple['config'] = $pimple[Config::class] = $pimple['config'] = function($app) {
27 27
             return new Config($app->getConfig());
28 28
         };
29 29
     }
Please login to merge, or discard this patch.
src/Foundation/ServiceProviders/HttpClientServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
      */
25 25
     public function register(Container $pimple)
26 26
     {
27
-        $pimple['httpClient'] = $pimple[Client::class] = function ($app) {
27
+        $pimple['httpClient'] = $pimple[Client::class] = function($app) {
28 28
             return new Client(array_merge($app['config']->get('http', []), [
29
-                'verify' => realpath($app['path.cert'] . '/cacert.pem')
29
+                'verify' => realpath($app['path.cert'].'/cacert.pem')
30 30
             ]));
31 31
         };
32 32
     }
Please login to merge, or discard this patch.
src/Foundation/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
         $config = new Config($this->getConfig());
155 155
 
156 156
         foreach (['sdkappid', 'account_type'] as $item) {
157
-            $config->has($item) && $config->set($item, substr($config->get($item), 0, 5) . '...');
157
+            $config->has($item) && $config->set($item, substr($config->get($item), 0, 5).'...');
158 158
         }
159 159
 
160 160
         Log::debug('Current config:', $config->toArray());
Please login to merge, or discard this patch.