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 ( d60152...f14d21 )
by Andrea
03:09
created
src/app/BackProjectServiceProvider.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
         // - first the published views (in case they have any changes)
38 38
         $this->loadViewsFrom(resource_path('views/vendor/back-project/base'), 'back-project');
39 39
         // - then the stock views that come with the package, in case a published view might be missing
40
-        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'back-project');
40
+        $this->loadViewsFrom(__DIR__.'/../resources/views', 'back-project');
41 41
         // Load Translations
42
-        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'back-project');
42
+        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'back-project');
43 43
 
44 44
         // use the vendor configuration file as fallback
45 45
         $this->mergeConfigFrom(
46
-            __DIR__ . '/../config/config.php', 'back-project'
46
+            __DIR__.'/../config/config.php', 'back-project'
47 47
         );
48 48
 
49 49
         $this->routes();
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     public function register()
64 64
     {
65
-        $this->app->singleton('media-manager', function ($app) {
65
+        $this->app->singleton('media-manager', function($app) {
66 66
             return new MediaManager();
67 67
         });
68 68
 
@@ -105,15 +105,15 @@  discard block
 block discarded – undo
105 105
     public function publishFiles()
106 106
     {
107 107
         // publish config file
108
-        $this->publishes([__DIR__ . '/../config/config.php' => config_path() . '/back-project.php'], 'config');
108
+        $this->publishes([__DIR__.'/../config/config.php' => config_path().'/back-project.php'], 'config');
109 109
         // publish lang files
110
-        $this->publishes([__DIR__ . '/../resources/lang' => resource_path('lang/vendor/back-project')], 'lang');
110
+        $this->publishes([__DIR__.'/../resources/lang' => resource_path('lang/vendor/back-project')], 'lang');
111 111
         // publish public BackProject assets
112
-        $this->publishes([__DIR__ . '/../public' => public_path('vendor/back-project')], 'public');
112
+        $this->publishes([__DIR__.'/../public' => public_path('vendor/back-project')], 'public');
113 113
         // publish views
114
-        $this->publishes([__DIR__ . '/../resources/views' => resource_path('views/vendor/back-project')], 'views');
114
+        $this->publishes([__DIR__.'/../resources/views' => resource_path('views/vendor/back-project')], 'views');
115 115
         // publish error views
116
-        $this->publishes([__DIR__ . '/../resources/error_views' => resource_path('views/errors')], 'errors');
116
+        $this->publishes([__DIR__.'/../resources/error_views' => resource_path('views/errors')], 'errors');
117 117
         // publish public AdminLTE assets
118 118
         $this->publishes(['vendor/almasaeed2010/adminlte/bootstrap' => public_path('vendor/adminlte/bootstrap')], 'adminlte');
119 119
         $this->publishes(['vendor/almasaeed2010/adminlte/dist' => public_path('vendor/adminlte/dist')], 'adminlte');
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         //$router->aliasMiddleware('admin', \Afrittella\BackProject\Http\Middleware\Admin::class);
129 129
         //$router->aliasMiddleware('role', \Afrittella\BackProject\Http\Middleware\Role::class);
130 130
 
131
-        $this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
131
+        $this->loadRoutesFrom(__DIR__.'/../routes/web.php');
132 132
     }
133 133
 
134 134
     public function handleMigrations()
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
                 $timestamp = date('Y_m_d_His', time());
139 139
 
140 140
                 $this->publishes([
141
-                    __DIR__ . '/../database/migrations/' . $file . '.php' =>
142
-                        database_path('migrations/' . $timestamp . '_' . $file . '.php')
141
+                    __DIR__.'/../database/migrations/'.$file.'.php' =>
142
+                        database_path('migrations/'.$timestamp.'_'.$file.'.php')
143 143
                 ], 'migrations');
144 144
             }
145 145
         }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     public function loadHelpers()
180 180
     {
181 181
         foreach ($this->helpers as $helper):
182
-            $file = __DIR__ . '/Helpers/' . $helper . '.php';
182
+            $file = __DIR__.'/Helpers/'.$helper.'.php';
183 183
 
184 184
             if (file_exists($file)) {
185 185
                 require_once($file);
Please login to merge, or discard this patch.