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 ( 74c530...9db20b )
by Anton
09:59 queued 06:18
created
tests/src/Component/Ssh/IOArgumentsTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
             new InputOption('plan', null, InputOption::VALUE_NONE, 'Show execution plan'),
21 21
             new InputOption('start-from', null, InputOption::VALUE_REQUIRED, 'Start execution from this task'),
22 22
             new InputOption('log', null, InputOption::VALUE_REQUIRED, 'Write log to a file'),
23
-            new InputOption('profile', null, InputOption::VALUE_REQUIRED, 'Write profile to a file', ),
24
-            new InputOption('ansi', null, InputOption::VALUE_OPTIONAL, 'Force ANSI output', ),
23
+            new InputOption('profile', null, InputOption::VALUE_REQUIRED, 'Write profile to a file',),
24
+            new InputOption('ansi', null, InputOption::VALUE_OPTIONAL, 'Force ANSI output',),
25 25
         ]);
26 26
 
27 27
         $args = IOArguments::collect(
@@ -29,6 +29,6 @@  discard block
 block discarded – undo
29 29
             new ConsoleOutput(OutputInterface::VERBOSITY_DEBUG, false),
30 30
         );
31 31
 
32
-        self::assertEquals(['--option','env=prod', '--limit', '1', '-vvv'], $args);
32
+        self::assertEquals(['--option', 'env=prod', '--limit', '1', '-vvv'], $args);
33 33
     }
34 34
 }
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/discord.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -51,22 +51,22 @@  discard block
 block discarded – undo
51 51
 use Deployer\Task\Context;
52 52
 use Deployer\Utility\Httpie;
53 53
 
54
-set('discord_webhook', function () {
54
+set('discord_webhook', function() {
55 55
     return 'https://discordapp.com/api/webhooks/{{discord_channel}}/{{discord_token}}/slack';
56 56
 });
57 57
 
58 58
 // Deploy messages
59
-set('discord_notify_text', function () {
59
+set('discord_notify_text', function() {
60 60
     return [
61 61
         'text' => parse(':information_source: **{{user}}** is deploying branch `{{branch}}` to _{{target}}_'),
62 62
     ];
63 63
 });
64
-set('discord_success_text', function () {
64
+set('discord_success_text', function() {
65 65
     return [
66 66
         'text' => parse(':white_check_mark: Branch `{{branch}}` deployed to _{{target}}_ successfully'),
67 67
     ];
68 68
 });
69
-set('discord_failure_text', function () {
69
+set('discord_failure_text', function() {
70 70
     return [
71 71
         'text' => parse(':no_entry_sign: Branch `{{branch}}` has failed to deploy to _{{target}}_'),
72 72
     ];
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 set('discord_message', 'discord_notify_text');
77 77
 
78 78
 // Helpers
79
-task('discord_send_message', function () {
79
+task('discord_send_message', function() {
80 80
     $message = get(get('discord_message'));
81 81
 
82 82
     Httpie::post(get('discord_webhook'))->jsonBody($message)->send();
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 // Tasks
86 86
 desc('Tests messages');
87
-task('discord:test', function () {
87
+task('discord:test', function() {
88 88
     set('discord_message', 'discord_notify_text');
89 89
     invoke('discord_send_message');
90 90
     set('discord_message', 'discord_success_text');
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     ->once();
96 96
 
97 97
 desc('Notifies Discord');
98
-task('discord:notify', function () {
98
+task('discord:notify', function() {
99 99
     set('discord_message', 'discord_notify_text');
100 100
     invoke('discord_send_message');
101 101
 })
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     ->isHidden();
104 104
 
105 105
 desc('Notifies Discord about deploy finish');
106
-task('discord:notify:success', function () {
106
+task('discord:notify:success', function() {
107 107
     set('discord_message', 'discord_success_text');
108 108
     invoke('discord_send_message');
109 109
 })
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     ->isHidden();
112 112
 
113 113
 desc('Notifies Discord about deploy failure');
114
-task('discord:notify:failure', function () {
114
+task('discord:notify:failure', function() {
115 115
     set('discord_message', 'discord_failure_text');
116 116
     invoke('discord_send_message');
117 117
 })
Please login to merge, or discard this patch.
contrib/mattermost.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 set('mattermost_failure_text', 'Deploy to **{{target}}** failed {{mattermost_failure_emoji}}');
92 92
 
93 93
 desc('Notifies mattermost');
94
-task('mattermost:notify', function () {
94
+task('mattermost:notify', function() {
95 95
     if (null === get('mattermost_webhook')) {
96 96
         return;
97 97
     }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 });
113 113
 
114 114
 desc('Notifies mattermost about deploy finish');
115
-task('mattermost:notify:success', function () {
115
+task('mattermost:notify:success', function() {
116 116
     if (null === get('mattermost_webhook')) {
117 117
         return;
118 118
     }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 });
134 134
 
135 135
 desc('Notifies mattermost about deploy failure');
136
-task('mattermost:notify:failure', function () {
136
+task('mattermost:notify:failure', function() {
137 137
     if (null === get('mattermost_webhook')) {
138 138
         return;
139 139
     }
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.