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/deploy/cleanup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 set('cleanup_use_sudo', false);
6 6
 
7 7
 desc('Cleanup old releases');
8
-task('deploy:cleanup', function () {
8
+task('deploy:cleanup', function() {
9 9
     $releases = get('releases_list');
10 10
     $keep = get('keep_releases');
11 11
     $sudo = get('cleanup_use_sudo') ? 'sudo' : '';
Please login to merge, or discard this patch.
recipe/deploy/copy_dirs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 set('copy_dirs', []);
7 7
 
8 8
 desc('Copies directories');
9
-task('deploy:copy_dirs', function () {
9
+task('deploy:copy_dirs', function() {
10 10
     if (has('previous_release')) {
11 11
         foreach (get('copy_dirs') as $dir) {
12 12
             // Make sure all path without tailing slash.
Please login to merge, or discard this patch.
recipe/deploy/lock.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 use Deployer\Exception\GracefulShutdownException;
5 5
 
6 6
 desc('Locks deploy');
7
-task('deploy:lock', function () {
7
+task('deploy:lock', function() {
8 8
     $user = escapeshellarg(get('user'));
9 9
     $locked = run("[ -f {{deploy_path}}/.dep/deploy.lock ] && echo +locked || echo $user > {{deploy_path}}/.dep/deploy.lock");
10 10
     if ($locked === '+locked') {
@@ -17,12 +17,12 @@  discard block
 block discarded – undo
17 17
 });
18 18
 
19 19
 desc('Unlocks deploy');
20
-task('deploy:unlock', function () {
21
-    run("rm -f {{deploy_path}}/.dep/deploy.lock");//always success
20
+task('deploy:unlock', function() {
21
+    run("rm -f {{deploy_path}}/.dep/deploy.lock"); //always success
22 22
 });
23 23
 
24 24
 desc('Checks if deploy is locked');
25
-task('deploy:is_locked', function () {
25
+task('deploy:is_locked', function() {
26 26
     $locked = test("[ -f {{deploy_path}}/.dep/deploy.lock ]");
27 27
     if ($locked) {
28 28
         $lockedUser = run("cat {{deploy_path}}/.dep/deploy.lock");
Please login to merge, or discard this patch.
recipe/deploy/check_remote.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 // Cancel deployment if there would be no change to the codebase.
8 8
 // This avoids unnecessary releases if the latest commit has already been deployed.
9 9
 desc('Checks remote head');
10
-task('deploy:check_remote', function () {
10
+task('deploy:check_remote', function() {
11 11
     $repository = get('repository');
12 12
 
13 13
     // Skip if there is no current deployment to compare
Please login to merge, or discard this patch.
recipe/deploy/vendors.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 // Returns Composer binary path in found. Otherwise try to install latest
9 9
 // composer version to `.dep/composer.phar`. To use specific composer version
10 10
 // download desired phar and place it at `.dep/composer.phar`.
11
-set('bin/composer', function () {
11
+set('bin/composer', function() {
12 12
     if (test('[ -f {{deploy_path}}/.dep/composer.phar ]')) {
13 13
         return '{{bin/php}} {{deploy_path}}/.dep/composer.phar';
14 14
     }
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 });
25 25
 
26 26
 desc('Installs vendors');
27
-task('deploy:vendors', function () {
27
+task('deploy:vendors', function() {
28 28
     if (!commandExist('unzip')) {
29 29
         warning('To speed up composer installation setup "unzip" command with PHP zip extension.');
30 30
     }
Please login to merge, or discard this patch.
recipe/deploy/push.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 // And applies to current_path. Push can be done many times.
6 6
 // The task purpose to be used only for development.
7 7
 desc('Pushes local changes to remote host');
8
-task('push', function () {
8
+task('push', function() {
9 9
     $files = explode("\n", runLocally("git diff --name-only HEAD"));
10 10
 
11 11
     info('uploading:');
Please login to merge, or discard this patch.
recipe/deploy/update_code.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 option('branch', null, InputOption::VALUE_REQUIRED, 'Branch to deploy');
16 16
 
17 17
 // The deploy target: a branch, a tag or a revision.
18
-set('target', function () {
18
+set('target', function() {
19 19
     $target = '';
20 20
 
21 21
     $branch = get('branch');
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
  * Update code at {{release_path}} on host.
69 69
  */
70 70
 desc('Updates code');
71
-task('deploy:update_code', function () {
71
+task('deploy:update_code', function() {
72 72
     $git = get('bin/git');
73 73
     $repository = get('repository');
74 74
     $target = get('target');
Please login to merge, or discard this patch.
recipe/deploy/rollback.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
  * ```
17 17
  * :::
18 18
  */
19
-set('rollback_candidate', function () {
19
+set('rollback_candidate', function() {
20 20
     $currentRelease = basename(run('readlink {{current_path}}'));
21 21
     $releases = get('releases_list');
22 22
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
  * ```
60 60
  * :::
61 61
  */
62
-task('rollback', function () {
62
+task('rollback', function() {
63 63
     cd('{{deploy_path}}');
64 64
 
65 65
     $currentRelease = basename(run('readlink {{current_path}}'));
Please login to merge, or discard this patch.
recipe/deploy/shared.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 set('shared_files', []);
20 20
 
21 21
 desc('Creates symlinks for shared files and dirs');
22
-task('deploy:shared', function () {
22
+task('deploy:shared', function() {
23 23
     $sharedPath = "{{deploy_path}}/shared";
24 24
 
25 25
     // Validate shared_dir, find duplicates
Please login to merge, or discard this patch.