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 ( e9d99c...549e86 )
by Anton
02:53
created
recipe/common.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 // Name of current user who is running deploy.
29 29
 // If not set will try automatically get git user name,
30 30
 // otherwise output of `whoami` command.
31
-set('user', function () {
31
+set('user', function() {
32 32
     if (getenv('CI') !== false) {
33 33
         $ciUserVars = ['GITLAB_USER_NAME', 'GITHUB_ACTOR', 'CIRCLE_USERNAME', 'DRONE_BUILD_TRIGGER'];
34 34
         foreach ($ciUserVars as $var) {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
  * set('deploy_path', '~/{{alias}}');
95 95
  * ```
96 96
  */
97
-set('deploy_path', function () {
97
+set('deploy_path', function() {
98 98
     throw new ConfigurationException('Please, specify `deploy_path`.');
99 99
 });
100 100
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 set('current_path', '{{deploy_path}}/current');
108 108
 
109 109
 // Path to the `php` bin.
110
-set('bin/php', function () {
110
+set('bin/php', function() {
111 111
     if (currentHost()->hasOwn('php_version')) {
112 112
         return '/usr/bin/php{{php_version}}';
113 113
     }
@@ -115,25 +115,25 @@  discard block
 block discarded – undo
115 115
 });
116 116
 
117 117
 // Path to the `git` bin.
118
-set('bin/git', function () {
118
+set('bin/git', function() {
119 119
     return which('git');
120 120
 });
121 121
 
122 122
 // Should {{bin/symlink}} use `--relative` option or not. Will detect
123 123
 // automatically.
124
-set('use_relative_symlink', function () {
124
+set('use_relative_symlink', function() {
125 125
     return commandSupportsOption('ln', '--relative');
126 126
 });
127 127
 
128 128
 // Path to the `ln` bin. With predefined options `-nfs`.
129
-set('bin/symlink', function () {
129
+set('bin/symlink', function() {
130 130
     return get('use_relative_symlink') ? 'ln -nfs --relative' : 'ln -nfs';
131 131
 });
132 132
 
133 133
 // Path to a file which will store temp script with sudo password.
134 134
 // Defaults to `.dep/sudo_pass`. This script is only temporary and will be deleted after
135 135
 // sudo command executed.
136
-set('sudo_askpass', function () {
136
+set('sudo_askpass', function() {
137 137
     if (test('[ -d {{deploy_path}}/.dep ]')) {
138 138
         return '{{deploy_path}}/.dep/sudo_pass';
139 139
     } else {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 /**
172 172
  * Prints success message
173 173
  */
174
-task('deploy:success', function () {
174
+task('deploy:success', function() {
175 175
     info('successfully deployed!');
176 176
 })
177 177
     ->hidden();
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 /**
181 181
  * Hook on deploy failure.
182 182
  */
183
-task('deploy:failed', function () {})
183
+task('deploy:failed', function() {})
184 184
     ->hidden();
185 185
 
186 186
 fail('deploy', 'deploy:failed');
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
  * Follows latest application logs.
190 190
  */
191 191
 desc('Shows application logs');
192
-task('logs:app', function () {
192
+task('logs:app', function() {
193 193
     if (!has('log_files')) {
194 194
         warning("Please, specify \"log_files\" option.");
195 195
         return;
Please login to merge, or discard this patch.