Passed
Push — master ( d49f3b...156115 )
by Iman
12:35 queued 06:50
created
database/migrations/2018_03_05_052641_create_cms_notifications_table.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -5,34 +5,34 @@
 block discarded – undo
5 5
 
6 6
 class CreateCmsNotificationsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_notifications', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->integer('id_cms_users')->nullable();
19
-			$table->string('content')->nullable();
20
-			$table->string('url')->nullable();
21
-			$table->boolean('is_read')->nullable();
22
-			$table->timestamps();
23
-			$table->softDeletes();
24
-		});
25
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_notifications', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->integer('id_cms_users')->nullable();
19
+            $table->string('content')->nullable();
20
+            $table->string('url')->nullable();
21
+            $table->boolean('is_read')->nullable();
22
+            $table->timestamps();
23
+            $table->softDeletes();
24
+        });
25
+    }
26 26
 
27 27
 
28
-	/**
29
-	 * Reverse the migrations.
30
-	 *
31
-	 * @return void
32
-	 */
33
-	public function down()
34
-	{
35
-		Schema::drop('cms_notifications');
36
-	}
28
+    /**
29
+     * Reverse the migrations.
30
+     *
31
+     * @return void
32
+     */
33
+    public function down()
34
+    {
35
+        Schema::drop('cms_notifications');
36
+    }
37 37
 
38 38
 }
Please login to merge, or discard this patch.
src/database/migrations/2018_03_05_052641_create_cms_moduls_table.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -5,37 +5,37 @@
 block discarded – undo
5 5
 
6 6
 class CreateCmsModulsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_moduls', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->string('name', 50)->nullable();
19
-			$table->string('icon', 50)->nullable();
20
-			$table->string('path', 50)->nullable();
21
-			$table->string('table_name', 50)->nullable();
22
-			$table->string('controller', 50)->nullable();
23
-			$table->boolean('is_protected')->default(0);
24
-			$table->boolean('is_active')->default(0);
25
-			$table->timestamps();
26
-			$table->softDeletes();
27
-		});
28
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_moduls', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->string('name', 50)->nullable();
19
+            $table->string('icon', 50)->nullable();
20
+            $table->string('path', 50)->nullable();
21
+            $table->string('table_name', 50)->nullable();
22
+            $table->string('controller', 50)->nullable();
23
+            $table->boolean('is_protected')->default(0);
24
+            $table->boolean('is_active')->default(0);
25
+            $table->timestamps();
26
+            $table->softDeletes();
27
+        });
28
+    }
29 29
 
30 30
 
31
-	/**
32
-	 * Reverse the migrations.
33
-	 *
34
-	 * @return void
35
-	 */
36
-	public function down()
37
-	{
38
-		Schema::drop('cms_moduls');
39
-	}
31
+    /**
32
+     * Reverse the migrations.
33
+     *
34
+     * @return void
35
+     */
36
+    public function down()
37
+    {
38
+        Schema::drop('cms_moduls');
39
+    }
40 40
 
41 41
 }
Please login to merge, or discard this patch.
src/database/migrations/2018_03_05_052641_create_cms_logs_table.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -5,34 +5,34 @@
 block discarded – undo
5 5
 
6 6
 class CreateCmsLogsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_logs', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->string('ipaddress', 50)->nullable();
19
-			$table->string('useragent')->nullable();
20
-			$table->string('url')->nullable();
21
-			$table->string('description')->nullable();
22
-			$table->integer('id_cms_users')->nullable();
23
-			$table->timestamps();
24
-		});
25
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_logs', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->string('ipaddress', 50)->nullable();
19
+            $table->string('useragent')->nullable();
20
+            $table->string('url')->nullable();
21
+            $table->string('description')->nullable();
22
+            $table->integer('id_cms_users')->nullable();
23
+            $table->timestamps();
24
+        });
25
+    }
26 26
 
27 27
 
28
-	/**
29
-	 * Reverse the migrations.
30
-	 *
31
-	 * @return void
32
-	 */
33
-	public function down()
34
-	{
35
-		Schema::drop('cms_logs');
36
-	}
28
+    /**
29
+     * Reverse the migrations.
30
+     *
31
+     * @return void
32
+     */
33
+    public function down()
34
+    {
35
+        Schema::drop('cms_logs');
36
+    }
37 37
 
38 38
 }
