Passed
Push — master ( 51ca92...85bb68 )
by Ferry
03:08
created
src/hooks/CBHook.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 interface CBHook {
5 5
 
6 6
     public function hookGetLogin();
7
-	public function hookPostLogin();
8
-	public function beforeBackendMiddleware($request);
7
+    public function hookPostLogin();
8
+    public function beforeBackendMiddleware($request);
9 9
     public function afterBackendMiddleware($request, $response);
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
src/CRUDBoosterServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@  discard block
 block discarded – undo
24 24
         $this->loadViewsFrom(__DIR__.'/types', 'types');
25 25
 
26 26
         // Publish the files
27
-        $this->publishes([__DIR__.'/configs/crudbooster.php' => config_path('crudbooster.php')],'cb_config');            
27
+        $this->publishes([__DIR__.'/configs/crudbooster.php' => config_path('crudbooster.php')], 'cb_config');            
28 28
         $this->publishes([__DIR__.'/localization' => resource_path('lang')], 'cb_localization');                 
29
-        $this->publishes([__DIR__.'/database' => base_path('database')],'cb_migration');
30
-        $this->publishes([__DIR__.'/templates/CBHook.stub'=> app_path('Http/CBHook.php')],'cb_hook');
31
-        $this->publishes([__DIR__ . '/assets' =>public_path('cb_asset')],'cb_asset');
29
+        $this->publishes([__DIR__.'/database' => base_path('database')], 'cb_migration');
30
+        $this->publishes([__DIR__.'/templates/CBHook.stub'=> app_path('Http/CBHook.php')], 'cb_hook');
31
+        $this->publishes([__DIR__.'/assets' =>public_path('cb_asset')], 'cb_asset');
32 32
                     
33 33
         require __DIR__.'/validations/validation.php';        
34 34
         require __DIR__.'/routes.php';                        
@@ -44,14 +44,14 @@  discard block
 block discarded – undo
44 44
         require __DIR__.'/helpers/Helper.php';
45 45
 
46 46
         // Singletons
47
-        $this->app->singleton('crudbooster', function ()
47
+        $this->app->singleton('crudbooster', function()
48 48
         {
49 49
             return true;
50 50
         });
51 51
         $this->app->singleton('ColumnSingleton', ColumnSingleton::class);
52 52
 
53 53
         // Merging configuration
54
-        $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php','crudbooster');
54
+        $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php', 'crudbooster');
55 55
 
56 56
 
57 57
         // Register Commands
Please login to merge, or discard this patch.
src/database/migrations/2016_08_07_152421_table_role_privileges.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('cb_role_privileges', function (Blueprint $table) {
15
+        Schema::create('cb_role_privileges', function(Blueprint $table) {
16 16
             $table->increments("id");
17 17
             $table->integer("cb_roles_id");
18 18
             $table->integer("cb_menus_id");
Please login to merge, or discard this patch.
src/database/migrations/2016_08_07_152421_table_roles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('cb_roles', function (Blueprint $table) {
15
+        Schema::create('cb_roles', function(Blueprint $table) {
16 16
             $table->increments("id");
17 17
             $table->string('name');
18 18
         });
Please login to merge, or discard this patch.
src/database/migrations/2016_08_07_152421_table_modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('cb_modules', function (Blueprint $table) {
15
+        Schema::create('cb_modules', function(Blueprint $table) {
16 16
             $table->increments("id");
17 17
             $table->string('name');
18 18
             $table->string("icon");
Please login to merge, or discard this patch.
src/database/migrations/2016_08_07_152421_table_menus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('cb_menus', function (Blueprint $table) {
15
+        Schema::create('cb_menus', function(Blueprint $table) {
16 16
             $table->increments("id");
17 17
             $table->string('name');
18 18
             $table->string("icon");
Please login to merge, or discard this patch.