Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — master ( 2ecd68...e3dd64 )
by Cristian
03:03
created
src/SettingsServiceProvider.php 1 patch
Indentation   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -11,76 +11,76 @@
 block discarded – undo
11 11
 
12 12
 class SettingsServiceProvider extends ServiceProvider
13 13
 {
14
-    /**
15
-     * Indicates if loading of the provider is deferred.
16
-     *
17
-     * @var bool
18
-     */
19
-    protected $defer = false;
14
+	/**
15
+	 * Indicates if loading of the provider is deferred.
16
+	 *
17
+	 * @var bool
18
+	 */
19
+	protected $defer = false;
20 20
 
21
-    /**
22
-     * Perform post-registration booting of services.
23
-     *
24
-     * @return void
25
-     */
26
-    public function boot()
27
-    {
28
-        // only use the Settings package if the Settings table is present in the database
29
-        if (count(DB::select("SHOW TABLES LIKE 'settings'"))) {
30
-            // get all settings from the database
31
-            $settings = Setting::all();
21
+	/**
22
+	 * Perform post-registration booting of services.
23
+	 *
24
+	 * @return void
25
+	 */
26
+	public function boot()
27
+	{
28
+		// only use the Settings package if the Settings table is present in the database
29
+		if (count(DB::select("SHOW TABLES LIKE 'settings'"))) {
30
+			// get all settings from the database
31
+			$settings = Setting::all();
32 32
 
33
-            // bind all settings to the Laravel config, so you can call them like
34
-            // Config::get('settings.contact_email')
35
-            foreach ($settings as $key => $setting) {
36
-                Config::set('settings.'.$setting->key, $setting->value);
37
-            }
38
-        }
33
+			// bind all settings to the Laravel config, so you can call them like
34
+			// Config::get('settings.contact_email')
35
+			foreach ($settings as $key => $setting) {
36
+				Config::set('settings.'.$setting->key, $setting->value);
37
+			}
38
+		}
39 39
 
40
-        // publish the migrations and seeds
41
-        $this->publishes([__DIR__.'/database/migrations/' => database_path('migrations')], 'migrations');
42
-        $this->publishes([__DIR__.'/database/seeds/' => database_path('seeds')], 'seeds');
43
-    }
40
+		// publish the migrations and seeds
41
+		$this->publishes([__DIR__.'/database/migrations/' => database_path('migrations')], 'migrations');
42
+		$this->publishes([__DIR__.'/database/seeds/' => database_path('seeds')], 'seeds');
43
+	}
44 44
 
45
-    /**
46
-     * Define the routes for the application.
47
-     *
48
-     * @param \Illuminate\Routing\Router $router
49
-     *
50
-     * @return void
51
-     */
52
-    public function setupRoutes(Router $router)
53
-    {
54
-        $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function ($router) {
55
-            // Admin Interface Routes
56
-            Route::group(['prefix' => 'admin', 'middleware' => ['web', 'admin']], function()
57
-            {
58
-                // Settings
59
-                Route::resource('setting', 'SettingCrudController');
60
-            });
61
-        });
62
-    }
45
+	/**
46
+	 * Define the routes for the application.
47
+	 *
48
+	 * @param \Illuminate\Routing\Router $router
49
+	 *
50
+	 * @return void
51
+	 */
52
+	public function setupRoutes(Router $router)
53
+	{
54
+		$router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function ($router) {
55
+			// Admin Interface Routes
56
+			Route::group(['prefix' => 'admin', 'middleware' => ['web', 'admin']], function()
57
+			{
58
+				// Settings
59
+				Route::resource('setting', 'SettingCrudController');
60
+			});
61
+		});
62
+	}
63 63
 
64
-    /**
65
-     * Register any package services.
66
-     *
67
-     * @return void
68
-     */
69
-    public function register()
70
-    {
71
-        $this->registerSettings();
72
-        $this->setupRoutes($this->app->router);
64
+	/**
65
+	 * Register any package services.
66
+	 *
67
+	 * @return void
68
+	 */
69
+	public function register()
70
+	{
71
+		$this->registerSettings();
72
+		$this->setupRoutes($this->app->router);
73 73
 
74
-        // use this if your package has a config file
75
-        // config([
76
-        //         'config/Settings.php',
77
-        // ]);
78
-    }
74
+		// use this if your package has a config file
75
+		// config([
76
+		//         'config/Settings.php',
77
+		// ]);
78
+	}
79 79
 
80
-    private function registerSettings()
81
-    {
82
-        $this->app->bind('settings', function ($app) {
83
-            return new Settings($app);
84
-        });
85
-    }
80
+	private function registerSettings()
81
+	{
82
+		$this->app->bind('settings', function ($app) {
83
+			return new Settings($app);
84
+		});
85
+	}
86 86
 }
Please login to merge, or discard this patch.