Passed
Pull Request — master (#1239)
by
unknown
05:35
created
migrations/2018_03_05_052641_create_cms_privileges_table.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -5,32 +5,32 @@
 block discarded – undo
5 5
 
6 6
 class CreateCmsPrivilegesTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_roles', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->string('name', 50)->nullable();
19
-			$table->boolean('is_superadmin')->nullable();
20
-			$table->string('theme_color', 50)->nullable();
21
-			$table->timestamps();
22
-		});
23
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_roles', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->string('name', 50)->nullable();
19
+            $table->boolean('is_superadmin')->nullable();
20
+            $table->string('theme_color', 50)->nullable();
21
+            $table->timestamps();
22
+        });
23
+    }
24 24
 
25 25
 
26
-	/**
27
-	 * Reverse the migrations.
28
-	 *
29
-	 * @return void
30
-	 */
31
-	public function down()
32
-	{
33
-		Schema::drop('cms_roles');
34
-	}
26
+    /**
27
+     * Reverse the migrations.
28
+     *
29
+     * @return void
30
+     */
31
+    public function down()
32
+    {
33
+        Schema::drop('cms_roles');
34
+    }
35 35
 
36 36
 }
Please login to merge, or discard this patch.
migrations/2018_03_05_052641_create_cms_privileges_roles_table.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -5,36 +5,36 @@
 block discarded – undo
5 5
 
6 6
 class CreateCmsPrivilegesRolesTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_roles_privileges', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->boolean('can_see_module')->nullable();
19
-			$table->boolean('can_create')->nullable();
20
-			$table->boolean('can_read')->nullable();
21
-			$table->boolean('can_edit')->nullable();
22
-			$table->boolean('can_delete')->nullable();
23
-			$table->integer('cms_roles_id')->nullable();
24
-			$table->integer('cms_modules_id')->nullable();
25
-			$table->timestamps();
26
-		});
27
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_roles_privileges', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->boolean('can_see_module')->nullable();
19
+            $table->boolean('can_create')->nullable();
20
+            $table->boolean('can_read')->nullable();
21
+            $table->boolean('can_edit')->nullable();
22
+            $table->boolean('can_delete')->nullable();
23
+            $table->integer('cms_roles_id')->nullable();
24
+            $table->integer('cms_modules_id')->nullable();
25
+            $table->timestamps();
26
+        });
27
+    }
28 28
 
29 29
 
30
-	/**
31
-	 * Reverse the migrations.
32
-	 *
33
-	 * @return void
34
-	 */
35
-	public function down()
36
-	{
37
-		Schema::drop('cms_roles_privileges');
38
-	}
30
+    /**
31
+     * Reverse the migrations.
32
+     *
33
+     * @return void
34
+     */
35
+    public function down()
36
+    {
37
+        Schema::drop('cms_roles_privileges');
38
+    }
39 39
 
40 40
 }
Please login to merge, or discard this patch.
src/Modules/MenuModule/CbMenuServiceProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         app('CbDynamicMenus')->addMenu('CbMenu::dynamic_menus');
21 21
         $this->registerModule();
22 22
 
23
-  /*    $hasDashboard = \Crocodicstudio\Crudbooster\Modules\MenuModule\MenuRepo::sidebarDashboard();
23
+    /*    $hasDashboard = \Crocodicstudio\Crudbooster\Modules\MenuModule\MenuRepo::sidebarDashboard();
24 24
         if (false && $hasDashboard) {
25 25
             app('CbDynamicMenus')->addMenu('CbMenu::dashboard');
26 26
         }*/
Please login to merge, or discard this patch.
src/Modules/ApiGeneratorModule/ApiController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * @param $name
75 75
      * @return mixed
76 76
      */
77
-   /* private function handleBase64($value, $uploads_format_candidate, $row_assign, $name)
77
+    /* private function handleBase64($value, $uploads_format_candidate, $row_assign, $name)
78 78
     {
79 79
         $filedata = base64_decode($value);
80 80
         $f = finfo_open();
Please login to merge, or discard this patch.
src/helpers/CSSBootstrap.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 class CSSBootstrap
6 6
 {
7 7
 
8
-	public static function label($label,$class='warning') {
9
-		return "<span class='label label-".$class."'>".$label."</span>";
10
-	}
8
+    public static function label($label,$class='warning') {
9
+        return "<span class='label label-".$class."'>".$label."</span>";
10
+    }
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
src/CBCoreModule/publieshed_files/AdminUsersController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
             "options" => ["table" => "cms_roles", "field_value" => "id", "field_label" => 'name'],
74 74
             'required' => true,
75 75
         ];					
76
-		$this->form[] = array("label"=>"Password","name"=>"password","type"=>"password","help"=>"Please leave empty if not change");
77
-		$this->form[] = array("label"=>"Password Confirmation","name"=>"password_confirmation","type"=>"password","help"=>"Please leave empty if not change");
76
+        $this->form[] = array("label"=>"Password","name"=>"password","type"=>"password","help"=>"Please leave empty if not change");
77
+        $this->form[] = array("label"=>"Password Confirmation","name"=>"password_confirmation","type"=>"password","help"=>"Please leave empty if not change");
78 78
 		
79 79
         # END FORM DO NOT REMOVE THIS LINE
80 80
     }
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
         # END CONFIGURATION DO NOT REMOVE THIS LINE
103 103
     }
104 104
     public function hook_before_edit(&$postdata,$id) { 
105
-		unset($postdata['password_confirmation']);
106
-	}
107
-	public function hook_before_add(&$postdata) {      
108
-	    unset($postdata['password_confirmation']);
109
-	}
105
+        unset($postdata['password_confirmation']);
106
+    }
107
+    public function hook_before_add(&$postdata) {      
108
+        unset($postdata['password_confirmation']);
109
+    }
110 110
 }
Please login to merge, or discard this patch.