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
Pull Request — master (#2)
by Cristian
05:24 queued 02:58
created
src/SettingsServiceProvider.php 2 patches
Indentation   +64 added lines, -64 removed lines patch added patch discarded remove patch
@@ -11,75 +11,75 @@
 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
-                // Settings
58
-                Route::resource('setting', 'SettingCrudController');
59
-            });
60
-        });
61
-    }
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
+				// Settings
58
+				Route::resource('setting', 'SettingCrudController');
59
+			});
60
+		});
61
+	}
62 62
 
63
-    /**
64
-     * Register any package services.
65
-     *
66
-     * @return void
67
-     */
68
-    public function register()
69
-    {
70
-        $this->registerSettings();
71
-        $this->setupRoutes($this->app->router);
63
+	/**
64
+	 * Register any package services.
65
+	 *
66
+	 * @return void
67
+	 */
68
+	public function register()
69
+	{
70
+		$this->registerSettings();
71
+		$this->setupRoutes($this->app->router);
72 72
 
73
-        // use this if your package has a config file
74
-        // config([
75
-        //         'config/Settings.php',
76
-        // ]);
77
-    }
73
+		// use this if your package has a config file
74
+		// config([
75
+		//         'config/Settings.php',
76
+		// ]);
77
+	}
78 78
 
79
-    private function registerSettings()
80
-    {
81
-        $this->app->bind('settings', function ($app) {
82
-            return new Settings($app);
83
-        });
84
-    }
79
+	private function registerSettings()
80
+	{
81
+		$this->app->bind('settings', function ($app) {
82
+			return new Settings($app);
83
+		});
84
+	}
85 85
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function setupRoutes(Router $router)
53 53
     {
54
-        $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function ($router) {
54
+        $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function($router) {
55 55
             // Admin Interface Routes
56
-            Route::group(['prefix' => 'admin', 'middleware' => ['web', 'admin']], function () {
56
+            Route::group(['prefix' => 'admin', 'middleware' => ['web', 'admin']], function() {
57 57
                 // Settings
58 58
                 Route::resource('setting', 'SettingCrudController');
59 59
             });
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
     private function registerSettings()
80 80
     {
81
-        $this->app->bind('settings', function ($app) {
81
+        $this->app->bind('settings', function($app) {
82 82
             return new Settings($app);
83 83
         });
84 84
     }
Please login to merge, or discard this patch.