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
Push — master ( 8c76e3...58ca15 )
by Christian
04:11
created
src/Task/ComposerTask.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         if ($name === 'command') {
59 59
             parent::offsetSet('composerCommand', $value);
60
-            $value = 'composer ' .  $value;
60
+            $value = 'composer '.$value;
61 61
         }
62 62
         parent::offsetSet($name, $value);
63 63
     }
@@ -84,19 +84,19 @@  discard block
 block discarded – undo
84 84
     protected function getCommand()
85 85
     {
86 86
         $cmd = $this->get('command');
87
-        $argv = substr(parent::getCommand(), strlen($cmd)) . ' ';
87
+        $argv = substr(parent::getCommand(), strlen($cmd)).' ';
88 88
         if (strpos($argv, ' --no-ansi ') === false
89 89
             && strpos($argv, ' --ansi ') === false
90 90
             && $this->console->getOutput()->isDecorated()
91 91
         ) {
92
-            $argv = ' --ansi' . $argv;
92
+            $argv = ' --ansi'.$argv;
93 93
         }
94 94
         if (!$this->shouldExecute()
95 95
             && strpos($argv, ' --dry-run ') === false
96 96
         ) {
97
-            $argv = ' --dry-run' . $argv;
97
+            $argv = ' --dry-run'.$argv;
98 98
         }
99
-        return $cmd . rtrim($argv);
99
+        return $cmd.rtrim($argv);
100 100
     }
101 101
 }
102 102
 ?>
Please login to merge, or discard this patch.
src/Task/CallbackTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,11 +76,11 @@
 block discarded – undo
76 76
         if (is_string($fn)) {
77 77
             $name = $fn;
78 78
         } elseif (is_array($fn)) {
79
-            $name = (is_object($fn[0]) ? get_class($fn[0]) . '->' : $fn[0] . '::') . $fn[1];
79
+            $name = (is_object($fn[0]) ? get_class($fn[0]).'->' : $fn[0].'::').$fn[1];
80 80
         } else {
81 81
             $name = 'anonymous function';
82 82
         }
83
-        $this->console->output('Calling ' . $name, OutputInterface::VERBOSITY_DEBUG);
83
+        $this->console->output('Calling '.$name, OutputInterface::VERBOSITY_DEBUG);
84 84
     }
85 85
 }
86 86
 ?>
Please login to merge, or discard this patch.
src/Task/ShellTask.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
         $process = $this->console->createProcess($this->getCommand(), $this->get('cwd'));
144 144
         $process->setDryRun(!$this->shouldExecute());
145 145
         foreach ($this->get('processSettings') as $key => $value) {
146
-            $process->{'set' . ucfirst($key)}($value);
146
+            $process->{'set'.ucfirst($key)}($value);
147 147
         }
148 148
         return $process->run();
149 149
     }
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
                 if ($options || $arguments) {
170 170
                     throw new Exception('Can not combine argv with options or arguments');
171 171
                 }
172
-                $cmd .= ' ' . (is_array($argv) ? implode(' ', $argv) : $argv);
172
+                $cmd .= ' '.(is_array($argv) ? implode(' ', $argv) : $argv);
173 173
             } else {
174 174
                 $cmd .= $this->renderOptions($options);
175 175
                 $cmd .= $this->renderArguments($arguments);
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
         $argumentString = '';
225 225
         foreach ($arguments as $argument) {
226 226
             $value = $this->expand($argument);
227
-            $argumentString .= ' ' . escapeshellarg($value);
227
+            $argumentString .= ' '.escapeshellarg($value);
228 228
         }
229 229
         return $argumentString;
230 230
     }
Please login to merge, or discard this patch.
src/Task/BreakTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function run()
40 40
     {
41 41
         if ($this->has('message')) {
42
-            $this->console->output('<info>' . $this->get('message') . '</info>');
42
+            $this->console->output('<info>'.$this->get('message').'</info>');
43 43
         }
44 44
         throw new BreakException('Execution stopped');
45 45
     }
Please login to merge, or discard this patch.
src/Task/RemoteShellTask.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -104,13 +104,13 @@
 block discarded – undo
104 104
     protected function getSshCommand($command, Node $node, $cwd = null)
