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 (#2)
by
unknown
02:50
created
src/GlHtml.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     {
82 82
         $xpath = new \DOMXPath($this->dom);
83 83
 
84
-        if(class_exists('Symfony\Component\CssSelector\CssSelector')) {
84
+        if (class_exists('Symfony\Component\CssSelector\CssSelector')) {
85 85
             $expression = CssSelector::toXPath($selector);
86 86
         } else {
87 87
             $converter = new CssSelectorConverter();
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         $links = [];
166 166
 
167 167
         $this->getLinksByTagAttribute("link", "href", $links);
168
-        $this->getLinksByTagAttribute("a", "href",$links);
168
+        $this->getLinksByTagAttribute("a", "href", $links);
169 169
         $this->getLinksByTagAttribute("script", "src", $links);
170 170
         $this->getLinksByTagAttribute("iframe", "src", $links);
171 171
         $this->getLinksByTagAttribute("img", "src", $links);
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
         $body = $this->get("body")[0];
244 244
 
245 245
         $summary  = [];
246
-        $callback = function (GlHtmlNode $childNode) use (&$summary) {
246
+        $callback = function(GlHtmlNode $childNode) use (&$summary) {
247 247
             $nodeName = $childNode->getName();
248 248
 
249 249
             if (preg_match('/^h(\d+)$/', $nodeName, $matches)) {
Please login to merge, or discard this patch.