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 ( da7a20...3096de )
by Hannes
09:34 queued 03:44
created
vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
                     if ($delete) {
351 351
                         if ($this->info[$tag]->attr[$attr]->required) {
352 352
                             trigger_error(
353
-                                "Required attribute '$attr' in element '$tag' " .
353
+                                "Required attribute '$attr' in element '$tag' ".
354 354
                                 "was not allowed, which means '$tag' will not be allowed either",
355 355
                                 E_USER_WARNING
356 356
                             );
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
                             $attribute = htmlspecialchars($bits[1]);
371 371
                             if (!isset($this->info[$element])) {
372 372
                                 trigger_error(
373
-                                    "Cannot allow attribute '$attribute' if element " .
373
+                                    "Cannot allow attribute '$attribute' if element ".
374 374
                                     "'$element' is not allowed/supported $support"
375 375
                                 );
376 376
                             } else {
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
                 } elseif (isset($forbidden_attributes["$tag.$attr"])) { // this segment might get removed eventually
415 415
                     // $tag.$attr are not user supplied, so no worries!
416 416
                     trigger_error(
417
-                        "Error with $tag.$attr: tag.attr syntax not supported for " .
417
+                        "Error with $tag.$attr: tag.attr syntax not supported for ".
418 418
                         "HTML.ForbiddenAttributes; use tag@attr instead",
419 419
                         E_USER_WARNING
420 420
                     );
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform/Font.php 1 patch
Spacing   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -61,13 +61,13 @@  discard block
 block discarded – undo
61 61
 
62 62
         // handle color transform
63 63
         if (isset($attr['color'])) {
64
-            $prepend_style .= 'color:' . $attr['color'] . ';';
64
+            $prepend_style .= 'color:'.$attr['color'].';';
65 65
             unset($attr['color']);
66 66
         }
67 67
 
68 68
         // handle face transform
69 69
         if (isset($attr['face'])) {
70
-            $prepend_style .= 'font-family:' . $attr['face'] . ';';
70
+            $prepend_style .= 'font-family:'.$attr['face'].';';
71 71
             unset($attr['face']);
72 72
         }
73 73
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             // normalize large numbers
77 77
             if ($attr['size'] !== '') {
78 78
                 if ($attr['size']{0} == '+' || $attr['size']{0} == '-') {
79
-                    $size = (int)$attr['size'];
79
+                    $size = (int) $attr['size'];
80 80
                     if ($size < -2) {
81 81
                         $attr['size'] = '-2';
82 82
                     }
@@ -84,23 +84,22 @@  discard block
 block discarded – undo
84 84
                         $attr['size'] = '+4';
85 85
                     }
86 86
                 } else {
87
-                    $size = (int)$attr['size'];
87
+                    $size = (int) $attr['size'];
88 88
                     if ($size > 7) {
89 89
                         $attr['size'] = '7';
90 90
                     }
91 91
                 }
92 92
             }
93 93
             if (isset($this->_size_lookup[$attr['size']])) {
94
-                $prepend_style .= 'font-size:' .
95
-                    $this->_size_lookup[$attr['size']] . ';';
94
+                $prepend_style .= 'font-size:'.
95
+                    $this->_size_lookup[$attr['size']].';';
96 96
             }
97 97
             unset($attr['size']);
98 98
         }
99 99
 
100 100
         if ($prepend_style) {
101 101
             $attr['style'] = isset($attr['style']) ?
102
-                $prepend_style . $attr['style'] :
103
-                $prepend_style;
102
+                $prepend_style.$attr['style'] : $prepend_style;
104 103
         }
105 104
 
106 105
         $new_tag = clone $tag;
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
             $this->_loadRegex();
26 26
         }
27 27
 
