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 ( 359638...ab1fca )
by Aden
04:58 queued 02:02
created
src/Flare/Console/Commands/Generators/ModuleAdminControllerMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function getStub()
44 44
     {
45
-        return __DIR__.'/../../stubs/module-admin-controller.stub';
45
+        return __DIR__ . '/../../stubs/module-admin-controller.stub';
46 46
     }
47 47
 
48 48
     /**
@@ -54,6 +54,6 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function getDefaultNamespace($rootNamespace)
56 56
     {
57
-        return $rootNamespace.'\Admin\\Http\\Controllers';
57
+        return $rootNamespace . '\Admin\\Http\\Controllers';
58 58
     }
59 59
 }
Please login to merge, or discard this patch.
src/Flare/Console/Commands/Generators/ModuleAdminMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function getStub()
44 44
     {
45
-        return __DIR__.'/../../stubs/module-admin.stub';
45
+        return __DIR__ . '/../../stubs/module-admin.stub';
46 46
     }
47 47
 
48 48
     /**
@@ -54,6 +54,6 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function getDefaultNamespace($rootNamespace)
56 56
     {
57
-        return $rootNamespace.'\Admin\\Modules';
57
+        return $rootNamespace . '\Admin\\Modules';
58 58
     }
59 59
 }
Please login to merge, or discard this patch.
src/Flare/Console/Commands/Generators/WidgetAdminMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function getStub()
44 44
     {
45
-        return __DIR__.'/../../stubs/widget-admin.stub';
45
+        return __DIR__ . '/../../stubs/widget-admin.stub';
46 46
     }
47 47
 
48 48
     /**
@@ -54,6 +54,6 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function getDefaultNamespace($rootNamespace)
56 56
     {
57
-        return $rootNamespace.'\Admin\\Widgets';
57
+        return $rootNamespace . '\Admin\\Widgets';
58 58
     }
59 59
 }
Please login to merge, or discard this patch.
src/Flare/Http/Controllers/AdminController.php 1 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.
src/Flare/Scaffolding/ModelScaffolder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             return;
98 98
         }
99 99
 
100
-        $this->info('Adding Model: '.$className);
100
+        $this->info('Adding Model: ' . $className);
101 101
 
102 102
         $this->addModelData('classname', $className);
103 103
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     protected function defineNamespace()
138 138
     {
139
-        $this->info('Models will be added to the '.$this->namespace.' Namespace.');
139
+        $this->info('Models will be added to the ' . $this->namespace . ' Namespace.');
140 140
 
141 141
         $this->namespace = $this->ask('If this is incorrect please provide your namespace:', $this->namespace);
142 142
     }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             $tablename = $this->ask('Please provide a the table name for your Model?');
169 169
         }
170 170
 
171
-        if ($tablename && $this->confirm('The table name of `'.$tablename.'`, is this correct?')) {
171
+        if ($tablename && $this->confirm('The table name of `' . $tablename . '`, is this correct?')) {
172 172
             $this->addModelData('table', $tablename);
173 173
 
174 174
             return;
Please login to merge, or discard this patch.
src/Flare/Traits/ModelAdmin/ModelWriting.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.
AdminLTE/plugins/datatables/extensions/Scroller/examples/data/ssp.php 1 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/Flare.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public function config($key)
54 54
     {
55 55
         if (array_key_exists($key, $this->configurationKeys)) {
56
-            return config('flare.'.$key, $this->configurationKeys[$key]);
56
+            return config('flare.' . $key, $this->configurationKeys[$key]);
57 57
         }
58 58
 
59 59
         return config($key);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function relativeAdminUrl($path = '')
105 105
     {
106
-        return rtrim(\Flare::config('admin_url').'/'.$path, '/');
106
+        return rtrim(\Flare::config('admin_url') . '/' . $path, '/');
107 107
     }
108 108
 
109 109
     /**
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function docsUrl($path = '')
118 118
     {
119
-        return url('#'.$path);
119
+        return url('#' . $path);
120 120
     }
121 121
 
122 122
     /**
@@ -171,10 +171,10 @@  discard block
 block discarded – undo
171 171
         if ($this->attributeTypeExists($field['type'])) {
172 172
             $fieldType = $this->resolveAttributeClass($field['type']);
173 173
 
174
-            return call_user_func_array([new $fieldType($attribute, $field, $model, $modelManager), camel_case('render_'.$action)], []);
174
+            return call_user_func_array([new $fieldType($attribute, $field, $model, $modelManager), camel_case('render_' . $action)], []);
175 175
         }
176 176
 
177
-        return call_user_func_array([new BaseAttribute($attribute, $field, $model, $modelManager), camel_case('render_'.$action)], []);
177
+        return call_user_func_array([new BaseAttribute($attribute, $field, $model, $modelManager), camel_case('render_' . $action)], []);
178 178
     }
179 179
 
180 180
     /**
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      */
187 187
     protected function resolveAttributeClass($type)