105 105
     {
106 106
         if ($cwd && !preg_match('#^cd\s+[\'"]?/#', $command)) {
107
-            $command = 'cd ' . escapeshellarg($cwd) . '; ' . $command;
107
+            $command = 'cd '.escapeshellarg($cwd).'; '.$command;
108 108
         }
109 109
 
110 110
         $sshCommand
111
-            = rtrim('ssh' . $node->get('sshOptions'))
112
-            . ' ' . escapeshellarg($node->get('url'))
113
-            . ' ' . escapeshellarg($command);
111
+            = rtrim('ssh'.$node->get('sshOptions'))
112
+            . ' '.escapeshellarg($node->get('url'))
113
+            . ' '.escapeshellarg($command);
114 114
 
115 115
         $this->addExpect($sshCommand, $node);
116 116
 
Please login to merge, or discard this patch.
src/Task/TarTask.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     {
70 70
         $files = $this->get('files');
71 71
         if (is_string($files)) {
72
-            $files = array_filter(preg_split('#[\n' . PATH_SEPARATOR . ',]#', $files));
72
+            $files = array_filter(preg_split('#[\n'.PATH_SEPARATOR.',]#', $files));
73 73
         }
74 74
         if (!is_array($files) && !$files instanceof \Traversable) {
75 75
             throw new \Netresearch\Kite\Exception('files must be traversable');
@@ -88,22 +88,22 @@  discard block
 block discarded – undo
88 88
         $filesystem = $this->console->getFilesystem();
89 89
         $dir = dirname($this->get('toFile'));
90 90
         $filesystem->ensureDirectoryExists($dir);
91
-        $cmd = 'tar -rf ' . escapeshellarg($this->get('toFile')) . ' ';
91
+        $cmd = 'tar -rf '.escapeshellarg($this->get('toFile')).' ';
92 92
 
93 93
         if ($this->get('tmpCopy', true)) {
94
-            $tmpFolder = basename($this->get('toFile')) . '-' . uniqid();
94
+            $tmpFolder = basename($this->get('toFile')).'-'.uniqid();
95 95
             $filesystem->ensureDirectoryExists($tmpFolder);
96 96
 
97 97
             foreach ($this->getFiles() as $file) {
98
-                $filesystem->copy($file, $tmpFolder . '/' . $file);
98
+                $filesystem->copy($file, $tmpFolder.'/'.$file);
99 99
             }
100 100
 
101
-            $this->console->createProcess($cmd . ' -C ' . escapeshellarg($tmpFolder) . ' .')->run();
101
+            $this->console->createProcess($cmd.' -C '.escapeshellarg($tmpFolder).' .')->run();
102 102
 
103 103
             $filesystem->remove($tmpFolder);
104 104
         } else {
105 105
             foreach ($this->getFiles() as $file) {
106
-                $this->console->createProcess($cmd . escapeshellarg($file))->run();
106
+                $this->console->createProcess($cmd.escapeshellarg($file))->run();
107 107
             }
108 108
         }
109 109
     }
Please login to merge, or discard this patch.
src/Task/GitTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
         if ($name === 'command') {
40 40
             if (is_array($value)) {
41 41
                 foreach ($value as &$item) {
42
-                    $item = 'git ' . $item;
42
+                    $item = 'git '.$item;
43 43
                 }
44 44
             } else {
45
-                $value = 'git ' .  $value;
45
+                $value = 'git '.$value;
46 46
             }
47 47
         }
48 48
         parent::offsetSet($name, $value);
Please login to merge, or discard this patch.
src/Task/IterateTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             foreach (array('key', 'value') as $name) {
114 114
                 if ($$name) {
115 115
                     if ($this->has($$name)) {
116
-                        throw new Exception('Variable ' . $$name . ' is already present');
116
+                        throw new Exception('Variable '.$$name.' is already present');
117 117
                     }
118 118
                     $this->as[$name] = $$name;
119 119
                 }
Please login to merge, or discard this patch.
src/Task/PharTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $code = "<?php\n";
88 88
         foreach (array('to', 'from', 'filter', 'cliStub', 'webStub', 'alias', 'metadata') as $var) {
89 89
             $value = $this->get($var);
90
-            $code .= '$' . $var . " = unserialize('" . serialize($value) . "');\n";
90
+            $code .= '$'.$var." = unserialize('".serialize($value)."');\n";
91 91
         }
92 92
         $code .= '
93 93
         $phar = new \Phar($to);
Please login to merge, or discard this patch.