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 (#42)
by Loick
02:14
created
src/UrlGenerator/GitBasedUrlGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function extractRepositoryInformation($sourceUrl)
92 92
     {
93
-        $pattern = '#' . $this->getDomain() . '/' . self::REGEX_USER . '/' . self::REGEX_REPOSITORY . '#';
93
+        $pattern = '#'.$this->getDomain().'/'.self::REGEX_USER.'/'.self::REGEX_REPOSITORY.'#';
94 94
 
95 95
         preg_match($pattern, $sourceUrl, $matches);
96 96
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      */
128 128
     private function transformSshUrlIntoHttp($url)
129 129
     {
130
-        $pattern = '#git@' . $this->getDomain() . ':' . self::REGEX_USER . '/' . self::REGEX_REPOSITORY . '.git$#';
130
+        $pattern = '#git@'.$this->getDomain().':'.self::REGEX_USER.'/'.self::REGEX_REPOSITORY.'.git$#';
131 131
 
132 132
         if (preg_match($pattern, $url, $matches)) {
133 133
             return sprintf(
Please login to merge, or discard this patch.
src/Config/ConfigBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                 $file = realpath(
60 60
                     FileSystemHelper::isAbsolute($extra['commit-bin-file'])
61 61
                     ? $extra['commit-bin-file']
62
-                    : $baseDir . '/' . $extra['commit-bin-file']
62
+                    : $baseDir.'/'.$extra['commit-bin-file']
63 63
                 );
64 64
 
65 65
                 if (!file_exists($file)) {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         );
128 128
 
129 129
         if ($additionalMessage) {
130
-            $warning .= ' ' . $additionalMessage;
130
+            $warning .= ' '.$additionalMessage;
131 131
         }
132 132
 
133 133
         return $warning;
Please login to merge, or discard this patch.
src/Config/ConfigLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     {
128 128
         $path = $this->composer->getConfig()->get('home');
129 129
 
130
-        $globalComposerJsonFile = $path . '/composer.json';
130
+        $globalComposerJsonFile = $path.'/composer.json';
131 131
 
132 132
         if (file_exists($globalComposerJsonFile)) {
133 133
             $globalComposerJson = json_decode(file_get_contents($globalComposerJsonFile), true);
Please login to merge, or discard this patch.
src/ChangelogsPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         if (count($builder->getWarnings()) > 0) {
134 134
             $this->io->writeError('<error>Invalid config for composer-changelogs plugin:</error>');
135 135
             foreach ($builder->getWarnings() as $warning) {
136
-                $this->io->write('    ' . $warning);
136
+                $this->io->write('    '.$warning);
137 137
             }
138 138
         }
139 139
     }
@@ -167,11 +167,11 @@  discard block
 block discarded – undo
167 167
 
168 168
         $workingDirectory = getcwd();
169 169
         $filename = tempnam(sys_get_temp_dir(), 'composer-changelogs-');
170
-        $message = $this->config->getCommitMessage() . PHP_EOL . PHP_EOL . strip_tags($this->outputter->getOutput());
170
+        $message = $this->config->getCommitMessage().PHP_EOL.PHP_EOL.strip_tags($this->outputter->getOutput());
171 171
 
172 172
         file_put_contents($filename, $message);
173 173
 
174
-        $command = $this->config->getCommitBinFile() . ' ' . escapeshellarg($workingDirectory) . ' ' . escapeshellarg($filename);
174
+        $command = $this->config->getCommitBinFile().' '.escapeshellarg($workingDirectory).' '.escapeshellarg($filename);
175 175
 
176 176
         $this->io->write(sprintf('Executing following command: %s', $command));
177 177
         exec($command);
Please login to merge, or discard this patch.