Passed
Pull Request — master (#1276)
by Ferry
02:51
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.