Test Setup Failed
Branch master (a5899c)
by Curtis
13:03
created
src/Utils/GedcomGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@
 block discarded – undo
381 381
             $_date = null; // string
382 382
             $_plac = null; // \Gedcom\Record\Indi\Even\Plac
383 383
             $_caus = null; // string
384
-            $_age = null;  // string
384
+            $_age = null; // string
385 385
             $_addr = null; // \Gedcom\Record\Addr
386 386
             $_phon = []; // \Gedcom\Record\Phon
387 387
             $_agnc = null; // string
Please login to merge, or discard this patch.
src/Utils/Importer/Subm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,14 +67,14 @@
 block discarded – undo
67 67
         $_group = 'subm';
68 68
         $_gid = $record->id;
69 69
 
70
-        $note = $subm->getNote();  // array ---
70
+        $note = $subm->getNote(); // array ---
71 71
 
72 72
         if ($note != null && count($note) > 0) {
73 73
             foreach ($note as $item) {
74 74
                 \FamilyTree365\LaravelGedcom\Utils\Importer\NoteRef::read($conn, $item, $_group, $_gid);
75 75
             }
76 76
         }
77
-        $obje = $subm->getObje() ?? null;  // array ---
77
+        $obje = $subm->getObje() ?? null; // array ---
78 78
         if ($obje && count($obje) > 0) {
79 79
             foreach ($obje as $item) {
80 80
                 if ($item) {
Please login to merge, or discard this patch.
src/Utils/Importer/Chan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
         // store chan
20 20
         $key = ['group'=>$group, 'gid'=>$group_id, 'date'=>$date, 'time'=>$time];
21
-        $data = ['group'=>$group, 'gid'=>$group_id,  'date'=>$date, 'time'=>$time];
21
+        $data = ['group'=>$group, 'gid'=>$group_id, 'date'=>$date, 'time'=>$time];
22 22
         $record = MChan::on($conn)->updateOrCreate($key, $data);
23 23
 
24 24
         // store Sources of Note
Please login to merge, or discard this patch.
src/Utils/Importer/Indi/Even.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,8 +166,8 @@
 block discarded – undo
166 166
                         'age'            => $age, //
167 167
                         'agnc'           => $agnc, //
168 168
                         'adop'           => $adop, //
169
-                        'adop_famc'      => $adop_famc,  //
170
-                        'birt_famc'      => $birt_famc,  //
169
+                        'adop_famc'      => $adop_famc, //
170
+                        'birt_famc'      => $birt_famc, //
171 171
                     ];
172 172
 
173 173
                     $eventData[] = $data;
Please login to merge, or discard this patch.
src/Utils/Importer/Subn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $_group = 'subn';
33 33
         $_gid = $record->id;
34 34
 
35
-        $note = $subn->getNote();  // array ---
35
+        $note = $subn->getNote(); // array ---
36 36
 
37 37
         if ($note != null && count($note) > 0) {
38 38
             foreach ($note as $item) {
Please login to merge, or discard this patch.
src/Utils/GedcomWriter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
         $chan = $_subm->getChan() ?? ['Unknown']; // Record\Chan---
280 280
         $name = $_subm->getName() ?? 'Unknown'; // string
281 281
         if ($_subm->getAddr() != null) { // Record/Addr
282
-         $addr = $_subm->getAddr();
282
+            $addr = $_subm->getAddr();
283 283
             $addr->getAddr() ?? 'Unknown';
284 284
             $addr->getAdr1() ?? 'Unknown';
285 285
             $addr->getAdr2() ?? 'Unknown';
Please login to merge, or discard this patch.
src/Utils/FamilyData.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -59,16 +59,16 @@
 block discarded – undo
59 59
 //                    compact('husband_id', 'wife_id', 'description', 'type_id', 'nchi', 'rin')
60 60
 //                );
61 61
 
62
-                 $value = [
63
-                     'husband_id' => $husband_id,
64
-                     'wife_id' => $wife_id,
65
-                     'description' => $description,
66
-                     'type_id' => $type_id,
67
-                     'nchi' => $nchi,
68
-                     'rin' => $rin
69
-                 ];
70
-
71
-                 $familydata [] = $value;
62
+                    $value = [
63
+                        'husband_id' => $husband_id,
64
+                        'wife_id' => $wife_id,
65
+                        'description' => $description,
66
+                        'type_id' => $type_id,
67
+                        'nchi' => $nchi,
68
+                        'rin' => $rin
69
+                    ];
70
+
71
+                    $familydata [] = $value;
72 72
             }
73 73
             // Family::insert($familyData);
74 74
 
Please login to merge, or discard this patch.
src/Utils/otherFields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
             }
85 85
 
86 86
             // array value
87
-            $fams = $individual->getFams();  // self family, leave it now, note would be included in family
88
-            $famc = $individual->getFamc();  // parent family , leave it now, note and pedi would be included in family
87
+            $fams = $individual->getFams(); // self family, leave it now, note would be included in family
88
+            $famc = $individual->getFamc(); // parent family , leave it now, note and pedi would be included in family
89 89
 
90 90
             // added to database
91 91
             // string value
Please login to merge, or discard this patch.
src/Utils/GedcomParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
 
246 246
             foreach ($families as $family) {
247 247
 //                      $this->getFamily($family);
248
-                 FamilyData::getFamily($this->conn, $family, $this->obje_ids);
248
+                    FamilyData::getFamily($this->conn, $family, $this->obje_ids);
249 249
                 if ($progressBar === true) {
250 250
                     $bar->advance();
251 251
                     $complete++;
Please login to merge, or discard this patch.