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 ( 549e86...77c69c )
by Anton
03:24
created
recipe/spiral.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  */
26 26
 function command(string $command, array $options = []): \Closure
27 27
 {
28
-    return function () use ($command, $options): void {
28
+    return function() use ($command, $options): void {
29 29
         $output = run("cd {{release_or_current_path}} && {{bin/php}} app.php $command");
30 30
 
31 31
         if (\in_array('showOutput', $options, true)) {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
  */
43 43
 function rr(string $command, array $options = []): \Closure
44 44
 {
45
-    return function () use ($command, $options): void {
45
+    return function() use ($command, $options): void {
46 46
         $output = run("cd {{roadrunner_path}} && ./rr $command");
47 47
 
48 48
         if (\in_array('showOutput', $options, true)) {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
  * RoadRunner console commands
110 110
  */
111 111
 desc('Start RoadRunner server');
112
-task('roadrunner:serve', function (): void {
112
+task('roadrunner:serve', function(): void {
113 113
     exec(parse('cd {{roadrunner_path}} && ./rr serve -p > /dev/null 2>&1 &'));
114 114
 });
115 115
 
@@ -123,13 +123,13 @@  discard block
 block discarded – undo
123 123
  * Download and restart RoadRunner
124 124
  */
125 125
 desc('Download RoadRunner');
126
-task('deploy:download-rr', function (): void {
126
+task('deploy:download-rr', function(): void {
127 127
     $output = run("cd {{release_or_current_path}} && {{bin/php}} ./vendor/bin/rr get-binary -l {{roadrunner_path}}");
128 128
     writeln("<info>$output</info>");
129 129
 });
130 130
 
131 131
 desc('Restart RoadRunner');
132
-task('deploy:restart-rr', function (): void {
132
+task('deploy:restart-rr', function(): void {
133 133
     try {
134 134
         invoke('roadrunner:reset');
135 135
         writeln("<info>Roadrunner successfully restarted.</info>");
Please login to merge, or discard this patch.
recipe/deploy/env.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('dotenv_example', '.env.example');
6 6
 
7 7
 desc('Configure .env file');
8
-task('deploy:env', function () {
8
+task('deploy:env', function() {
9 9
     cd('{{release_or_current_path}}');
10 10
     if (test('[ ! -f .env ] && [ -f {{dotenv_example}} ]')) {
11 11
         run('cp {{dotenv_example}} .env');
Please login to merge, or discard this patch.
recipe/symfony.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 
7 7
 add('recipes', ['symfony']);
8 8
 
9
-set('symfony_version', function () {
9
+set('symfony_version', function() {
10 10
     $result = run('{{bin/console}} --version');
11 11
     preg_match_all('/(\d+\.?)+/', $result, $matches);
12 12
     return $matches[0][0] ?? 5.0;
@@ -35,12 +35,12 @@  discard block
 block discarded – undo
35 35
 
36 36
 set('bin/console', '{{bin/php}} {{release_or_current_path}}/bin/console');
37 37
 
38
-set('console_options', function () {
38
+set('console_options', function() {
39 39
     return '--no-interaction';
40 40
 });
41 41
 
42 42
 desc('Migrates database');
43
-task('database:migrate', function () {
43
+task('database:migrate', function() {
44 44
     $options = '--allow-no-migration';
45 45
     if (get('migrations_config') !== '') {
46 46
         $options = "$options --configuration={{release_or_current_path}}/{{migrations_config}}";
@@ -50,12 +50,12 @@  discard block
 block discarded – undo
50 50
 });
51 51
 
52 52
 desc('Validate the Doctrine mapping files');
53
-task('doctrine:schema:validate', function () {
53
+task('doctrine:schema:validate', function() {
54 54
     run("cd {{release_or_current_path}} && {{bin/console}} doctrine:schema:validate {{doctrine_schema_validate_config}} {{console_options}}");
55 55
 });
56 56
 
57 57
 desc('Clears cache');
58
-task('deploy:cache:clear', function () {
58
+task('deploy:cache:clear', function() {
59 59
     // composer install scripts usually clear and warmup symfony cache
60 60
     // so we only need to do it if composer install was run with --no-scripts
61 61
     if (false !== strpos(get('composer_options', ''), '--no-scripts')) {
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
 });
65 65
 
66 66
 desc('Optimize environment variables');
67
-task('deploy:dump-env', function () {
68
-    within('{{release_or_current_path}}', function () {
67
+task('deploy:dump-env', function() {
68
+    within('{{release_or_current_path}}', function() {
69 69
         run('{{bin/composer}} dump-env "${APP_ENV:-prod}"');
70 70
     });
71 71
 });
Please login to merge, or discard this patch.