Test Failed
Branch main (d5f7b4)
by Medianet
15:20
created
src/AutomaticServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,9 +156,9 @@
 block discarded – undo
156 156
 
157 157
     protected function packageRoutesFile(): string
158 158
     {
159
-        $packageRouteFile = $this->path . '/routes/' . $this->packageName . '.php';
159
+        $packageRouteFile = $this->path.'/routes/'.$this->packageName.'.php';
160 160
 
161
-        $projectRouteFile = base_path('routes/' . $this->packageName . '.php');
161
+        $projectRouteFile = base_path('routes/'.$this->packageName.'.php');
162 162
 
163 163
         $routeFilePathInUse = file_exists($projectRouteFile)
164 164
             ? $projectRouteFile
Please login to merge, or discard this patch.
migrations/2022_03_09_0000041_create_med_form_field_val_tab_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         if (!Schema::hasTable('med_form_field_val_tab')) {
17
-            Schema::create('med_form_field_val_tab', function (Blueprint $table) {
17
+            Schema::create('med_form_field_val_tab', function(Blueprint $table) {
18 18
                 $table->id();
19 19
                 $table->unsignedBigInteger('form_field_id')->nullable();
20 20
                 $table->foreign('form_field_id')
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         }
28 28
 
29 29
         if (!Schema::hasTable('med_form_field_val_tab_translations')) {
30
-            Schema::create('med_form_field_val_tab_translations', function (Blueprint $table) {
30
+            Schema::create('med_form_field_val_tab_translations', function(Blueprint $table) {
31 31
                 $table->id();
32 32
                 $table->string('value');
33 33
                 $table->text('text')->nullable();
Please login to merge, or discard this patch.
database/migrations/2022_03_09_0000021_create_med_form_fields_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         if (!Schema::hasTable('med_form_fields')) {
17
-            Schema::create('med_form_fields', function (Blueprint $table) {
17
+            Schema::create('med_form_fields', function(Blueprint $table) {
18 18
                 $table->id();
19 19
                 $table->string('key'); 
20 20
                 $table->unsignedBigInteger('form_id')->nullable();
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         }
31 31
 
32 32
         if (!Schema::hasTable('med_form_field_translations')) {
33
-            Schema::create('med_form_field_translations', function (Blueprint $table) {
33
+            Schema::create('med_form_field_translations', function(Blueprint $table) {
34 34
                 $table->id();
35 35
                 $table->unsignedBigInteger('form_field_id')->nullable();
36 36
                 $table->foreign('form_field_id')->references('id')->on('med_form_fields')->onDelete('cascade');
Please login to merge, or discard this patch.
database/migrations/2022_03_09_0000011_create_med_form_steps_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
 
17 17
         if (!Schema::hasTable('med_form_steps')) {
18
-            Schema::create('med_form_steps', function (Blueprint $table) {
18
+            Schema::create('med_form_steps', function(Blueprint $table) {
19 19
                 $table->id();
20 20
                 $table->integer('order')->nullable();
21 21
                 $table->string('key')->nullable();
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         }
31 31
 
32 32
         if (!Schema::hasTable('med_step_form_translations')) {
33
-            Schema::create('med_form_step_translations', function (Blueprint $table) {
33
+            Schema::create('med_form_step_translations', function(Blueprint $table) {
34 34
                 $table->id();
35 35
                 $table->string('title', 255)->nullable();
36 36
                 $table->string('locale')->nullable();
Please login to merge, or discard this patch.
database/migrations/2022_03_09_000000_create_form_builder_tables.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         if (!Schema::hasTable('med_forms')) {
17
-            Schema::create('med_forms', function (Blueprint $table) {
17
+            Schema::create('med_forms', function(Blueprint $table) {
18 18
                 $table->id();
19 19
                 $table->uuid('uniq_id');
20 20
                 $table->text('intro')->nullable();
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         }
44 44
 
45 45
         if (!Schema::hasTable('med_form_translations')) {
46
-            Schema::create('med_form_translations', function (Blueprint $table) {
46
+            Schema::create('med_form_translations', function(Blueprint $table) {
47 47
                 $table->id();
48 48
                 $table->string('title', 255)->nullable();
49 49
                 $table->string('text_button');
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         }
63 63
 
64 64
         if (!Schema::hasTable('med_entries')) {
65
-            Schema::create('med_entries', function (Blueprint $table) {
65
+            Schema::create('med_entries', function(Blueprint $table) {
66 66
                 $table->id();
67 67
                 $table->text('structure_form')->nullable();
68 68
                 $table->text('structure_result')->nullable();
Please login to merge, or discard this patch.
migrations/2022_03_09_0000022_create_med_form_field_conditions_tables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         if (!Schema::hasTable('med_form_field_conditions')) {
17
-            Schema::create('med_form_field_conditions', function (Blueprint $table) {
17
+            Schema::create('med_form_field_conditions', function(Blueprint $table) {
18 18
                 $table->id();
19 19
                 $table->unsignedBigInteger('form_step_id')->nullable();
20 20
                 $table->foreign('form_step_id')->references('id')->on('med_form_steps')->onDelete('set null');
Please login to merge, or discard this patch.
migrations/2022_03_09_0000031_create_med_form_field_values_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
 
17 17
         if (!Schema::hasTable('med_form_field_values')) {
18
-            Schema::create('med_form_field_values', function (Blueprint $table) {
18
+            Schema::create('med_form_field_values', function(Blueprint $table) {
19 19
                 $table->id();
20 20
                 $table->unsignedBigInteger('form_field_id')->nullable();
21 21
                 $table->foreign('form_field_id')
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         }
29 29
 
30 30
         if (!Schema::hasTable('med_form_field_value_translations')) {
31
-            Schema::create('med_form_field_value_translations', function (Blueprint $table) {
31
+            Schema::create('med_form_field_value_translations', function(Blueprint $table) {
32 32
                 $table->id();
33 33
                 $table->string('value');
34 34
                 $table->text('text')->nullable();
Please login to merge, or discard this patch.
bootstrap/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('renderFormBuilder')) {
3
+if (!function_exists('renderFormBuilder')) {
4 4
     function renderFormBuilder($uuid)
5 5
     {
6 6
         $form = \MedianetDev\BackpackForm\Models\Formbuilder::where('uniq_id', $uuid)->firstOrNew();
Please login to merge, or discard this patch.