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 ( 2afaef...808d22 )
by Anton
08:39
created
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/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.
tests/legacy/recipe/once.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 localhost('prod');
6 6
 localhost('beta');
7 7
 
8
-task('test_once', function () {
8
+task('test_once', function() {
9 9
     writeln('SHOULD BE ONCE');
10 10
 })->once();
Please login to merge, or discard this patch.
tests/legacy/recipe/once_per_node.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 localhost('group_b_2')
12 12
     ->setLabels(['node' => 'anna']);
13 13
 
14
-task('test_once_per_node', function () {
14
+task('test_once_per_node', function() {
15 15
     writeln('alias: {{alias}} hostname: {{hostname}}');
16 16
 })->oncePerNode();
Please login to merge, or discard this patch.