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 ( d0cb9a...67939d )
by Anton
10:52 queued 07:04
created
src/Selector/Selector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $labels = $host->get('labels', []);
51 51
         $labels['alias'] = $host->getAlias();
52 52
         $labels['true'] = 'true';
53
-        $isTrue = function ($value) {
53
+        $isTrue = function($value) {
54 54
             return $value;
55 55
         };
56 56
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     private static function compare(string $op, $a, ?string $b): bool
73 73
     {
74 74
         $matchFunction = function($a, ?string $b) {
75
-            foreach ((array)$a as $item) {
75
+            foreach ((array) $a as $item) {
76 76
                 if ($item === $b) {
77 77
                     return true;
78 78
                 }
Please login to merge, or discard this patch.
src/Component/PharUpdate/Update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
      * @throws FileException            If the SHA1 checksum differs.
168 168
      * @throws UnexpectedValueException If the Phar is corrupt.
169 169
      */
170
-    public function getFile():? string
170
+    public function getFile(): ? string
171 171
     {
172 172
         if (null === $this->file) {
173 173
             unlink($this->file = tempnam(sys_get_temp_dir(), 'upd'));
Please login to merge, or discard this patch.
src/Component/PharUpdate/Manifest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param boolean $major   Lock to major version?
38 38
      * @param boolean $pre     Allow pre-releases?
39 39
      */
40
-    public function findRecent(Version $version, bool $major = false, bool $pre = false):? Update
40
+    public function findRecent(Version $version, bool $major = false, bool $pre = false): ? Update
41 41
     {
42 42
         /** @var Update|null */
43 43
         $current = null;
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
         usort(
120 120
             $updates,
121
-            function (Update $a, Update $b) {
121
+            function(Update $a, Update $b) {
122 122
                 return Comparator::isGreaterThan(
123 123
                     $a->getVersion(),
124 124
                     $b->getVersion()
Please login to merge, or discard this patch.
src/Component/PharUpdate/Version/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public static function isNumber(int $number): bool
42 42
     {
43
-        return (true == preg_match('/^(0|[1-9]\d*)$/', (string)$number));
43
+        return (true == preg_match('/^(0|[1-9]\d*)$/', (string) $number));
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
src/Component/Ssh/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         if ($this->output->isDebug()) {
69 69
             $sshString = $ssh[0];
70 70
             for ($i = 1; $i < count($ssh); $i++) {
71
-                $sshString .= ' ' . escapeshellarg((string)$ssh[$i]);
71
+                $sshString .= ' ' . escapeshellarg((string) $ssh[$i]);
72 72
             }
73 73
             $this->output->writeln("[$host] $sshString");
74 74
         }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             ->setTimeout((null === $config['timeout']) ? null : (float) $config['timeout'])
86 86
             ->setIdleTimeout((null === $config['idle_timeout']) ? null : (float) $config['idle_timeout']);
87 87
 
88
-        $callback = function ($type, $buffer) use ($config, $host) {
88
+        $callback = function($type, $buffer) use ($config, $host) {
89 89
             $this->logger->printBuffer($host, $type, $buffer);
90 90
             $this->pop->callback($host, boolval($config['real_time_output']))($type, $buffer);
91 91
         };
@@ -122,6 +122,6 @@  discard block
 block discarded – undo
122 122
     private function parseExitStatus(Process $process): int
123 123
     {
124 124
         preg_match('/\[exit_code:(\d*)]/', $process->getOutput(), $match);
125
-        return (int)($match[1] ?? -1);
125
+        return (int) ($match[1] ?? -1);
126 126
     }
127 127
 }
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/Component/ProcessRunner/Printer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function callback(Host $host, bool $forceOutput): callable
40 40
     {
41
-        return function ($type, $buffer) use ($forceOutput, $host) {
41
+        return function($type, $buffer) use ($forceOutput, $host) {
42 42
             if ($this->output->isVerbose() || $forceOutput) {
43 43
                 $this->printBuffer($type, $host, $buffer);
44 44
             }
Please login to merge, or discard this patch.
src/Component/ProcessRunner/ProcessRunner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $this->pop->command($host, 'run', $command);
53 53
 
54 54
         $terminalOutput = $this->pop->callback($host, $config['real_time_output']);
55
-        $callback = function ($type, $buffer) use ($host, $terminalOutput) {
55
+        $callback = function($type, $buffer) use ($host, $terminalOutput) {
56 56
             $this->logger->printBuffer($host, $type, $buffer);
57 57
             $terminalOutput($type, $buffer);
58 58
         };
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $deployer->hosts->set($aliases[0], $host);
71 71
         return $host;
72 72
     } else {
73
-        $hosts = array_map(function ($hostname) use ($deployer): Host {
73
+        $hosts = array_map(function($hostname) use ($deployer): Host {
74 74
             $host = new Host($hostname);
75 75
             $deployer->hosts->set($hostname, $host);
76 76
             return $host;
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $deployer->hosts->set($host->getAlias(), $host);
93 93
         return $host;
94 94
     } else {
95
-        $hosts = array_map(function ($hostname) use ($deployer): Localhost {
95
+        $hosts = array_map(function($hostname) use ($deployer): Localhost {
96 96
             $host = new Localhost($hostname);
97 97
             $deployer->hosts->set($host->getAlias(), $host);
98 98
             return $host;
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
         }
365 365
     }
366 366
     $options = array_merge($namedArguments, $options);
367
-    $run = function ($command, $options = []): string {
367
+    $run = function($command, $options = []): string {
368 368
         $host = currentHost();
369 369
 
370 370
         $command = parse($command);
@@ -823,7 +823,7 @@  discard block
 block discarded – undo
823 823
     }
824 824
 
825 825
     if (Deployer::isWorker()) {
826
-        return (string)Deployer::proxyCallToMaster(currentHost(), __FUNCTION__, ...func_get_args());
826
+        return (string) Deployer::proxyCallToMaster(currentHost(), __FUNCTION__, ...func_get_args());
827 827
     }
828 828
 
829 829
     /** @var QuestionHelper */
@@ -837,7 +837,7 @@  discard block
 block discarded – undo
837 837
     $question->setHidden(true);
838 838
     $question->setHiddenFallback(false);
839 839
 
840
-    return (string)$helper->ask(input(), output(), $question);
840
+    return (string) $helper->ask(input(), output(), $question);
841 841
 }
842 842
 
843 843
 function input(): InputInterface
Please login to merge, or discard this patch.