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 ( 75bc50...e256ba )
by Aden
04:12
created
src/Flare/Admin/Widgets/WidgetAdmin.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -49,20 +49,20 @@
 block discarded – undo
49 49
             return static::$view;
50 50
         }
51 51
 
52
-        if (view()->exists('admin.widgets.'.static::safeTitle().'.widget')) {
53
-            return 'admin.widgets.'.static::safeTitle().'.widget';
52
+        if (view()->exists('admin.widgets.' . static::safeTitle() . '.widget')) {
53
+            return 'admin.widgets.' . static::safeTitle() . '.widget';
54 54
         }
55 55
 
56
-        if (view()->exists('admin.widgets.'.static::safeTitle())) {
57
-            return 'admin.widgets.'.static::safeTitle();
56
+        if (view()->exists('admin.widgets.' . static::safeTitle())) {
57
+            return 'admin.widgets.' . static::safeTitle();
58 58
         }
59 59
 
60
-        if (view()->exists('admin.'.static::safeTitle())) {
61
-            return 'admin.'.static::safeTitle();
60
+        if (view()->exists('admin.' . static::safeTitle())) {
61
+            return 'admin.' . static::safeTitle();
62 62
         }
63 63
 
64
-        if (view()->exists('flare::'.self::$view)) {
65
-            return 'flare::'.self::$view;
64
+        if (view()->exists('flare::' . self::$view)) {
65
+            return 'flare::' . self::$view;
66 66
         }
67 67
     }
68 68
 
Please login to merge, or discard this patch.
AdminLTE/plugins/datatables/extensions/Scroller/examples/data/ssp.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -29,19 +29,19 @@  discard block
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = array(
32
-	array( 'db' => 'id',         'dt' => 0 ),
33
-	array( 'db' => 'firstname',  'dt' => 1 ),
34
-	array( 'db' => 'surname',    'dt' => 2 ),
35
-	array( 'db' => 'zip',        'dt' => 3 ),
36
-	array( 'db' => 'country',    'dt' => 4 )
32
+    array( 'db' => 'id',         'dt' => 0 ),
33
+    array( 'db' => 'firstname',  'dt' => 1 ),
34
+    array( 'db' => 'surname',    'dt' => 2 ),
35
+    array( 'db' => 'zip',        'dt' => 3 ),
36
+    array( 'db' => 'country',    'dt' => 4 )
37 37
 );
38 38
 
39 39
 // SQL server connection information
40 40
 $sql_details = array(
41
-	'user' => '',
42
-	'pass' => '',
43
-	'db'   => '',
44
-	'host' => ''
41
+    'user' => '',
42
+    'pass' => '',
43
+    'db'   => '',
44
+    'host' => ''
45 45
 );
46 46
 
47 47
 
@@ -53,6 +53,6 @@  discard block
 block discarded – undo
53 53
 require( '../../../../examples/server_side/scripts/ssp.class.php' );
54 54
 
55 55
 echo json_encode(
56
-	SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
56
+    SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
57 57
 );
58 58
 
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@  discard block
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = array(
32
-	array( 'db' => 'id',         'dt' => 0 ),
33
-	array( 'db' => 'firstname',  'dt' => 1 ),
34
-	array( 'db' => 'surname',    'dt' => 2 ),
35
-	array( 'db' => 'zip',        'dt' => 3 ),
36
-	array( 'db' => 'country',    'dt' => 4 )
32
+	array('db' => 'id', 'dt' => 0),
33
+	array('db' => 'firstname', 'dt' => 1),
34
+	array('db' => 'surname', 'dt' => 2),
35
+	array('db' => 'zip', 'dt' => 3),
36
+	array('db' => 'country', 'dt' => 4)
37 37
 );
38 38
 
39 39
 // SQL server connection information
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
  * server-side, there is no need to edit below this line.
51 51
  */
52 52
 
53
-require( '../../../../examples/server_side/scripts/ssp.class.php' );
53
+require('../../../../examples/server_side/scripts/ssp.class.php');
54 54
 
55 55
 echo json_encode(
56
-	SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
56
+	SSP::simple($_GET, $sql_details, $table, $primaryKey, $columns)
57 57
 );
58 58
 
Please login to merge, or discard this patch.
src/Flare/FlareServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     /**
128 128
      * Returns the path to a provided file within the Flare package.
129 129
      * 
130
-     * @param bool $fiepath
130
+     * @param bool $filepath
131 131
      * 
132 132
      * @return string
133 133
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,6 +133,6 @@
 block discarded – undo
133 133
      */
134 134
     private function basePath($filepath = false)
135 135
     {
136
-        return __DIR__.'/../'.$filepath;
136
+        return __DIR__ . '/../' . $filepath;
137 137
     }
138 138
 }
Please login to merge, or discard this patch.
src/Flare/Admin/Modules/ModuleAdmin.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -40,16 +40,16 @@
 block discarded – undo
40 40
             return $this->view;
41 41
         }
42 42
 
43
-        if (view()->exists('admin.'.$this->urlPrefix().'.index')) {
44
-            return 'admin.'.$this->urlPrefix().'.index';
43
+        if (view()->exists('admin.' . $this->urlPrefix() . '.index')) {
44
+            return 'admin.' . $this->urlPrefix() . '.index';
45 45
         }
46 46
 
47
-        if (view()->exists('admin.'.$this->urlPrefix())) {
48
-            return 'admin.'.$this->urlPrefix();
47
+        if (view()->exists('admin.' . $this->urlPrefix())) {
48
+            return 'admin.' . $this->urlPrefix();
49 49
         }
50 50
 
51
-        if (view()->exists('flare::'.$this->view)) {
52
-            return 'flare::'.$this->view;
51
+        if (view()->exists('flare::' . $this->view)) {
52
+            return 'flare::' . $this->view;
53 53
         }
54 54
 
55 55
         return parent::getView();
Please login to merge, or discard this patch.
src/Flare/Flare.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
             return $this->config[$key];
131 131
         }
132 132
 
133
-        return config('flare.'.$key);
133
+        return config('flare.' . $key);
134 134
     }
135 135
 
136 136
     /**
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      */
234 234
     public function relativeAdminUrl($path = '')
235 235
     {
236
-        return rtrim($this->getRelativeAdminUrl().'/'.$path, '/');
236
+        return rtrim($this->getRelativeAdminUrl() . '/' . $path, '/');
237 237
     }
238 238
 
239 239
     /**
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
      */
272 272
     public function docsUrl($path = '')
273 273
     {
274
-        return url('#'.$path);
274
+        return url('#' . $path);
275 275
     }
276 276
 
277 277
     /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Returns the Application Instance.
100 100
      * 
101
-     * @return mixed
101
+     * @return Application
102 102
      */
103 103
     public function app()
104 104
     {
Please login to merge, or discard this patch.
src/Flare/Admin/Models/ModelAdminController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,6 @@
 block discarded – undo
237 237
     /**
238 238
      * Process Restore ModelItem Request.
239 239
      *
240
-     * @param int $page_id
241 240
      * 
242 241
      * @return \Illuminate\Http\RedirectResponse
243 242
      */
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
         $this->modelAdmin->create();
123 123
 
124
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully created.', 'dismissable' => false]]);
124
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully created.', 'dismissable' => false]]);
125 125
     }
126 126
 
127 127
     /**
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 
176 176
         $this->modelAdmin->edit($modelitemId);
177 177
 
178
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully updated.', 'dismissable' => false]]);
178
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully updated.', 'dismissable' => false]]);
179 179
     }
180 180
 
181 181
     /**
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 
216 216
         $this->modelAdmin->delete($modelitemId);
217 217
 
218
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully removed.', 'dismissable' => false]]);
218
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully removed.', 'dismissable' => false]]);
219 219
     }
220 220
 
221 221
     /**
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 
250 250
         $this->modelAdmin->restore($modelitemId);
251 251
 
252
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully restored.', 'dismissable' => false]]);
252
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully restored.', 'dismissable' => false]]);
253 253
     }
254 254
 
255 255
     /**
@@ -267,6 +267,6 @@  discard block
 block discarded – undo
267 267
 
268 268
         $this->modelAdmin->clone($modelitemId);
269 269
 
270
-        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully cloned.', 'dismissable' => false]]);
270
+        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The ' . $this->modelAdmin->getTitle() . ' was successfully cloned.', 'dismissable' => false]]);
271 271
     }
272 272
 }
Please login to merge, or discard this patch.
src/Flare/Admin/Models/AttributeCollection.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@
 block discarded – undo
33 33
      * Create a new collection.
34 34
      *
35 35
      * @param mixed $items
36
+     * @param ModelAdmin $modelManager
36 37
      */
37 38
     public function __construct($items = [], $modelManager = null)
38 39
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     private function getOptions($name)
154 154
     {
155
-        $method = 'get'.Str::studly($name).'Options';
155
+        $method = 'get' . Str::studly($name) . 'Options';
156 156
 
157 157
         return $this->modelManager->{$method}();
158 158
     }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function hasOptionsMethod($key)
168 168
     {
169
-        return method_exists($this->modelManager, 'get'.Str::studly($key).'Options');
169
+        return method_exists($this->modelManager, 'get' . Str::studly($key) . 'Options');
170 170
     }
171 171
 
172 172
     /**
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.