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/Site/SiteHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -333,6 +333,6 @@
 block discarded – undo
333 333
      */
334 334
     public function setModel($model)
335 335
     {
336
-        $this->model = '\\' . ltrim($model, '\\');
336
+        $this->model = '\\'.ltrim($model, '\\');
337 337
     }
338 338
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Seo/SeoHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
     protected function makeTitle(SeoUsable $item = null)
202 202
     {
203 203
         if ($item) {
204
-            return $item->getTitle() . ' - ' . $this->translator->trans($this->setting->get('mainTitle'));
204
+            return $item->getTitle().' - '.$this->translator->trans($this->setting->get('mainTitle'));
205 205
         }
206 206
 
207 207
         return implode(' - ', [
Please login to merge, or discard this patch.
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/Seo/Importers/AbstractImporter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $text = Str::substr($origin, 0, $len);
144 144
 
145
-        return $origin == $text ? $text : $text . '...';
145
+        return $origin == $text ? $text : $text.'...';
146 146
     }
147 147
 
148 148
     /**
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     protected function prependHost($url)
155 155
     {
156 156
         if (preg_match('/^(http[s]?\:\/\/)([^\/]+)/i', $url, $matches) === 0) {
157
-            return $this->request->root() . '/' . ltrim($url, '/');
157
+            return $this->request->root().'/'.ltrim($url, '/');
158 158
         }
159 159
 
160 160
         return $url;
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.