28
-        if (preg_match('#^' . $this->ip4 . '$#s', $aIP)) {
28
+        if (preg_match('#^'.$this->ip4.'$#s', $aIP)) {
29 29
             return $aIP;
30 30
         }
31 31
         return false;
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv6.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
         $original = $aIP;
25 25
 
26 26
         $hex = '[0-9a-fA-F]';
27
-        $blk = '(?:' . $hex . '{1,4})';
27
+        $blk = '(?:'.$hex.'{1,4})';
28 28
         $pre = '(?:/(?:12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9]))'; // /0 - /128
29 29
 
30 30
         //      prefix check
31 31
         if (strpos($aIP, '/') !== false) {
32
-            if (preg_match('#' . $pre . '$#s', $aIP, $find)) {
32
+            if (preg_match('#'.$pre.'$#s', $aIP, $find)) {
33 33
                 $aIP = substr($aIP, 0, 0 - strlen($find[0]));
34 34
                 unset($find);
35 35
             } else {
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
         }
39 39
 
40 40
         //      IPv4-compatiblity check
41
-        if (preg_match('#(?<=:' . ')' . $this->ip4 . '$#s', $aIP, $find)) {
41
+        if (preg_match('#(?<=:'.')'.$this->ip4.'$#s', $aIP, $find)) {
42 42
             $aIP = substr($aIP, 0, 0 - strlen($find[0]));
43 43
             $ip = explode('.', $find[0]);
44 44
             $ip = array_map('dechex', $ip);
45
-            $aIP .= $ip[0] . $ip[1] . ':' . $ip[2] . $ip[3];
45
+            $aIP .= $ip[0].$ip[1].':'.$ip[2].$ip[3];
46 46
             unset($find, $ip);
47 47
         }
48 48
 
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             if ($valid === false) {
50 50
                 return false;
51 51
             }
52
-            return '[' . $valid . ']';
52
+            return '['.$valid.']';
53 53
         }
54 54
 
55 55
         // need to do checks on unusual encodings too
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
         $underscore = $config->get('Core.AllowHostnameUnderscore') ? '_' : '';
78 78
 
79 79
         // The productions describing this are:
80
-        $a   = '[a-z]';     // alpha
81
-        $an  = '[a-z0-9]';  // alphanum
80
+        $a   = '[a-z]'; // alpha
81
+        $an  = '[a-z0-9]'; // alphanum
82 82
         $and = "[a-z0-9-$underscore]"; // alphanum | "-"
83 83
         // domainlabel = alphanum | alphanum *( alphanum | "-" ) alphanum
84 84
         $domainlabel = "$an($and*$an)?";
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Length.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             return false;
42 42
         }
43 43
 
44
-        $points = (int)$points;
44
+        $points = (int) $points;
45 45
 
46 46
         if ($points < 0) {
47 47
             return '0%';
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         if ($points > 100) {
50 50
             return '100%';
51 51
         }
52
-        return ((string)$points) . '%';
52
+        return ((string) $points).'%';
53 53
     }
54 54
 }
55 55
 
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Color.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             return false;
43 43
         }
44 44
         if ($length === 3) {
45
-            $hex = $hex[0] . $hex[0] . $hex[1] . $hex[1] . $hex[2] . $hex[2];
45
+            $hex = $hex[0].$hex[0].$hex[1].$hex[1].$hex[2].$hex[2];
46 46
         }
47 47
         return "#$hex";
48 48
     }
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Pixels.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         if (!is_numeric($string)) {
42 42
             return false;
43 43
         }
44
-        $int = (int)$string;
44
+        $int = (int) $string;
45 45
 
46 46
         if ($int < 0) {
47 47
             return '0';
@@ -52,9 +52,9 @@  discard block
 block discarded – undo
52 52
         // WARNING, above link WILL crash you if you're using Windows
53 53
 
54 54
         if ($this->max !== null && $int > $this->max) {
55
-            return (string)$this->max;
55
+            return (string) $this->max;
56 56
         }
57
-        return (string)$int;
57
+        return (string) $int;
58 58
     }
59 59
 
60 60
     /**
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         if ($string === '') {
67 67
             $max = null;
68 68
         } else {
69
-            $max = (int)$string;
69
+            $max = (int) $string;
70 70
         }
71 71
         $class = get_class($this);
72 72
         return new $class($max);
Please login to merge, or discard this patch.
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
         // escaping because I don't know how to do that with regexps
46 46
         // and plus it would complicate optimization efforts (you never
47 47
         // see that anyway).
48
-        $pattern = '/(?:(?<=\s)|\A)' . // look behind for space or string start
49
-            '((?:--|-?[A-Za-z_])[A-Za-z_\-0-9]*)' .
48
+        $pattern = '/(?:(?<=\s)|\A)'.// look behind for space or string start
49
+            '((?:--|-?[A-Za-z_])[A-Za-z_\-0-9]*)'.
50 50
             '(?:(?=\s)|\z)/'; // look ahead for space or string end
51 51
         preg_match_all($pattern, $string, $matches);
52 52
         return $matches[1];
Please login to merge, or discard this patch.