Completed
Push — master ( 3cc06d...bb89f7 )
by Anton
14s queued 11s
created
tests/Framework/Encrypter/KeyCommandTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     public function testMountFileNotFound()
24 24
     {
25 25
         $out = $this->runCommand('encrypt:key', [
26
-            '-m' => __DIR__ . '/.env'
26
+            '-m' => __DIR__.'/.env'
27 27
         ]);
28 28
 
29 29
         $this->assertContains('Unable to find', $out);
@@ -31,18 +31,18 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function testReplace()
33 33
     {
34
-        file_put_contents(__DIR__ . '/.env', '{encrypt-key}');
34
+        file_put_contents(__DIR__.'/.env', '{encrypt-key}');
35 35
 
36 36
         $out = $this->runCommand('encrypt:key', [
37
-            '-m' => __DIR__ . '/.env'
37
+            '-m' => __DIR__.'/.env'
38 38
         ]);
39 39
 
40 40
         $this->assertContains('key has been updated', $out);
41 41
 
42
-        $body = file_get_contents(__DIR__ . '/.env');
42
+        $body = file_get_contents(__DIR__.'/.env');
43 43
         $this->assertContains($body, $out);
44 44
 
45
-        unlink(__DIR__ . '/.env');
45
+        unlink(__DIR__.'/.env');
46 46
     }
47 47
 
48 48
     public function testReplaceCurrent()
@@ -53,18 +53,18 @@  discard block
 block discarded – undo
53 53
             'ENCRYPTER_KEY' => $key
54 54
         ]);
55 55
 
56
-        file_put_contents(__DIR__ . '/.env', $key);
56
+        file_put_contents(__DIR__.'/.env', $key);
57 57
 
58 58
         $out = $app->console()->run('encrypt:key', [
59
-            '-m' => __DIR__ . '/.env'
59
+            '-m' => __DIR__.'/.env'
60 60
         ]);
61 61
         $out = $out->getOutput()->fetch();
62 62
 
63 63
         $this->assertContains('key has been updated', $out);
64 64
 
65
-        $body = file_get_contents(__DIR__ . '/.env');
65
+        $body = file_get_contents(__DIR__.'/.env');
66 66
         $this->assertContains($body, $out);
67 67
 
68
-        unlink(__DIR__ . '/.env');
68
+        unlink(__DIR__.'/.env');
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
tests/Framework/GRPC/DispatcherTest.php 2 patches
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@  discard block
 block discarded – undo
21 21
     public function setUp()
22 22
     {
23 23
         exec('protoc 2>&1', $out);
24
-        if (strpos(join("\n", $out), '--php_out') === false) {
24
+        if (strpos(join("\n", $out), '--php_out') === false){
25 25
             $this->markTestSkipped('Protoc binary is missing');
26 26
         }
27 27
 
28 28
         parent::setUp();
29 29
 
30 30
         $fs = new Files();
31
-        $proto = $fs->normalizePath($this->app->dir('app') . 'proto/service.proto');
31
+        $proto = $fs->normalizePath($this->app->dir('app').'proto/service.proto');
32 32
 
33 33
         // protoc can't figure relative paths
34 34
         $proto = str_replace('Framework/../', '', $proto);
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             'proto' => $proto
38 38
         ]);
39 39
 
40
-        file_put_contents($this->app->dir('app') . 'src/Service/EchoService.php', GenerateTest::SERVICE);
40
+        file_put_contents($this->app->dir('app').'src/Service/EchoService.php', GenerateTest::SERVICE);
41 41
     }
42 42
 
43 43
     public function tearDown()
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
 
47 47
         $fs = new Files();
48 48
 