188 188
     {
189
-        $fullClassname = array_key_exists(title_case($type).'Attribute', $this->availableAttributes()) ? $this->availableAttributes()[title_case($type).'Attribute'] : false;
189
+        $fullClassname = array_key_exists(title_case($type) . 'Attribute', $this->availableAttributes()) ? $this->availableAttributes()[title_case($type) . 'Attribute'] : false;
190 190
 
191 191
         if (!$fullClassname || !class_exists($fullClassname)) {
192 192
             return false;
Please login to merge, or discard this patch.
src/Flare/FlareServiceProvider.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -15,20 +15,20 @@  discard block
 block discarded – undo
15 15
     {
16 16
         // Assets
17 17
         $this->publishes([
18
-            __DIR__.'/../public/flare' => public_path('vendor/flare'),
19
-            __DIR__.'/../public/AdminLTE/bootstrap' => public_path('vendor/flare/bootstrap'),
20
-            __DIR__.'/../public/AdminLTE/dist' => public_path('vendor/flare'),
21
-            __DIR__.'/../public/AdminLTE/plugins' => public_path('vendor/flare/plugins'),
18
+            __DIR__ . '/../public/flare' => public_path('vendor/flare'),
19
+            __DIR__ . '/../public/AdminLTE/bootstrap' => public_path('vendor/flare/bootstrap'),
20
+            __DIR__ . '/../public/AdminLTE/dist' => public_path('vendor/flare'),
21
+            __DIR__ . '/../public/AdminLTE/plugins' => public_path('vendor/flare/plugins'),
22 22
         ], 'public');
23 23
 
24 24
         // Config
25 25
         $this->publishes([
26
-            __DIR__.'/../config/flare.php' => config_path('flare.php'),
26
+            __DIR__ . '/../config/flare.php' => config_path('flare.php'),
27 27
         ]);
28 28
 
29 29
         // Database Migrations
30 30
         $this->publishes([
31
-            __DIR__.'/Database/Migrations' => base_path('database/migrations'),
31
+            __DIR__ . '/Database/Migrations' => base_path('database/migrations'),
32 32
         ]);
33 33
 
34 34
         // Middleware
@@ -41,13 +41,13 @@  discard block
 block discarded – undo
41 41
 
42 42
         // Routes
43 43
         if (!$this->app->routesAreCached()) {
44
-            require __DIR__.'/Http/routes.php';
44
+            require __DIR__ . '/Http/routes.php';
45 45
         }
46 46
 
47 47
         // Views
48
-        $this->loadViewsFrom(__DIR__.'/../resources/views', 'flare');
48
+        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'flare');
49 49
         $this->publishes([
50
-            __DIR__.'/../resources/views' => base_path('resources/views/vendor/flare'),
50
+            __DIR__ . '/../resources/views' => base_path('resources/views/vendor/flare'),
51 51
         ]);
52 52
 
53 53
         $this->registerBladeOperators();
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         // Merge Config 
62 62
         $this->mergeConfigFrom(
63
-            __DIR__.'/../config/flare.php', 'flare'
63
+            __DIR__ . '/../config/flare.php', 'flare'
64 64
         );
65 65
 
66 66
         $this->registerServiceProviders();
Please login to merge, or discard this patch.