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 (#31)
by mamazu
01:41
created
src/Listener/FailedStepListener.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         $session = $this->getSession();
99 99
 
100
-        $log = sprintf('Current page: %d %s', $this->getStatusCode($session), $this->getCurrentUrl($session)) . "\n";
100
+        $log = sprintf('Current page: %d %s', $this->getStatusCode($session), $this->getCurrentUrl($session))."\n";
101 101
         $log .= $this->getResponseHeadersLogMessage($session);
102 102
         $log .= $this->getResponseContentLogMessage($session);
103 103
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $path = sprintf("%s/behat-%s.%s", $this->logDirectory, $this->currentDateAsString, $type);
127 127
 
128
-        if(empty($content)) {
128
+        if (empty($content)) {
129 129
             throw new \Exception("test");
130 130
             
131 131
         }
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     private function getResponseHeadersLogMessage(Session $session)
198 198
     {
199 199
         try {
200
-            return 'Response headers:' . "\n" . print_r($session->getResponseHeaders(), true) . "\n";
200
+            return 'Response headers:'."\n".print_r($session->getResponseHeaders(), true)."\n";
201 201
         } catch (MinkException $exception) {
202 202
             return null;
203 203
         } catch (WebDriverException $exception) {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     private function getResponseContentLogMessage(Session $session)
214 214
     {
215 215
         try {
216
-            return 'Response content:' . "\n" . $session->getPage()->getContent() . "\n";
216
+            return 'Response content:'."\n".$session->getPage()->getContent()."\n";
217 217
         } catch (MinkException $exception) {
218 218
             return null;
219 219
         } catch (WebDriverException $exception) {
Please login to merge, or discard this patch.