GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 6a4027...27188e )
by Anton
02:54
created
tests/src/FunctionsTest.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     public function testTask()
72 72
     {
73
-        task('task', function () {});
73
+        task('task', function() {});
74 74
 
75 75
         $task = $this->deployer->tasks->get('task');
76 76
         self::assertInstanceOf(Task::class, $task);
@@ -85,10 +85,10 @@  discard block
 block discarded – undo
85 85
 
86 86
     public function testBefore()
87 87
     {
88
-        task('main', function () {});
89
-        task('before', function () {});
88
+        task('main', function() {});
89
+        task('before', function() {});
90 90
         before('main', 'before');
91
-        before('before', function () {});
91
+        before('before', function() {});
92 92
 
93 93
         $names = $this->taskToNames($this->deployer->scriptManager->getTasks('main'));
94 94
         self::assertEquals(['before:before', 'before', 'main'], $names);
@@ -96,10 +96,10 @@  discard block
 block discarded – undo
96 96
 
97 97
     public function testAfter()
98 98
     {
99
-        task('main', function () {});
100
-        task('after', function () {});
99
+        task('main', function() {});
100
+        task('after', function() {});
101 101
         after('main', 'after');
102
-        after('after', function () {});
102
+        after('after', function() {});
103 103
 
104 104
         $names = $this->taskToNames($this->deployer->scriptManager->getTasks('main'));
105 105
         self::assertEquals(['main', 'after', 'after:after'], $names);
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     {
131 131
         Context::get()->getConfig()->set('working_path', '/foo');
132 132
 
133
-        within('/bar', function () {
133
+        within('/bar', function() {
134 134
             $withinWorkingPath = Context::get()->getConfig()->get('working_path');
135 135
             self::assertEquals('/bar', $withinWorkingPath);
136 136
         });
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         Context::get()->getConfig()->set('working_path', '/foo');
145 145
 
146 146
         try {
147
-            within('/bar', function () {
147
+            within('/bar', function() {
148 148
                 throw new \Exception('Dummy exception');
149 149
             });
150 150
         } catch (\Exception $exception) {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
     public function testWithinReturningValue()
159 159
     {
160
-        $output = within('/foo', function () {
160
+        $output = within('/foo', function() {
161 161
             return 'bar';
162 162
         });
163 163
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
     public function testWithinWithVoidFunction()
168 168
     {
169
-        $output = within('/foo', function () {
169
+        $output = within('/foo', function() {
170 170
             // noop
171 171
         });
172 172
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 
176 176
     private function taskToNames($tasks)
177 177
     {
178
-        return array_map(function (Task $task) {
178
+        return array_map(function(Task $task) {
179 179
             return $task->getName();
180 180
         }, $tasks);
181 181
     }
Please login to merge, or discard this patch.
tests/src/Component/Pimple/PimpleTest.php 1 patch
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function testWithClosure()
33 33
     {
34 34
         $pimple = new Container();
35
-        $pimple['service'] = function () {
35
+        $pimple['service'] = function() {
36 36
             return new Service();
37 37
         };
38 38
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function testServicesShouldBeDifferent()
43 43
     {
44 44
         $pimple = new Container();
45
-        $pimple['service'] = $pimple->factory(function () {
45
+        $pimple['service'] = $pimple->factory(function() {
46 46
             return new Service();
47 47
         });
48 48
 
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
     public function testShouldPassContainerAsParameter()
59 59
     {
60 60
         $pimple = new Container();
61
-        $pimple['service'] = function () {
61
+        $pimple['service'] = function() {
62 62
             return new Service();
63 63
         };
64
-        $pimple['container'] = function ($container) {
64
+        $pimple['container'] = function($container) {
65 65
             return $container;
66 66
         };
67 67
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         $pimple = new Container();
75 75
         $pimple['param'] = 'value';
76
-        $pimple['service'] = function () {
76
+        $pimple['service'] = function() {
77 77
             return new Service();
78 78
         };
79 79
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $pimple = new Container();
127 127
         $pimple['param'] = 'value';
128
-        $pimple['service'] = function () {
128
+        $pimple['service'] = function() {
129 129
             return new Service();
130 130
         };
131 131
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     public function testRaw()
173 173
     {
174 174
         $pimple = new Container();
175
-        $pimple['service'] = $definition = $pimple->factory(function () {
175
+        $pimple['service'] = $definition = $pimple->factory(function() {
176 176
             return 'foo';
177 177
         });
178 178
         $this->assertSame($definition, $pimple->raw('service'));
@@ -212,10 +212,10 @@  discard block
 block discarded – undo
212 212
     public function testExtend($service)
213 213
     {
214 214
         $pimple = new Container();
215
-        $pimple['shared_service'] = function () {
215
+        $pimple['shared_service'] = function() {
216 216
             return new Service();
217 217
         };
218
-        $pimple['factory_service'] = $pimple->factory(function () {
218
+        $pimple['factory_service'] = $pimple->factory(function() {
219 219
             return new Service();
220 220
         });
221 221
 
@@ -243,10 +243,10 @@  discard block
 block discarded – undo
243 243
         }
244 244
         $pimple = new Container();
245 245
 
246
-        $pimple['foo'] = $pimple->factory(function () {
246
+        $pimple['foo'] = $pimple->factory(function() {
247 247
             return;
248 248
         });
249
-        $pimple['foo'] = $pimple->extend('foo', function ($foo, $pimple) {
249
+        $pimple['foo'] = $pimple->extend('foo', function($foo, $pimple) {
250 250
             return;
251 251
         });
252 252
         unset($pimple['foo']);
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
         $this->expectExceptionMessage('Identifier "foo" is not defined.');
267 267
 
268 268
         $pimple = new Container();
269
-        $pimple->extend('foo', function () {});
269
+        $pimple->extend('foo', function() {});
270 270
     }
271 271
 
272 272
     /**
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         $this->expectExceptionMessage('Identifier "foo" is not defined.');
279 279
 
280 280
         $pimple = new Container();
281
-        $pimple->extend('foo', function () {});
281
+        $pimple->extend('foo', function() {});
282 282
     }
283 283
 
284 284
     public function testKeys()
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
 
361 361
         $pimple = new Container();
362 362
         $pimple['foo'] = $service;
363
-        $pimple->extend('foo', function () {});
363
+        $pimple->extend('foo', function() {});
364 364
     }
365 365
 
366 366
     /**
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
 
375 375
         $pimple = new Container();
376 376
         $pimple['foo'] = $service;
377
-        $pimple->extend('foo', function () {});
377
+        $pimple->extend('foo', function() {});
378 378
     }
379 379
 
380 380
     /**
@@ -384,11 +384,11 @@  discard block
 block discarded – undo
384 384
     public function testExtendingProtectedClosureDeprecation()
385 385
     {
386 386
         $pimple = new Container();
387
-        $pimple['foo'] = $pimple->protect(function () {
387
+        $pimple['foo'] = $pimple->protect(function() {
388 388
             return 'bar';
389 389
         });
390 390
 
391
-        $pimple->extend('foo', function ($value) {
391
+        $pimple->extend('foo', function($value) {
392 392
             return $value . '-baz';
393 393
         });
394 394
 
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
     {
403 403
         $this->expectException(\TypeError::class);
404 404
         $pimple = new Container();
405
-        $pimple['foo'] = function () {};
405
+        $pimple['foo'] = function() {};
406 406
         $pimple->extend('foo', $service);
407 407
     }
408 408
 
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
     {
415 415
         $this->expectException(\TypeError::class);
416 416
         $pimple = new Container();
417
-        $pimple['foo'] = function () {};
417
+        $pimple['foo'] = function() {};
418 418
         $pimple->extend('foo', $service);
419 419
     }
420 420
 
@@ -424,12 +424,12 @@  discard block
 block discarded – undo
424 424
         $this->expectExceptionMessage('Cannot override frozen service "foo".');
425 425
 
426 426
         $pimple = new Container();
427
-        $pimple['foo'] = function () {
427
+        $pimple['foo'] = function() {
428 428
             return new NonInvokable();
429 429
         };
430 430
         $foo = $pimple['foo'];
431 431
 
432
-        $pimple->extend('foo', function () {});
432
+        $pimple->extend('foo', function() {});
433 433
     }
434 434
 
435 435
     public function testExtendFailsIfFrozenServiceIsInvokable()
@@ -438,12 +438,12 @@  discard block
 block discarded – undo
438 438
         $this->expectExceptionMessage('Cannot override frozen service "foo".');
439 439
 
440 440
         $pimple = new Container();
441
-        $pimple['foo'] = function () {
441
+        $pimple['foo'] = function() {
442 442
             return new Invokable();
443 443
         };
444 444
         $foo = $pimple['foo'];
445 445
 
446
-        $pimple->extend('foo', function () {});
446
+        $pimple->extend('foo', function() {});
447 447
     }
448 448
 
449 449
     /**
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
     public static function serviceDefinitionProvider()
464 464
     {
465 465
         return [
466
-            [function ($value) {
466
+            [function($value) {
467 467
                 $service = new Service();
468 468
                 $service->value = $value;
469 469
 
@@ -476,12 +476,12 @@  discard block
 block discarded – undo
476 476
     public function testDefiningNewServiceAfterFreeze()
477 477
     {
478 478
         $pimple = new Container();
479
-        $pimple['foo'] = function () {
479
+        $pimple['foo'] = function() {
480 480
             return 'foo';
481 481
         };
482 482
         $foo = $pimple['foo'];
483 483
 
484
-        $pimple['bar'] = function () {
484
+        $pimple['bar'] = function() {
485 485
             return 'bar';
486 486
         };
487 487
         $this->assertSame('bar', $pimple['bar']);
@@ -493,12 +493,12 @@  discard block
 block discarded – undo
493 493
         $this->expectExceptionMessage('Cannot override frozen service "foo".');
494 494
 
495 495
         $pimple = new Container();
496
-        $pimple['foo'] = function () {
496
+        $pimple['foo'] = function() {
497 497
             return 'foo';
498 498
         };
499 499
         $foo = $pimple['foo'];
500 500
 
501
-        $pimple['foo'] = function () {
501
+        $pimple['foo'] = function() {
502 502
             return 'bar';
503 503
         };
504 504
     }
@@ -512,12 +512,12 @@  discard block
 block discarded – undo
512 512
         $this->expectExceptionMessage('Cannot override frozen service "foo".');
513 513
 
514 514
         $pimple = new Container();
515
-        $pimple['foo'] = function () {
515
+        $pimple['foo'] = function() {
516 516
             return 'foo';
517 517
         };
518 518
         $foo = $pimple['foo'];
519 519
 
520
-        $pimple['foo'] = function () {
520
+        $pimple['foo'] = function() {
521 521
             return 'bar';
522 522
         };
523 523
     }
@@ -525,13 +525,13 @@  discard block
 block discarded – undo
525 525
     public function testRemovingServiceAfterFreeze()
526 526
     {
527 527
         $pimple = new Container();
528
-        $pimple['foo'] = function () {
528
+        $pimple['foo'] = function() {
529 529
             return 'foo';
530 530
         };
531 531
         $foo = $pimple['foo'];
532 532
 
533 533
         unset($pimple['foo']);
534
-        $pimple['foo'] = function () {
534
+        $pimple['foo'] = function() {
535 535
             return 'bar';
536 536
         };
537 537
         $this->assertSame('bar', $pimple['foo']);
@@ -540,13 +540,13 @@  discard block
 block discarded – undo
540 540
     public function testExtendingService()
541 541
     {
542 542
         $pimple = new Container();
543
-        $pimple['foo'] = function () {
543
+        $pimple['foo'] = function() {
544 544
             return 'foo';
545 545
         };
546
-        $pimple['foo'] = $pimple->extend('foo', function ($foo, $app) {
546
+        $pimple['foo'] = $pimple->extend('foo', function($foo, $app) {
547 547
             return "$foo.bar";
548 548
         });
549
-        $pimple['foo'] = $pimple->extend('foo', function ($foo, $app) {
549
+        $pimple['foo'] = $pimple->extend('foo', function($foo, $app) {
550 550
             return "$foo.baz";
551 551
         });
552 552
         $this->assertSame('foo.bar.baz', $pimple['foo']);
@@ -555,15 +555,15 @@  discard block
 block discarded – undo
555 555
     public function testExtendingServiceAfterOtherServiceFreeze()
556 556
     {
557 557
         $pimple = new Container();
558
-        $pimple['foo'] = function () {
558
+        $pimple['foo'] = function() {
559 559
             return 'foo';
560 560
         };
561
-        $pimple['bar'] = function () {
561
+        $pimple['bar'] = function() {
562 562
             return 'bar';
563 563
         };
564 564
         $foo = $pimple['foo'];
565 565
 
566
-        $pimple['bar'] = $pimple->extend('bar', function ($bar, $app) {
566
+        $pimple['bar'] = $pimple->extend('bar', function($bar, $app) {
567 567
             return "$bar.baz";
568 568
         });
569 569
         $this->assertSame('bar.baz', $pimple['bar']);
Please login to merge, or discard this patch.
tests/legacy/recipe/deploy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 ]);
28 28
 
29 29
 // Mock vendors installation to speed up tests.
30
-task('deploy:vendors', function () {
30
+task('deploy:vendors', function() {
31 31
     if (!commandExist('unzip')) {
32 32
         warning('To speed up composer installation setup "unzip" command with PHP zip extension.');
33 33
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     'deploy:publish',
41 41
 ]);
42 42
 
43
-task('fail', function () {
43
+task('fail', function() {
44 44
     run('false');
45 45
 });
46 46
 
Please login to merge, or discard this patch.
tests/legacy/recipe/parallel.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@  discard block
 block discarded – undo
4 4
 
5 5
 localhost('prod');
6 6
 localhost('beta')
7
-    ->set('host_level_callback_config', function () {
7
+    ->set('host_level_callback_config', function() {
8 8
         return 'from callback';
9 9
     });
10 10
 
11 11
 // testServer:
12 12
 
13
-task('ask', function () {
13
+task('ask', function() {
14 14
     $answer = ask('Question: What kind of bear is best?');
15 15
     writeln($answer);
16 16
 });
@@ -19,23 +19,23 @@  discard block
 block discarded – undo
19 19
 
20 20
 set('greet', '_');
21 21
 
22
-task('echo', function () {
22
+task('echo', function() {
23 23
     $alias = currentHost()->getAlias();
24 24
     run("echo {{greet}}, $alias!");
25 25
 });
26 26
 
27 27
 // testCachedHostConfig:
28 28
 
29
-set('upper_host', function () {
29
+set('upper_host', function() {
30 30
     writeln('running ' . (Deployer::isWorker() ? 'worker' : 'master') . ' on ' . currentHost()->getAlias());
31 31
     return strtoupper(currentHost()->getAlias());
32 32
 });
33 33
 
34
-task('cache_config_test', function () {
34
+task('cache_config_test', function() {
35 35
     writeln('echo 1: {{upper_host}}');
36 36
 });
37 37
 
38
-after('cache_config_test', function () {
38
+after('cache_config_test', function() {
39 39
     writeln('echo 2: {{upper_host}}');
40 40
 });
41 41
 
@@ -43,6 +43,6 @@  discard block
 block discarded – undo
43 43
 
44 44
 set('host_level_callback_config', 'from global');
45 45
 
46
-task('host_config_from_callback', function () {
46
+task('host_config_from_callback', function() {
47 47
     writeln('config value is {{host_level_callback_config}}');
48 48
 });
Please login to merge, or discard this patch.
contrib/rsync.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 set('rsync_src', __DIR__);
137 137
 set('rsync_dest', '{{release_path}}');
138 138
 
139
-set('rsync_excludes', function () {
139
+set('rsync_excludes', function() {
140 140
     $config = get('rsync');
141 141
     $excludes = $config['exclude'];
142 142
     $excludeFile = $config['exclude-file'];
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     return $excludesRsync;
152 152
 });
153 153
 
154
-set('rsync_includes', function () {
154
+set('rsync_includes', function() {
155 155
     $config = get('rsync');
156 156
     $includes = $config['include'];
157 157
     $includeFile = $config['include-file'];
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     return $includesRsync;
167 167
 });
168 168
 
169
-set('rsync_filter', function () {
169
+set('rsync_filter', function() {
170 170
     $config = get('rsync');
171 171
     $filters = $config['filter'];
172 172
     $filterFile = $config['filter-file'];
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     return $filtersRsync;
185 185
 });
186 186
 
187
-set('rsync_options', function () {
187
+set('rsync_options', function() {
188 188
     $config = get('rsync');
189 189
     $options = $config['options'];
190 190
     $optionsRsync = [];
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 
197 197
 
198 198
 desc('Warmups remote Rsync target');
199
-task('rsync:warmup', function () {
199
+task('rsync:warmup', function() {
200 200
     $config = get('rsync');
201 201
 
202 202
     $source = "{{current_path}}";
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
 
213 213
 desc('Rsync local->remote');
214
-task('rsync', function () {
214
+task('rsync', function() {
215 215
     $config = get('rsync');
216 216
 
217 217
     $src = get('rsync_src');
Please login to merge, or discard this patch.
contrib/supervisord-monitor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     return $stopResponseInfo['http_code'] === 200;
132 132
 }
133 133
 
134
-task('supervisord-monitor:restart', function () {
134
+task('supervisord-monitor:restart', function() {
135 135
     if (supervisordIsAuthenticated()) {
136 136
         $names = explode(',', get('supervisord_process_name'));
137 137
         foreach ($names as $name) {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     }
149 149
 });
150 150
 
151
-task('supervisord-monitor:stop', function () {
151
+task('supervisord-monitor:stop', function() {
152 152
     if (supervisordIsAuthenticated()) {
153 153
         $names = explode(',', get('supervisord_process_name'));
154 154
         foreach ($names as $name) {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     }
163 163
 });
164 164
 
165
-task('supervisord-monitor:start', function () {
165
+task('supervisord-monitor:start', function() {
166 166
     if (supervisordIsAuthenticated()) {
167 167
         $names = explode(',', get('supervisord_process_name'));
168 168
         foreach ($names as $name) {
Please login to merge, or discard this patch.
contrib/rabbit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 use PhpAmqpLib\Message\AMQPMessage;
56 56
 
57 57
 desc('Notifies RabbitMQ channel about deployment');
58
-task('deploy:rabbit', function () {
58
+task('deploy:rabbit', function() {
59 59
 
60 60
     if (!class_exists('PhpAmqpLib\Connection\AMQPConnection')) {
61 61
         throw new \RuntimeException("<comment>Please install php package</comment> <info>videlalvaro/php-amqplib</info> <comment>to use rabbitmq</comment>");
Please login to merge, or discard this patch.
contrib/telegram.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
 
143 143
     $httpie->send();
144 144
 })
145
-  ->once()
146
-  ->hidden();
145
+    ->once()
146
+    ->hidden();
147 147
 
148 148
 desc('Notifies Telegram about deploy failure');
149 149
 task('telegram:notify:failure', function () {
@@ -173,5 +173,5 @@  discard block
 block discarded – undo
173 173
 
174 174
     $httpie->send();
175 175
 })
176
-  ->once()
177
-  ->hidden();
176
+    ->once()
177
+    ->hidden();
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -62,18 +62,18 @@  discard block
 block discarded – undo
62 62
 use Deployer\Utility\Httpie;
63 63
 
64 64
 // Title of project
65
-set('telegram_title', function () {
65
+set('telegram_title', function() {
66 66
     return get('application', 'Project');
67 67
 });
68 68
 
69 69
 // Telegram settings
70
-set('telegram_token', function () {
70
+set('telegram_token', function() {
71 71
     throw new \Exception('Please, configure "telegram_token" parameter.');
72 72
 });
73
-set('telegram_chat_id', function () {
73
+set('telegram_chat_id', function() {
74 74
     throw new \Exception('Please, configure "telegram_chat_id" parameter.');
75 75
 });
76
-set('telegram_url', function () {
76
+set('telegram_url', function() {
77 77
     return 'https://api.telegram.org/bot' . get('telegram_token') . '/sendmessage';
78 78
 });
79 79
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 
86 86
 desc('Notifies Telegram');
87
-task('telegram:notify', function () {
87
+task('telegram:notify', function() {
88 88
     if (!get('telegram_token', false)) {
89 89
         warning('No Telegram token configured');
90 90
         return;
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     ->hidden();
116 116
 
117 117
 desc('Notifies Telegram about deploy finish');
118
-task('telegram:notify:success', function () {
118
+task('telegram:notify:success', function() {
119 119
     if (!get('telegram_token', false)) {
120 120
         warning('No Telegram token configured');
121 121
         return;
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
   ->hidden();
147 147
 
148 148
 desc('Notifies Telegram about deploy failure');
149
-task('telegram:notify:failure', function () {
149
+task('telegram:notify:failure', function() {
150 150
     if (!get('telegram_token', false)) {
151 151
         warning('No Telegram token configured');
152 152
         return;
Please login to merge, or discard this patch.
contrib/yarn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 namespace Deployer;
15 15
 
16
-set('bin/yarn', function () {
16
+set('bin/yarn', function() {
17 17
     return which('yarn');
18 18
 });
19 19
 
20 20
 // In there is a {{previous_release}}, node_modules will be copied from it before installing deps with yarn.
21 21
 desc('Installs Yarn packages');
22
-task('yarn:install', function () {
22
+task('yarn:install', function() {
23 23
     if (has('previous_release')) {
24 24
         if (test('[ -d {{previous_release}}/node_modules ]')) {
25 25
             run('cp -R {{previous_release}}/node_modules {{release_path}}');
Please login to merge, or discard this patch.