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 ( cc39b3...a4b478 )
by Anton
02:40
created
recipe/contao.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 // The public path is the path to be set as DocumentRoot and is defined in the `composer.json` of the project
9 9
 // but defaults to `public` from Contao 5.0 on.
10 10
 // This path is relative from the {{current_path}}, see [`recipe/provision/website.php`](/docs/recipe/provision/website.php#public_path).
11
-set('public_path', function () {
11
+set('public_path', function() {
12 12
     $composerConfig = json_decode(file_get_contents('./composer.json'), true, 512, JSON_THROW_ON_ERROR);
13 13
 
14 14
     return $composerConfig['extra']['public-dir'] ?? 'public';
@@ -26,17 +26,17 @@  discard block
 block discarded – undo
26 26
     'var/logs',
27 27
 ]);
28 28
 
29
-set('bin/console', function () {
29
+set('bin/console', function() {
30 30
     return '{{bin/php}} {{release_or_current_path}}/vendor/bin/contao-console';
31 31
 });
32 32
 
33
-set('contao_version', function () {
33
+set('contao_version', function() {
34 34
     $result = run('{{bin/console}} --version');
35 35
     preg_match_all('/(\d+\.?)+/', $result, $matches);
36 36
     return $matches[0][0] ?? 'n/a';
37 37
 });
38 38
 
39
-set('symfony_version', function () {
39
+set('symfony_version', function() {
40 40
     $result = run('{{bin/console}} about');
41 41
     preg_match_all('/(\d+\.?)+/', $result, $matches);
42 42
     return $matches[0][0] ?? 5.0;
@@ -52,31 +52,31 @@  discard block
 block discarded – undo
52 52
 // });
53 53
 // ```
54 54
 desc('Run Contao migrations');
55
-task('contao:migrate', function () {
55
+task('contao:migrate', function() {
56 56
     run('{{bin/console}} contao:migrate {{console_options}}');
57 57
 });
58 58
 
59 59
 // Downloads the `contao-manager.phar.php` into the public path.
60 60
 desc('Download the Contao Manager');
61
-task('contao:manager:download', function () {
61
+task('contao:manager:download', function() {
62 62
     run('curl -LsO https://download.contao.org/contao-manager/stable/contao-manager.phar && mv contao-manager.phar {{release_or_current_path}}/{{public_path}}/contao-manager.phar.php');
63 63
 });
64 64
 
65 65
 // Locks the Contao install tool which is useful if you don't use it.
66 66
 desc('Lock the Contao Install Tool');
67
-task('contao:install:lock', function () {
67
+task('contao:install:lock', function() {
68 68
     run('{{bin/console}} contao:install:lock {{console_options}}');
69 69
 });
70 70
 
71 71
 // Locks the Contao Manager which is useful if you only need the API of the Manager rather than the UI.
72 72
 desc('Lock the Contao Manager');
73
-task('contao:manager:lock', function () {
73
+task('contao:manager:lock', function() {
74 74
     cd('{{release_or_current_path}}');
75 75
     run('echo "99" > contao-manager/login.lock');
76 76
 });
77 77
 
78 78
 desc('Enable maintenance mode');
79
-task('contao:maintenance:enable', function () {
79
+task('contao:maintenance:enable', function() {
80 80
     // Enable maintenance mode in both the current and release build, so that the maintenance mode will be enabled
81 81
     // for the current installation before the symlink changes and the new installation after the symlink changed.
82 82
     foreach (array_unique([parse('{{current_path}}'), parse('{{release_or_current_path}}')]) as $path) {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 });
92 92
 
93 93
 desc('Disable maintenance mode');
94
-task('contao:maintenance:disable', function () {
94
+task('contao:maintenance:disable', function() {
95 95
     foreach (array_unique([parse('{{current_path}}'), parse('{{release_or_current_path}}')]) as $path) {
96 96
         if (!test("[ -d $path ]")) {
97 97
             continue;
Please login to merge, or discard this patch.
recipe/pimcore.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 add('writable_dirs', ['public/var', 'var/cache/dev']);
13 13
 
14 14
 desc('Rebuilds Pimcore Classes');
15
-task('pimcore:rebuild-classes', function () {
15
+task('pimcore:rebuild-classes', function() {
16 16
     run('{{bin/console}} pimcore:deployment:classes-rebuild --create-classes --delete-classes --no-interaction');
17 17
 });
18 18
 
19 19
 desc('Removes cache');
20
-task('pimcore:cache_clear', function () {
20
+task('pimcore:cache_clear', function() {
21 21
     run('rm -rf {{release_or_current_path}}/var/cache/dev/*');
22 22
 });
23 23
 
Please login to merge, or discard this patch.
src/Utility/Rsync.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         }
74 74
         $command = array_values(array_filter(
75 75
             array_merge(['rsync', $flags], $options, $source, [$destination]),
76
-            function (string $value) {
76
+            function(string $value) {
77 77
                 return $value !== '';
78 78
             },
79 79
         ));
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
         $fullOutput = '';
98 98
 
99
-        $callback = function ($type, $buffer) use ($host, $progressBar, &$fullOutput) {
99
+        $callback = function($type, $buffer) use ($host, $progressBar, &$fullOutput) {
100 100
             $fullOutput .= $buffer;
101 101
             if ($progressBar) {
102 102
                 foreach (explode("\n", $buffer) as $line) {
Please login to merge, or discard this patch.
src/Logger/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     public function callback(Host $host): \Closure
33 33
     {
34
-        return function ($type, $buffer) use ($host) {
34
+        return function($type, $buffer) use ($host) {
35 35
             $this->printBuffer($host, $type, $buffer);
36 36
         };
37 37
     }
Please login to merge, or discard this patch.
src/Command/RunCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $hosts = $this->selectHosts($input, $output);
63 63
         $this->applyOverrides($hosts, $input->getOption('option'));
64 64
 
65
-        $task = new Task($command, function () use ($input, $command) {
65
+        $task = new Task($command, function() use ($input, $command) {
66 66
             if (has('current_path')) {
67 67
                 $path = get('current_path');
68 68
                 if (test("[ -d $path ]")) {
Please login to merge, or discard this patch.
src/Command/SelectCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                 $question->setErrorMessage('There is no "%s" host.');
65 65
                 $answer = $helper->ask($input, $output, $question);
66 66
                 $answer = array_unique($answer);
67
-                $hosts = $this->deployer->hosts->select(function (Host $host) use ($answer) {
67
+                $hosts = $this->deployer->hosts->select(function(Host $host) use ($answer) {
68 68
                     return in_array($host->getAlias(), $answer, true);
69 69
                 });
70 70
             }
Please login to merge, or discard this patch.
src/Component/Pimple/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
 
264 264
         $factory = $this->values[$id];
265 265
 
266
-        $extended = function ($c) use ($callable, $factory) {
266
+        $extended = function($c) use ($callable, $factory) {
267 267
             return $callable($factory($c), $c);
268 268
         };
269 269
 
Please login to merge, or discard this patch.
src/Documentation/ApiGen.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                         if (empty($params)) {
55 55
                             $params = "| Argument | Type | Comment |\n|---|---|---|\n";
56 56
                         }
57
-                        $type = implode(' or ', array_map(function ($t) {
57
+                        $type = implode(' or ', array_map(function($t) {
58 58
                             $t = trim($t, ' ');
59 59
                             return "`$t`";
60 60
                         }, explode('|', $matches['type'])));
Please login to merge, or discard this patch.
contrib/workplace.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 set('workplace_edit_post', false);
76 76
 
77 77
 desc('Notifies Workplace');
78
-task('workplace:notify', function () {
78
+task('workplace:notify', function() {
79 79
     if (!get('workplace_webhook', false)) {
80 80
         return;
81 81
     }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     ->hidden();
100 100
 
101 101
 desc('Notifies Workplace about deploy finish');
102
-task('workplace:notify:success', function () {
102
+task('workplace:notify:success', function() {
103 103
     if (!get('workplace_webhook', false)) {
104 104
         return;
105 105
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     ->hidden();
111 111
 
112 112
 desc('Notifies Workplace about deploy failure');
113
-task('workplace:notify:failure', function () {
113
+task('workplace:notify:failure', function() {
114 114
     if (!get('workplace_webhook', false)) {
115 115
         return;
116 116
     }
Please login to merge, or discard this patch.