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.
Completed
Pull Request — master (#46)
by
unknown
01:27
created
src/TailCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $logDirectory = storage_path('logs');
23 23
 
24
-        if (! $path = $this->findLatestLogFile($logDirectory)) {
24
+        if (!$path = $this->findLatestLogFile($logDirectory)) {
25 25
             $this->warn("Could not find a log file in `{$logDirectory}`.");
26 26
 
27 27
             return;
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         (new Process($tailCommand))
39 39
             ->setTty(true)
40 40
             ->setTimeout(null)
41
-            ->run(function ($type, $line) {
41
+            ->run(function($type, $line) {
42 42
                 $this->handleClearOption();
43 43
 
44 44
                 $this->output->write($line);
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     protected function findLatestLogFile(string $directory)
49 49
     {
50 50
         $logFile = collect(File::allFiles($directory))
51
-            ->sortByDesc(function (SplFileInfo $file) {
51
+            ->sortByDesc(function(SplFileInfo $file) {
52 52
                 return $file->getMTime();
53 53
             })
54 54
             ->first();
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     protected function handleClearOption()
62 62
     {
63
-        if (! $this->option('clear')) {
63
+        if (!$this->option('clear')) {
64 64
             return;
65 65
         }
66 66
 
@@ -72,13 +72,13 @@  discard block
 block discarded – undo
72 72
         $hideTraces = $this->option('hide-stack-traces');
73 73
         $addColor = $this->option('color');
74 74
 
75
-        if (! $hideTraces && ! $addColor) {
75
+        if (!$hideTraces && !$addColor) {
76 76
             return '';
77 77
         }
78 78
 
79 79
         $patterns = '^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:';
80 80
 
81
-        if ($addColor && ! $hideTraces) {
81
+        if ($addColor && !$hideTraces) {
82 82
             $patterns .= '|^';
83 83
         }
84 84
 
Please login to merge, or discard this patch.