Please login to merge, or discard this patch.
src/database/migrations/2018_03_05_052641_create_cms_apikey_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 CreateCmsApikeyTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_apikey', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->string('screetkey')->nullable();
19
-			$table->integer('hit')->nullable();
20
-			$table->string('status', 25)->default('active');
21
-			$table->timestamps();
22
-		});
23
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_apikey', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->string('screetkey')->nullable();
19
+            $table->integer('hit')->nullable();
20
+            $table->string('status', 25)->default('active');
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_apikey');
34
-	}
26
+    /**
27
+     * Reverse the migrations.
28
+     *
29
+     * @return void
30
+     */
31
+    public function down()
32
+    {
33
+        Schema::drop('cms_apikey');
34
+    }
35 35
 
36 36
 }
Please login to merge, or discard this patch.
src/database/migrations/2018_03_05_052641_create_cms_statistics_table.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -5,31 +5,31 @@
 block discarded – undo
5 5
 
6 6
 class CreateCmsStatisticsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_statistics', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->string('name')->nullable();
19
-			$table->string('slug')->nullable();
20
-			$table->timestamps();
21
-		});
22
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_statistics', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->string('name')->nullable();
19
+            $table->string('slug')->nullable();
20
+            $table->timestamps();
21
+        });
22
+    }
23 23
 
24 24
 
25
-	/**
26
-	 * Reverse the migrations.
27
-	 *
28
-	 * @return void
29
-	 */
30
-	public function down()
31
-	{
32
-		Schema::drop('cms_statistics');
33
-	}
25
+    /**
26
+     * Reverse the migrations.
27
+     *
28
+     * @return void
29
+     */
30
+    public function down()
31
+    {
32
+        Schema::drop('cms_statistics');
33
+    }
34 34
 
35 35
 }
Please login to merge, or discard this patch.
src/database/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_privileges', 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_privileges', 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_privileges');
34
-	}
26
+    /**
27
+     * Reverse the migrations.
28
+     *
29
+     * @return void
30
+     */
31
+    public function down()
32
+    {
33
+        Schema::drop('cms_privileges');
34
+    }
35 35
 
36 36
 }
Please login to merge, or discard this patch.
src/database/migrations/2018_03_05_052641_create_cms_settings_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 CreateCmsSettingsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('cms_settings', function(Blueprint $table)
16
-		{
17
-			$table->increments('id');
18
-			$table->string('name', 50)->nullable();
19
-			$table->text('content', 65535)->nullable();
20
-			$table->string('content_input_type')->nullable();
21
-			$table->string('dataenum')->nullable();
22
-			$table->string('helper')->nullable();
23
-			$table->timestamps();
24
-			$table->string('group_setting', 50)->nullable();
25
-			$table->string('label', 50)->nullable();
26
-		});
27
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('cms_settings', function(Blueprint $table)
16
+        {
17
+            $table->increments('id');
18
+            $table->string('name', 50)->nullable();
19
+            $table->text('content', 65535)->nullable();
20
+            $table->string('content_input_type')->nullable();
21
+            $table->string('dataenum')->nullable();
22
+            $table->string('helper')->nullable();
23
+            $table->timestamps();
24
+            $table->string('group_setting', 50)->nullable();
25
+            $table->string('label', 50)->nullable();
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_settings');
38
-	}
30
+    /**
31
+     * Reverse the migrations.
32
+     *
33
+     * @return void
34
+     */
35
+    public function down()
36
+    {
37
+        Schema::drop('cms_settings');
38
+    }
39 39
 
40 40
 }
Please login to merge, or discard this patch.
src/helpers/Mailer.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
      * @param $template
48 48
      * @param $subject
49 49
      * @param $html
50
-
51 50
      * @return bool
52 51
      */
53 52
     private function putInQueue($config, $template, $subject, $html)
Please login to merge, or discard this patch.
src/commands/CrudboosterInstallationCommand.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -53,18 +53,18 @@
 block discarded – undo
53 53
         $this->symlinkForAsset();
54 54
       
55 55
 
56
-		if($this->confirm('Do you have setting the database configuration at .env ?')) {
56
+        if($this->confirm('Do you have setting the database configuration at .env ?')) {
57 57
             $this->installCrudbooster();
58
-		}else{
59
-			$this->info('Setup Aborted !');
60
-			$this->info('Please setting the database configuration for first !');
61
-		}
58
+        }else{
59
+            $this->info('Setup Aborted !');
60
+            $this->info('Please setting the database configuration for first !');
61
+        }
62 62
 
63
-		$this->printFooter();
64
-	}
63
+        $this->printFooter();
64
+    }
65 65
 
66
-	private function printHeader() {
67
-		$this->info("
66
+    private function printHeader() {
67
+        $this->info("
68 68
 
69 69
 #     __________  __  ______  ____                   __           
70 70
 #    / ____/ __ \/ / / / __ \/ __ )____  ____  _____/ /____  _____
Please login to merge, or discard this patch.