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 ( cc39b3...a4b478 )
by Anton
02:40
created
contrib/phinx.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 /**
78 78
  * Path to Phinx
79 79
  */
80
-set('bin/phinx', function () {
80
+set('bin/phinx', function() {
81 81
     try {
82 82
         $phinxPath = which('phinx');
83 83
     } catch (RunException $e) {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 
146 146
 
147 147
 desc('Migrats database with phinx');
148
-task('phinx:migrate', function () {
148
+task('phinx:migrate', function() {
149 149
     $ALLOWED_OPTIONS = [
150 150
         'configuration',
151 151
         'date',
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 });
167 167
 
168 168
 desc('Rollbacks database migrations with phinx');
169
-task('phinx:rollback', function () {
169
+task('phinx:rollback', function() {
170 170
     $ALLOWED_OPTIONS = [
171 171
         'configuration',
172 172
         'date',
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 });
188 188
 
189 189
 desc('Seeds database with phinx');
190
-task('phinx:seed', function () {
190
+task('phinx:seed', function() {
191 191
     $ALLOWED_OPTIONS = [
192 192
         'configuration',
193 193
         'environment',
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 });
208 208
 
209 209
 desc('Sets a migrations breakpoint with phinx');
210
-task('phinx:breakpoint', function () {
210
+task('phinx:breakpoint', function() {
211 211
     $ALLOWED_OPTIONS = [
212 212
         'configuration',
213 213
         'environment',
Please login to merge, or discard this patch.
tests/src/Host/ConfigurationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $config->set('hyphen-ated', 'hyphen');
23 23
         $config->set('parse', 'is {{int}}');
24 24
         $config->set('parse-hyphen', 'has {{hyphen-ated}}');
25
-        $config->set('callback', function () {
25
+        $config->set('callback', function() {
26 26
             return 'callback';
27 27
         });
28 28
         $this->assertEquals(42, $config->get('int'));
Please login to merge, or discard this patch.
tests/src/Host/HostTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     public function testHostWithUserFromConfig()
71 71
     {
72 72
         $parent = new Configuration();
73
-        $parent->set("deploy_user", function () {
73
+        $parent->set("deploy_user", function() {
74 74
             return "test_user";
75 75
         });
76 76
 
Please login to merge, or discard this patch.
tests/src/Collection/CollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $this->assertTrue($collection->has('object'));
36 36
         $this->assertEquals($object, $collection->get('object'));
37 37
 
38
-        $this->assertEquals(['object' => $object], $collection->select(function ($value, $key) use ($object) {
38
+        $this->assertEquals(['object' => $object], $collection->select(function($value, $key) use ($object) {
39 39
             return $value === $object && $key === 'object';
40 40
         }));
41 41
     }
Please login to merge, or discard this patch.
tests/src/Task/TaskTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             ->expects(self::exactly(1))
29 29
             ->method('callback');
30 30
 
31
-        $task = new Task('task_name', function () use ($mock) {
31
+        $task = new Task('task_name', function() use ($mock) {
32 32
             $mock->callback();
33 33
         });
34 34
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $mock2
74 74
             ->expects(self::once())
75 75
             ->method('callback');
76
-        $task2 = new Task('task2', function () use ($mock2) {
76
+        $task2 = new Task('task2', function() use ($mock2) {
77 77
             $mock2->callback();
78 78
         });
79 79
         $task2->run($context);
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         task('bar', $spy);
93 93
         task('group', ['foo', 'bar']);
94 94
 
95
-        (new Task('group:invoke', function () {
95
+        (new Task('group:invoke', function() {
96 96
             invoke('group');
97 97
         }))->run(new Context(new Host('localhost')));
98 98
 
Please login to merge, or discard this patch.
tests/src/Configuration/ConfigurationTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $config = new Configuration();
30 30
         $config->set('opt', true);
31
-        $config->set('fn', function () {
31
+        $config->set('fn', function() {
32 32
             return 'func';
33 33
         });
34 34
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     public function testGetFromCallback()
104 104
     {
105 105
         $config = new Configuration();
106
-        $config->set('func', function () {
106
+        $config->set('func', function() {
107 107
             return 'param';
108 108
         });
109 109
         self::assertEquals('param', $config['func']);
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         $parent = new Configuration();
151 151
         $alpha = new Configuration($parent);
152 152
 
153
-        $parent->set('files', function () {
153
+        $parent->set('files', function() {
154 154
             return ['a', 'b'];
155 155
         });
156 156
         $alpha->add('files', ['c']);
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         $alpha = new Configuration($parent);
165 165
 
166 166
         $parent->set('global', 'do not include');
167
-        $alpha->set('whoami', function () {
167
+        $alpha->set('whoami', function() {
168 168
             $this->fail('should not be called');
169 169
         });
170 170
         $alpha->set('name', 'alpha');
Please login to merge, or discard this patch.
tests/legacy/recipe/select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 localhost('beta')->setLabels(['env' => 'dev']);
7 7
 localhost('dev')->setLabels(['env' => 'dev']);
8 8
 
9
-task('test', function () {
10
-    on(select('env=dev'), function () {
9
+task('test', function() {
10
+    on(select('env=dev'), function() {
11 11
         info('executing on {{alias}}');
12 12
     });
13 13
 });
Please login to merge, or discard this patch.
tests/legacy/recipe/env.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
     'VAR' => 'global',
9 9
 ]);
10 10
 
11
-task('test', function () {
11
+task('test', function() {
12 12
     info('global=' . run('echo $VAR'));
13 13
     info('local=' . run('echo $VAR', ['env' => ['VAR' => 'local']]));
14 14
     info('dotenv=' . run('echo $KEY'));
15 15
     info('dotenv=' . run('echo $KEY', ['env' => ['KEY' => 'local']]));
16 16
 });
17 17
 
18
-before('test', function () {
18
+before('test', function() {
19 19
     run('mkdir -p {{deploy_path}}');
20 20
     run('echo KEY="\'Hello, world!\'" > {{deploy_path}}/.env');
21 21
     set('dotenv', '{{deploy_path}}/.env');
Please login to merge, or discard this patch.
tests/legacy/recipe/update_code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 
5 5
 require __DIR__ . '/deploy.php';
6 6
 
7
-task('deploy:update_code', function () {
7
+task('deploy:update_code', function() {
8 8
     upload(__FIXTURES__ . '/project/', '{{release_path}}');
9 9
 });
Please login to merge, or discard this patch.