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 ( eb7034...336670 )
by
unknown
10:15
created
core/src/Xpressengine/Seo/Importers/TwitterCardImporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,6 +90,6 @@
 block discarded – undo
90 90
             return;
91 91
         }
92 92
 
93
-        parent::exec(array_merge($data, ['type' => 'summary', 'username' => '@' . $this->username]));
93
+        parent::exec(array_merge($data, ['type' => 'summary', 'username' => '@'.$this->username]));
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Seo/Importers/BasicImporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,6 @@
 block discarded – undo
67 67
      */
68 68
     protected function makeCanonical($url)
69 69
     {
70
-        return '<link rel="canonical" href="' . $this->prependHost($url) . '" />';
70
+        return '<link rel="canonical" href="'.$this->prependHost($url).'" />';
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Media/CommandFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
      */
38 38
     public function make($type)
39 39
     {
40
-        if (class_exists('\\Xpressengine\\Media\\Commands\\' . ucfirst($type) . 'Command')) {
41
-            $class = '\\Xpressengine\\Media\\Commands\\' . ucfirst($type) . 'Command';
40
+        if (class_exists('\\Xpressengine\\Media\\Commands\\'.ucfirst($type).'Command')) {
41
+            $class = '\\Xpressengine\\Media\\Commands\\'.ucfirst($type).'Command';
42 42
             return new $class();
43 43
         }
44 44
 
Please login to merge, or discard this patch.
core/src/Xpressengine/Media/Models/Video.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@
 block discarded – undo
73 73
      */
74 74
     public function render(array $option = [])
75 75
     {
76
-        return '<div class="embed-responsive embed-responsive-16by9">' .
77
-        '<iframe class="embed-responsive-item" src="' . $this->url() . '"></iframe>' .
76
+        return '<div class="embed-responsive embed-responsive-16by9">'.
77
+        '<iframe class="embed-responsive-item" src="'.$this->url().'"></iframe>'.
78 78
         '</div>';
79 79
     }
80 80
 
Please login to merge, or discard this patch.
core/src/Xpressengine/Media/Models/Audio.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@
 block discarded – undo
67 67
      */
68 68
     public function render(array $option = [])
69 69
     {
70
-        return '<audio controls src="' . $this->url() . '">' .
71
-            'Your user agent does not support the HTML5 Audio element.' .
70
+        return '<audio controls src="'.$this->url().'">'.
71
+            'Your user agent does not support the HTML5 Audio element.'.
72 72
             '</audio>';
73 73
     }
74 74
 
Please login to merge, or discard this patch.
core/src/Xpressengine/Media/Models/Image.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     public static function getThumbnail(Media $media, $type, $dimension, $defaultSelf = true)
64 64
     {
65 65
         $image = static::derives($media) //->where('type', $type)->where('code', $dimension)->first();
66
-            ->whereHas('meta', function ($query) use ($type, $dimension) {
66
+            ->whereHas('meta', function($query) use ($type, $dimension) {
67 67
                 $query->where('type', $type)->where('code', $dimension);
68 68
             })->with('meta')->first();
69 69
 
@@ -97,10 +97,10 @@  discard block
 block discarded – undo
97 97
     public function render(array $option = [])
98 98
     {
99 99
         if (isset($option['responsive']) && $option['responsive'] === true) {
100
-            return '<img src="' . $this->url() . '" style="max-width: 100%" />';
100
+            return '<img src="'.$this->url().'" style="max-width: 100%" />';
101 101
         }
102 102
 
103
-        return '<img src="' . $this->url() . '" width="' . $this->width . '" height="' . $this->height . '" />';
103
+        return '<img src="'.$this->url().'" width="'.$this->width.'" height="'.$this->height.'" />';
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
core/src/Xpressengine/Media/Handlers/ImageHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             $path ?: '',
95 95
             implode('_', [
96 96
                 $command->getName(),
97
-                $command->getDimension()->getWidth() . 'x' . $command->getDimension()->getHeight(),
97
+                $command->getDimension()->getWidth().'x'.$command->getDimension()->getHeight(),
98 98
                 hash('sha1', $content),
99 99
             ]),
100 100
             $disk,
Please login to merge, or discard this patch.
core/src/Xpressengine/Support/helpers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,17 +70,17 @@
 block discarded – undo
70 70
      */
71 71
     function bytes($bytes, $unit = null, $dec = 2)
72 72
     {
73
-        $size   = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
73
+        $size = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
74 74
         if (in_array($unit, $size)) {
75 75
             $factor = array_search($unit, $size);
76 76
         } else {
77
-            $factor = (int)((strlen($bytes) - 1) / 3);
77
+            $factor = (int) ((strlen($bytes) - 1) / 3);
78 78
         }
79 79
         $dec = $factor == 0 ? 0 : $dec;
80 80
         if ($factor >= count($size)) {
81 81
             $factor = count($size) - 1;
82 82
         }
83 83
 
84
-        return sprintf("%.{$dec}f", $bytes / pow(1024, $factor)) . $size[$factor];
84
+        return sprintf("%.{$dec}f", $bytes / pow(1024, $factor)).$size[$factor];
85 85
     }
86 86
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Support/Exceptions/XpressengineException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 
93 93
         // prepend ":" to each key
94 94
         $keys = array_map(
95
-            function ($key) {
95
+            function($key) {
96 96
                 return ':'.$key;
97 97
             },
98 98
             array_keys($this->args)
Please login to merge, or discard this patch.