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 ( bbe51b...54ff14 )
by Aden
12s
created
src/Flare/Http/Controllers/LTS/AdminController.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace LaravelFlare\Flare\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use Illuminate\Contracts\Auth\Guard;
7 6
 use LaravelFlare\Flare\Admin\AdminManager;
8 7
 use Illuminate\Foundation\Bus\DispatchesJobs;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         $view = 'admin.dashboard';
103 103
 
104 104
         if (!view()->exists($view)) {
105
-            $view = 'flare::'.$view;
105
+            $view = 'flare::' . $view;
106 106
         }
107 107
 
108 108
         return view($view, ['widgetAdminManager' => (new WidgetAdminManager())]);
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Log the user.
76 76
      *
77
-     * @return \Illuminate\Http\RedirectReponse
77
+     * @return \Illuminate\Http\RedirectResponse
78 78
      */
79 79
     public function getLogout()
80 80
     {
Please login to merge, or discard this patch.
src/Flare/Admin/Models/Traits/ModelSaving.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,8 +170,8 @@
 block discarded – undo
170 170
     {
171 171
         // Could swap this out for model -> getAttribute, then check if we have an attribute or a relation... getRelationValue() is helpful
172 172
         if (method_exists($this->model, $key) && is_a(call_user_func_array([$this->model, $key], []), 'Illuminate\Database\Eloquent\Relations\Relation')) {
173
-            foreach ($this->{$action.'Relations'} as $relationship => $method) {
174
-                if (is_a(call_user_func_array([$this->model, $key], []), 'Illuminate\Database\Eloquent\Relations\\'.$relationship)) {
173
+            foreach ($this->{$action . 'Relations'} as $relationship => $method) {
174
+                if (is_a(call_user_func_array([$this->model, $key], []), 'Illuminate\Database\Eloquent\Relations\\' . $relationship)) {
175 175
                     $this->model->$key()->$method($value);
176 176
 
177 177
                     return;
Please login to merge, or discard this patch.
src/Flare/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,9 +93,9 @@
 block discarded – undo
93 93
     protected function adminController($route = null)
94 94
     {
95 95
         if ($route) {
96
-            return $this->namespace.'\\'.$this->compatibilityVersion.'\AdminController@'.$route;
96
+            return $this->namespace . '\\' . $this->compatibilityVersion . '\AdminController@' . $route;
97 97
         }
98 98
 
99
-        return $this->namespace.'\\'.$this->compatibilityVersion.'\AdminController';
99
+        return $this->namespace . '\\' . $this->compatibilityVersion . '\AdminController';
100 100
     }
101 101
 }
Please login to merge, or discard this patch.
src/public/AdminLTE/plugins/ckeditor/samples/old/assets/posteddata.php 3 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,22 +27,22 @@
 block discarded – undo
27 27
 
28 28
 if (!empty($_POST))
29 29
 {
30
-	foreach ( $_POST as $key => $value )
31
-	{
32
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
33
-			continue;
30
+    foreach ( $_POST as $key => $value )
31
+    {
32
+        if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
33
+            continue;
34 34
 
35
-		if ( get_magic_quotes_gpc() )
36
-			$value = htmlspecialchars( stripslashes((string)$value) );
37
-		else
38
-			$value = htmlspecialchars( (string)$value );
35
+        if ( get_magic_quotes_gpc() )
36
+            $value = htmlspecialchars( stripslashes((string)$value) );
37
+        else
38
+            $value = htmlspecialchars( (string)$value );
39 39
 ?>
40 40
 		<tr>
41 41
 			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
42 42
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
43 43
 		</tr>
44 44
 	<?php
45
-	}
45
+    }
46 46
 }
47 47
 ?>
48 48
 	</table>
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,18 +27,18 @@
 block discarded – undo
27 27
 
28 28
 if (!empty($_POST))
29 29
 {
30
-	foreach ( $_POST as $key => $value )
30
+	foreach ($_POST as $key => $value)
31 31
 	{
32
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
32
+		if ((!is_string($value) && !is_numeric($value)) || !is_string($key))
33 33
 			continue;
34 34
 
35
-		if ( get_magic_quotes_gpc() )
36
-			$value = htmlspecialchars( stripslashes((string)$value) );
35
+		if (get_magic_quotes_gpc())
36
+			$value = htmlspecialchars(stripslashes((string) $value));
37 37
 		else
38
-			$value = htmlspecialchars( (string)$value );
38
+			$value = htmlspecialchars((string) $value);
39 39
 ?>
40 40
 		<tr>
41
-			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
41
+			<th style="vertical-align: top"><?php echo htmlspecialchars((string) $key); ?></th>
42 42
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
43 43
 		</tr>
44 44
 	<?php
Please login to merge, or discard this patch.
Braces   +9 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,14 +29,16 @@
 block discarded – undo
29 29
 {
30 30
 	foreach ( $_POST as $key => $value )
31 31
 	{
32
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
33
-			continue;
32
+		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) {
33
+					continue;
34
+		}
34 35
 
35
-		if ( get_magic_quotes_gpc() )
36
-			$value = htmlspecialchars( stripslashes((string)$value) );
37
-		else
38
-			$value = htmlspecialchars( (string)$value );
39
-?>
36
+		if ( get_magic_quotes_gpc() ) {
37
+					$value = htmlspecialchars( stripslashes((string)$value) );
38
+		} else {
39
+					$value = htmlspecialchars( (string)$value );
40
+		}
41
+		?>
40 42
 		<tr>
41 43
 			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
42 44
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
Please login to merge, or discard this patch.
src/Flare/Admin/Admin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
             return $this->view;
213 213
         }
214 214
 
215
-        return 'flare::'.$this->view;
215
+        return 'flare::' . $this->view;
216 216
     }
217 217
 
218 218
     /**
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     public function getTitle()
294 294
     {
295 295
         if (!isset($this->title) || !$this->title) {
296
-            return Str::title(str_replace('_', ' ', snake_case(preg_replace('/'.static::CLASS_SUFFIX.'$/', '', static::shortName()))));
296
+            return Str::title(str_replace('_', ' ', snake_case(preg_replace('/' . static::CLASS_SUFFIX . '$/', '', static::shortName()))));
297 297
         }
298 298
 
299 299
         return $this->title;
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
      */
369 369
     public function relativeUrl($path = '')
370 370
     {
371
-        return \Flare::relativeAdminUrl($this->urlPrefix().($path ? '/'.$path : ''));
371
+        return \Flare::relativeAdminUrl($this->urlPrefix() . ($path ? '/' . $path : ''));
372 372
     }
373 373
 
374 374
     /**
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
      */
393 393
     public function relativeCurrentUrl($path)
394 394
     {
395
-        return \Route::current() ? \Route::current()->getPrefix().'/'.$path : null;
395
+        return \Route::current() ? \Route::current()->getPrefix() . '/' . $path : null;
396 396
     }
397 397
 
398 398
     /*
Please login to merge, or discard this patch.