Completed
Push — master ( b0b551...c7f6b8 )
by Jim
02:37
created
src/Core/ServiceProviders/ApiAliasServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register(Container $pimple)
26 26
     {
27
-        $pimple['apiAlias'] = function () {
27
+        $pimple['apiAlias'] = function() {
28 28
             return new ApiAlias();
29 29
         };
30 30
     }
Please login to merge, or discard this patch.
tests/TimCloudTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $t = $this->timCloud();
34 34
 
35
-        $this->assertTrue(file_exists($t['path.cert'] . '/cacert.pem'));
35
+        $this->assertTrue(file_exists($t['path.cert'].'/cacert.pem'));
36 36
     }
37 37
 
38 38
     public function testFormatKey()
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     public function testRequestApiSuccess()
186 186
     {
187 187
         $t = $this->timCloud();
188
-        $t->offsetSet('im', function () {
188
+        $t->offsetSet('im', function() {
189 189
             $m = Mockery::mock('im');
190 190
             $m->shouldReceive('handle')->withAnyArgs()->andReturn(new ResponseBag([
191 191
                 'ActionStatus' => 'OK',
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     public function testRequestApiError()
213 213
     {
214 214
         $t = $this->timCloud([
215
-            'im' => function () {
215
+            'im' => function() {
216 216
                 $m = Mockery::mock(IMCloud::class);
217 217
                 $return = new ResponseBag([
218 218
                     'ErrorCode' => 80002,
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
                 'cli_on' => false
254 254
             ]
255 255
         ], array_merge([
256
-            'TLSSig' => function () {
256
+            'TLSSig' => function() {
257 257
                 $m = Mockery::mock('TLSSig');
258 258
                 $m->shouldReceive('genSig')->withAnyArgs()->andReturn('test usersig');
259 259
                 return $m;
Please login to merge, or discard this patch.
tests/Container/ServiceContainerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $app = new ServiceContainer();
74 74
 
75 75
         $this->assertSame(PROJECT_ROOT, $app->basePath());
76
-        $this->assertSame(PROJECT_ROOT . DIRECTORY_SEPARATOR . 'Cert', $app->basePath('Cert'));
76
+        $this->assertSame(PROJECT_ROOT.DIRECTORY_SEPARATOR.'Cert', $app->basePath('Cert'));
77 77
     }
78 78
 
79 79
     /**
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 {
100 100
     public function register(Container $pimple)
101 101
     {
102
-        $pimple['foo'] = function () {
102
+        $pimple['foo'] = function() {
103 103
             return 'foo';
104 104
         };
105 105
     }
Please login to merge, or discard this patch.