Passed
Push — master ( d8be30...a36b4c )
by IRFA
03:55
created
config/irfa/app_license_server.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php 
2
-	return [ 
2
+    return [ 
3 3
 
4
-	/*
4
+    /*
5 5
     |--------------------------------------------------------------------------
6 6
     | License Route
7 7
     |--------------------------------------------------------------------------
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
     | https://yoursite.com/check/license
11 11
     |
12 12
     */
13
-	'license_route'		=> '/check/license',
13
+    'license_route'		=> '/check/license',
14 14
 
15
-	/*
15
+    /*
16 16
     |--------------------------------------------------------------------------
17 17
     | Route name
18 18
     |--------------------------------------------------------------------------
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
     | Set route name for checking serial number.
21 21
     |
22 22
     */
23
-	'route_name'		=> 'check_license',
23
+    'route_name'		=> 'check_license',
24 24
 
25
-	/*
25
+    /*
26 26
     |--------------------------------------------------------------------------
27 27
     | Character Type
28 28
     |--------------------------------------------------------------------------
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
     |
35 35
     */
36 36
 
37
-	'char_type'			=> 'alphanumeric', //Type alphanumeric
37
+    'char_type'			=> 'alphanumeric', //Type alphanumeric
38 38
 
39
-	/*
39
+    /*
40 40
     |--------------------------------------------------------------------------
41 41
     | Serial Config
42 42
     |--------------------------------------------------------------------------
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
     | striped 	: striped segment for serial
47 47
     |
48 48
     */
49
-		'length'			=> 4,//default : 4
49
+        'length'			=> 4,//default : 4
50 50
 
51
-		'segment'			=> 4,//default : 4
51
+        'segment'			=> 4,//default : 4
52 52
 
53
-		'striped'			=> true,//default : true
53
+        'striped'			=> true,//default : true
54 54
 
55 55
 
56 56
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
46 46
     | striped 	: striped segment for serial
47 47
     |
48 48
     */
49
-		'length'			=> 4,//default : 4
49
+		'length'			=> 4, //default : 4
50 50
 
51
-		'segment'			=> 4,//default : 4
51
+		'segment'			=> 4, //default : 4
52 52
 
53
-		'striped'			=> true,//default : true
53
+		'striped'			=> true, //default : true
54 54
 
55 55
 
56 56
 
Please login to merge, or discard this patch.
migrations/2020_11_23_120848_create_license_serials.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('license_serials', function (Blueprint $table) {
16
+        Schema::create('license_serials', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18
-            $table->string('name',65);
19
-            $table->string('domain',120);
20
-            $table->string('phone_number',30)->nullable();
18
+            $table->string('name', 65);
19
+            $table->string('domain', 120);
20
+            $table->string('phone_number', 30)->nullable();
21 21
             $table->text('address')->nullable();
22
-            $table->string('serial',120)->unique();
23
-            $table->string('expired',16);
22
+            $table->string('serial', 120)->unique();
23
+            $table->string('expired', 16);
24 24
             $table->boolean('logging')->default(0);
25 25
             $table->boolean('status')->default(0);
26 26
             $table->timestamps();
Please login to merge, or discard this patch.
migrations/2020_12_02_144926_log_usage_license.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('log_usage_license_serial', function (Blueprint $table) {
16
+        Schema::create('log_usage_license_serial', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18
-            $table->bigInteger('license_serial_id',false);
19
-            $table->string('app_name',120)->nullable();
20
-            $table->string('route_name',125)->nullable();
21
-            $table->bigInteger('usage_count',false);
18
+            $table->bigInteger('license_serial_id', false);
19
+            $table->string('app_name', 120)->nullable();
20
+            $table->string('route_name', 125)->nullable();
21
+            $table->bigInteger('usage_count', false);
22 22
             $table->timestamps();
23 23
         });
24 24
     }
Please login to merge, or discard this patch.