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.
Passed
Pull Request — master (#9)
by no
02:29
created
src/HtmlMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     private function escapeScriptTagContents($html)
102 102
     {
103
-        return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function ($matches) {
103
+        return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function($matches) {
104 104
             return $matches[1] . str_replace('</', '<\/', $matches[2]) . $matches[3];
105 105
         }, $html);
106 106
     }
Please login to merge, or discard this patch.
src/ChildElementMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $description->appendText('having child ');
38 38
         if ($this->matcher) {
39 39
             if ($this->matcher instanceof Matcher) {
40
-                $description->appendDescriptionOf( $this->matcher );
40
+                $description->appendDescriptionOf($this->matcher);
41 41
             } else {
42 42
                 $description->appendValue($this->matcher);
43 43
             }
Please login to merge, or discard this patch.
src/TextContentsMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     protected function matchesSafelyWithDiagnosticDescription($item, Description $mismatchDescription)
51 51
     {
52 52
         if ($this->matcher instanceof Matcher) {
53
-            return $this->matcher->matches( $item->textContent );
53
+            return $this->matcher->matches($item->textContent);
54 54
         } else {
55 55
             return $item->textContent === $this->matcher;
56 56
         }
Please login to merge, or discard this patch.
src/AttributeMatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                 if ($this->valueMatcher instanceof Matcher) {
94 94
                     /** @var \DOMAttr $attribute */
95 95
                     foreach ($item->attributes as $attribute) {
96
-                        if ( $this->attributeNameMatcher->matches($attribute->name)
96
+                        if ($this->attributeNameMatcher->matches($attribute->name)
97 97
                             && $this->valueMatcher->matches($attribute->value)
98 98
                         ) {
99 99
                             return true;
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
                 } else {
103 103
                     /** @var \DOMAttr $attribute */
104 104
                     foreach ($item->attributes as $attribute) {
105
-                        if ( $this->attributeNameMatcher->matches($attribute->name)
105
+                        if ($this->attributeNameMatcher->matches($attribute->name)
106 106
                             && $attribute->value === $this->valueMatcher
107 107
                         ) {
108 108
                             return true;
Please login to merge, or discard this patch.