49
-        if ($fs->isDirectory($this->app->dir('app') . 'src/Service')) {
50
-            $fs->deleteDirectory($this->app->dir('app') . 'src/Service');
49
+        if ($fs->isDirectory($this->app->dir('app').'src/Service')){
50
+            $fs->deleteDirectory($this->app->dir('app').'src/Service');
51 51
         }
52 52
 
53
-        if ($fs->isDirectory($this->app->dir('app') . 'src/GPBMetadata')) {
54
-            $fs->deleteDirectory($this->app->dir('app') . 'src/GPBMetadata');
53
+        if ($fs->isDirectory($this->app->dir('app').'src/GPBMetadata')){
54
+            $fs->deleteDirectory($this->app->dir('app').'src/GPBMetadata');
55 55
         }
56 56
     }
57 57
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         $msg->setMsg("hello");
78 78
 
79 79
         $w->shouldReceive('receive')->once()->with(
80
-            \Mockery::on(function (&$context) {
80
+            \Mockery::on(function (&$context){
81 81
                 $context = '{
82 82
                   "service": "service.Echo",
83 83
                   "method": "Ping"               
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         )->andReturn($msg->serializeToString());
89 89
 
90 90
         $w->shouldReceive('send')->once()->with(
91
-            \Mockery::on(function ($out) {
91
+            \Mockery::on(function ($out){
92 92
                 $msg = new Message();
93 93
                 $msg->mergeFromString($out);
94 94
                 $this->assertSame("hello", $msg->getMsg());
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
         // one command only
101 101
         $w->shouldReceive('receive')->once()->with(
102
-            \Mockery::on(function (&$context) {
102
+            \Mockery::on(function (&$context){
103 103
                 $context = null;
104 104
                 return true;
105 105
             })
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         $msg->setMsg("hello");
120 120
 
121 121
         $w->shouldReceive('receive')->once()->with(
122
-            \Mockery::on(function (&$context) {
122
+            \Mockery::on(function (&$context){
123 123
                 $context = '{
124 124
                   "service": "service.Echo",
125 125
                   "method": "Invalid"               
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         )->andReturn($msg->serializeToString());
131 131
 
132 132
         $w->shouldReceive('error')->once()->with(
133
-            \Mockery::on(function ($out) {
133
+            \Mockery::on(function ($out){
134 134
                 $this->assertContains('Method `Invalid` not found', $out);
135 135
                 return true;
136 136
             })
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
         // one command only
140 140
         $w->shouldReceive('receive')->once()->with(
141
-            \Mockery::on(function (&$context) {
141
+            \Mockery::on(function (&$context){
142 142
                 $context = null;
143 143
                 return true;
144 144
             })
Please login to merge, or discard this patch.
Braces   +18 added lines, -9 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@  discard block
 block discarded – undo
21 21
     public function setUp()
22 22
     {
23 23
         exec('protoc 2>&1', $out);
24
-        if (strpos(join("\n", $out), '--php_out') === false) {
24
+        if (strpos(join("\n", $out), '--php_out') === false)
25
+        {
25 26
             $this->markTestSkipped('Protoc binary is missing');
26 27
         }
27 28
 
@@ -46,11 +47,13 @@  discard block
 block discarded – undo
46 47
 
47 48
         $fs = new Files();
48 49
 
49
-        if ($fs->isDirectory($this->app->dir('app') . 'src/Service')) {
50
+        if ($fs->isDirectory($this->app->dir('app') . 'src/Service'))
51
+        {
50 52
             $fs->deleteDirectory($this->app->dir('app') . 'src/Service');
51 53
         }
52 54
 
53
-        if ($fs->isDirectory($this->app->dir('app') . 'src/GPBMetadata')) {
55
+        if ($fs->isDirectory($this->app->dir('app') . 'src/GPBMetadata'))
56
+        {
54 57
             $fs->deleteDirectory($this->app->dir('app') . 'src/GPBMetadata');
55 58
         }
56 59
     }
@@ -77,7 +80,8 @@  discard block
 block discarded – undo
77 80
         $msg->setMsg("hello");
78 81
 
79 82
         $w->shouldReceive('receive')->once()->with(
80
-            \Mockery::on(function (&$context) {
83
+            \Mockery::on(function (&$context)
84
+            {
81 85
                 $context = '{
82 86
                   "service": "service.Echo",
83 87
                   "method": "Ping"               
@@ -88,7 +92,8 @@  discard block
 block discarded – undo
88 92
         )->andReturn($msg->serializeToString());
89 93
 
90 94
         $w->shouldReceive('send')->once()->with(
91
-            \Mockery::on(function ($out) {
95
+            \Mockery::on(function ($out)
96
+            {
92 97
                 $msg = new Message();
93 98
                 $msg->mergeFromString($out);
94 99
                 $this->assertSame("hello", $msg->getMsg());
@@ -99,7 +104,8 @@  discard block
 block discarded – undo
99 104
 
100 105
         // one command only
101 106
         $w->shouldReceive('receive')->once()->with(
102
-            \Mockery::on(function (&$context) {
107
+            \Mockery::on(function (&$context)
108
+            {
103 109
                 $context = null;
104 110
                 return true;
105 111
             })
@@ -119,7 +125,8 @@  discard block
 block discarded – undo
119 125
         $msg->setMsg("hello");
120 126
 
121 127
         $w->shouldReceive('receive')->once()->with(
122
-            \Mockery::on(function (&$context) {
128
+            \Mockery::on(function (&$context)
129
+            {
123 130
                 $context = '{
124 131
                   "service": "service.Echo",
125 132
                   "method": "Invalid"               
@@ -130,7 +137,8 @@  discard block
 block discarded – undo
130 137
         )->andReturn($msg->serializeToString());
131 138
 
132 139
         $w->shouldReceive('error')->once()->with(
133
-            \Mockery::on(function ($out) {
140
+            \Mockery::on(function ($out)
141
+            {
134 142
                 $this->assertContains('Method `Invalid` not found', $out);
135 143
                 return true;
136 144
             })
@@ -138,7 +146,8 @@  discard block
 block discarded – undo
138 146
 
139 147
         // one command only
140 148
         $w->shouldReceive('receive')->once()->with(
141
-            \Mockery::on(function (&$context) {
149
+            \Mockery::on(function (&$context)
150
+            {
142 151
                 $context = null;
143 152
                 return true;
144 153
             })
Please login to merge, or discard this patch.
tests/Framework/GRPC/GenerateTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@  discard block
 block discarded – undo
33 33
     public function setUp()
34 34
     {
35 35
         exec('protoc 2>&1', $out);
36
-        if (strpos(join("\n", $out), '--php_out') === false) {
36
+        if (strpos(join("\n", $out), '--php_out') === false){
37 37
             $this->markTestSkipped('Protoc binary is missing');
38 38
         }
39 39
 
40 40
         parent::setUp();
41 41
 
42 42
         $fs = new Files();
43
-        $this->proto = $fs->normalizePath($this->app->dir('app') . 'proto/service.proto');
43
+        $this->proto = $fs->normalizePath($this->app->dir('app').'proto/service.proto');
44 44
 
45 45
         // protoc can't figure relative paths
46 46
         $this->proto = str_replace('Framework/../', '', $this->proto);
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
 
53 53
         $fs = new Files();
54 54
 
55
-        if ($fs->isDirectory($this->app->dir('app') . 'src/Service')) {
56
-            $fs->deleteDirectory($this->app->dir('app') . 'src/Service');
55
+        if ($fs->isDirectory($this->app->dir('app').'src/Service')){
56
+            $fs->deleteDirectory($this->app->dir('app').'src/Service');
57 57
         }
58 58
 
59
-        if ($fs->isDirectory($this->app->dir('app') . 'src/GPBMetadata')) {
60
-            $fs->deleteDirectory($this->app->dir('app') . 'src/GPBMetadata');
59
+        if ($fs->isDirectory($this->app->dir('app').'src/GPBMetadata')){
60
+            $fs->deleteDirectory($this->app->dir('app').'src/GPBMetadata');
61 61
         }
62 62
     }
63 63
 
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
             'proto' => $this->proto
86 86
         ]);
87 87
 
88
-        $this->assertFileExists($this->app->dir('app') . 'src/Service/EchoInterface.php');
89
-        $this->assertFileExists($this->app->dir('app') . 'src/Service/Sub/Message.php');
90
-        $this->assertFileExists($this->app->dir('app') . 'src/GPBMetadata/Service.php');
88
+        $this->assertFileExists($this->app->dir('app').'src/Service/EchoInterface.php');
89
+        $this->assertFileExists($this->app->dir('app').'src/Service/Sub/Message.php');
90
+        $this->assertFileExists($this->app->dir('app').'src/GPBMetadata/Service.php');
91 91
     }
92 92
 }
Please login to merge, or discard this patch.
tests/Framework/BaseTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
17 17
     public function makeApp(array $env = []): TestApp
18 18
     {
19 19
         return TestApp::init([
20
-            'root'    => __DIR__ . '/../..',
21
-            'app'     => __DIR__ . '/../app',
22
-            'runtime' => sys_get_temp_dir() . '/spiral',
23
-            'cache'   => sys_get_temp_dir() . '/spiral',
20
+            'root'    => __DIR__.'/../..',
21
+            'app'     => __DIR__.'/../app',
22
+            'runtime' => sys_get_temp_dir().'/spiral',
23
+            'cache'   => sys_get_temp_dir().'/spiral',
24 24
         ], new Environment($env), false);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
tests/Framework/Module/PublishTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,12 +14,12 @@  discard block
 block discarded – undo
14 14
 
15 15
 class PublishTest extends ConsoleTest
16 16
 {
17
-    protected const TEST_FILE   = __DIR__ . '/test.txt';
18
-    protected const TEST_FILE_2 = __DIR__ . '/PublishTest.php';
17
+    protected const TEST_FILE   = __DIR__.'/test.txt';
18
+    protected const TEST_FILE_2 = __DIR__.'/PublishTest.php';
19 19
 
20 20
     public function tearDown()
21 21
     {
22
-        if (file_exists(self::TEST_FILE)) {
22
+        if (file_exists(self::TEST_FILE)){
23 23
             unlink(self::TEST_FILE);
24 24
         }
25 25
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         $this->runCommandDebug('publish', [
176 176
             'type'   => 'replace',
177 177
             'target' => '@runtime',
178
-            'source' => __DIR__ . '/*',
178
+            'source' => __DIR__.'/*',
179 179
             'mode'   => 'runtime'
180 180
         ]);
181 181
 
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         $this->runCommandDebug('publish', [
194 194
             'type'   => 'follow',
195 195
             'target' => '@runtime',
196
-            'source' => __DIR__ . '/*',
196
+            'source' => __DIR__.'/*',
197 197
             'mode'   => 'runtime'
198 198
         ]);
199 199
 
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $this->runCommandDebug('publish', [
212 212
             'type'   => 'follow',
213 213
             'target' => '@runtime/test.txt',
214
-            'source' => self::TEST_FILE . 'invalid',
214
+            'source' => self::TEST_FILE.'invalid',
215 215
             'mode'   => 'runtime'
216 216
         ]);
217 217
     }
@@ -226,13 +226,13 @@  discard block
 block discarded – undo
226 226
         $this->runCommandDebug('publish', [
227 227
             'type'   => 'follow',
228 228
             'target' => '@runtime/test.txt',
229
-            'source' => self::TEST_FILE . 'invalid/*',
229
+            'source' => self::TEST_FILE.'invalid/*',
230 230
             'mode'   => 'runtime'
231 231
         ]);
232 232
     }
233 233
 
234 234
     protected function file(string $dir, string $name)
235 235
     {
236
-        return $this->app->get(DirectoriesInterface::class)->get($dir) . $name;
236
+        return $this->app->get(DirectoriesInterface::class)->get($dir).$name;
237 237
     }
238 238
 }
Please login to merge, or discard this patch.
tests/Framework/I18n/ExportTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 {
16 16
     public function testReset()
17 17
     {
18
-        $this->assertFileNotExists(__DIR__ . '/messages.ru.php');
18
+        $this->assertFileNotExists(__DIR__.'/messages.ru.php');
19 19
 
20 20
         $this->runCommandDebug('i18n:index');
21 21
         $this->runCommandDebug('configure');
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
             '--fallback' => 'en',
26 26
         ]);
27 27
 
28
-        $this->assertFileExists(__DIR__ . '/messages.ru.php');
28
+        $this->assertFileExists(__DIR__.'/messages.ru.php');
29 29
 
30
-        $exp = (require __DIR__ . '/messages.ru.php');
30
+        $exp = (require __DIR__.'/messages.ru.php');
31 31
 
32 32
         $this->assertArrayHasKey('World', $exp);
33 33
         $this->assertSame('Мир', $exp['World']);
@@ -35,6 +35,6 @@  discard block
 block discarded – undo
35 35
         $this->assertArrayHasKey('%s unit|%s units', $exp);
36 36
         $this->assertArrayHasKey('This value is required.', $exp);
37 37
 
38
-        unlink(__DIR__ . '/messages.ru.php');
38
+        unlink(__DIR__.'/messages.ru.php');
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
tests/Framework/Http/RrTest.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function setUp()
22 22
     {
23 23
         parent::setUp();
24
-        ini_set('error_log', __DIR__ . '/err.log');
24
+        ini_set('error_log', __DIR__.'/err.log');
25 25
     }
26 26
 
27 27
     public function tearDown()
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
         parent::tearDown();
30 30
         ini_set('error_log', 'stderr');
31 31
 
32
-        if (file_exists(__DIR__ . '/err.log')) {
33
-            unlink(__DIR__ . '/err.log');
32
+        if (file_exists(__DIR__.'/err.log')){
33
+            unlink(__DIR__.'/err.log');
34 34
         }
35 35
     }
36 36
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         );
57 57
 
58 58
         $psr->shouldReceive('respond')->once()->with(
59
-            \Mockery::on(function ($r) {
59
+            \Mockery::on(function ($r){
60 60
                 $this->assertSame('Hello, dave.', (string)$r->getBody());
61 61
                 return true;
62 62
             })
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         );
79 79
 
80 80
         $psr->shouldReceive('respond')->once()->with(
81
-            \Mockery::on(function ($r) {
81
+            \Mockery::on(function ($r){
82 82
                 $this->assertContains('500', (string)$r->getBody());
83 83
                 return true;
84 84
             })
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $psr->shouldReceive('acceptRequest')->once()->andReturn(null);
88 88
 
89 89
         $files = $this->app->get(FilesInterface::class)->getFiles(
90
-            $this->app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
90
+            $this->app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
91 91
         );
92 92
 
93 93
         $this->assertCount(0, $files);
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $this->app->get(RrDispacher::class)->serve($psr);
96 96
 
97 97
         $files = $this->app->get(FilesInterface::class)->getFiles(
98
-            $this->app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
98
+            $this->app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
99 99
         );
100 100
 
101 101
         $this->assertCount(1, $files);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         );
117 117
 
118 118
         $psr->shouldReceive('respond')->once()->with(
119
-            \Mockery::on(function ($r) {
119
+            \Mockery::on(function ($r){
120 120
                 $this->assertContains('undefined', (string)$r->getBody());
121 121
                 return true;
122 122
             })
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         $psr->shouldReceive('acceptRequest')->once()->andReturn(null);
126 126
 
127 127
         $files = $this->app->get(FilesInterface::class)->getFiles(
128
-            $this->app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
128
+            $this->app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
129 129
         );
130 130
 
131 131
         $this->assertCount(0, $files);
@@ -133,11 +133,11 @@  discard block
 block discarded – undo
133 133
         $this->app->get(RrDispacher::class)->serve($psr);
134 134
 
135 135
         $files = $this->app->get(FilesInterface::class)->getFiles(
136
-            $this->app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
136
+            $this->app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
137 137
         );
138 138
 
139 139
         $this->assertCount(1, $files);
140 140
 
141
-        $this->assertContains('undefined', file_get_contents(__DIR__ . '/err.log'));
141
+        $this->assertContains('undefined', file_get_contents(__DIR__.'/err.log'));
142 142
     }
143 143
 }
Please login to merge, or discard this patch.
tests/Framework/Cycle/MigrateTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,13 +50,13 @@
 block discarded – undo
50 50
         $output = $this->runCommandDebug('cycle:migrate', ['-r' => true]);
51 51
         $this->assertContains('default.users', $output);
52 52
 
53
-        $user = file_get_contents(__DIR__ . '/../../app/src/User/User.php');
54
-        unlink(__DIR__ . '/../../app/src/User/User.php');
55
-        try {
53
+        $user = file_get_contents(__DIR__.'/../../app/src/User/User.php');
54
+        unlink(__DIR__.'/../../app/src/User/User.php');
55
+        try{
56 56
             $output = $this->runCommandDebug('cycle:migrate', ['-r' => true]);
57 57
             $this->assertContains('drop foreign key', $output);
58
-        } finally {
59
-            file_put_contents(__DIR__ . '/../../app/src/User/User.php', $user);
58
+        }finally{
59
+            file_put_contents(__DIR__.'/../../app/src/User/User.php', $user);
60 60
         }
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
tests/Framework/Http/SapiTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $e = $this->bufferEmitter;
58 58
 
59 59
         $files = $this->app->get(FilesInterface::class)->getFiles(
60
-            $this->app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
60
+            $this->app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
61 61
         );
62 62
 
63 63
         $this->assertCount(0, $files);
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $this->app->get(SapiDispatcher::class)->serve($e);
67 67
 
68 68
         $files = $this->app->get(FilesInterface::class)->getFiles(
69
-            $this->app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
69
+            $this->app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
70 70
         );
71 71
 
72 72
         $this->assertCount(1, $files);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         ]);
84 84
 
85 85
         $files = $app->get(FilesInterface::class)->getFiles(
86
-            $app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
86
+            $app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
87 87
         );
88 88
 
89 89
         $this->assertCount(0, $files);
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $app->get(SapiDispatcher::class)->serve($e);
93 93
 
94 94
         $files = $app->get(FilesInterface::class)->getFiles(
95
-            $app->get(DirectoriesInterface::class)->get('runtime') . '/snapshots/'
95
+            $app->get(DirectoriesInterface::class)->get('runtime').'/snapshots/'
96 96
         );
97 97
 
98 98
         $this->assertCount(1, $files);
Please login to merge, or discard this patch.